Connect Cline to GPTsAPI

Connect the VS Code Cline extension to GPTsAPI using OpenAI Compatible mode.

Step-by-step guide

Click a screenshot to view the original. Screenshots keep their original UI language.

  1. Create and copy an API Key

    Sign up to GPTsAPI and create an API Key

    Sign up or log in to GPTsAPI, top up your balance, then visit the API Keys page to create and copy your key. All tools share the same key.

  2. Cline settings screen

    Select OpenAI Compatible and enter URL & Key

    Click the Cline icon to open Settings and set API Provider to OpenAI Compatible. OpenAI models work immediately after saving.

    Base URL
    API Key
    sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxGet API Key
  3. Enter Model ID

    Under OpenAI Compatible mode, enter any Claude model ID:

    • claude-opus-5-5
    • claude-sonnet-5-5
    • claude-haiku-5-5
    Model ID

    See more models in the model list.

Verify your connection

Select the model and send a message. Getting a reply confirms it works.

If there is no reply, check these items in order:

  • API Provider is set to OpenAI Compatible
  • Base URL includes /v1
  • Model ID matches an entry in the model list