Skip to main content

Short answer

To use an OpenAI-compatible API in Cline, select the OpenAI Compatible provider, then fill in Base URL, API Key, and Model ID. Base URL is the provider API endpoint. API Key is the authentication credential. Model ID is the model name or identifier recognized by the current provider.

When this matters

  • You want to use a third-party model provider in Cline
  • You have an OpenAI-compatible /v1 endpoint
  • You need BYOK or custom models
  • You see Invalid API Key, Model Not Found, or connection failures
  • You want Cline and other external tools to share one model routing layer

Field meanings

FieldMeaning
API ProviderChoose OpenAI Compatible
Base URLOpenAI-compatible endpoint from the provider
API KeySecret key generated by the provider
Model IDModel ID supported by the provider
Model configurationAdvanced settings such as context window, output limit, and prices
  1. Select OpenAI Compatible in Cline settings.
  2. Enter the Base URL.
  3. Enter the API Key.
  4. Select or enter the Model ID.
  5. Verify with Cline’s verification flow or a simple request.

Common mistakes

  • Mixing the official OpenAI URL with a third-party API Key.
  • Putting an Anthropic-compatible URL into the OpenAI-compatible provider.
  • Using a Model ID unsupported by the provider.
  • Ignoring context window and output limit configuration.
  • Treating Cline Rules or Memory Bank as API configuration.

About LLMEasy

Cline can connect to LLMEasy through the OpenAI-compatible provider. Use https://www.llmeasy.ru/v1 as Base URL, your LLMEasy key as API Key, and a model ID from the GPT Key group. If you have a Claude Code Anthropic-compatible address, do not put it into Cline’s OpenAI Compatible provider.

References