Use 123API inside Cline through the OpenAI Compatible provider flow.
Fill in the following values:
| Setting | Value |
|---|---|
| API Provider | OpenAI Compatible |
| Base URL | https://123api.co/v1 |
| API Key | Your 123API key |
| Model ID | Example: gpt-5, gpt-4o, claude-sonnet |
Keep the provider type as OpenAI Compatible. That is the cleanest path for 123API in Cline.
Recommended usage split:
gpt-4o-mini for repetitive edits and low-cost tasksgpt-4o for everyday coding assistancegpt-5 for difficult reasoning and architecture workclaude-sonnet for code understanding and long-context refactorsAfter saving the configuration, you can:
Use a stronger model for architecture and debugging tasks, and a cheaper fast model for repetitive edits or documentation work.
Re-open settings and make sure OpenAI Compatible is selected instead of a provider that expects its own native API format.
Confirm the Base URL includes /v1, the API key is valid and the model ID matches one returned by GET /v1/models.
Different tasks benefit from different model families. Use a stable default for routine work and switch to a stronger model when needed.