Skip to main content

Overview

Type: IDE coding agentPrimary Path: OpenAI-compatible Chat CompletionsSupport Confidence: Official provider path
Cline supports custom OpenAI-compatible providers in its IDE settings. Use this path to route Cline agent tasks through TokenLab.

Install

Install Cline from your editor’s extension marketplace, then open the Cline panel. Cline supports VS Code, Cursor, VSCodium, Windsurf, Antigravity, and JetBrains IDEs.

Configure TokenLab

  1. Click the gear icon in the Cline panel.
  2. Set API Provider to OpenAI Compatible.
  3. Enter the following values:
  1. Click Verify.
For the kimi-k3 example, Cline’s optional model configuration can use:
The model catalog changes over time. Use the live TokenLab model catalog when selecting another model instead of copying a stale list.

Verify

After Verify succeeds, send a small read-only task before allowing edits:
If Cline returns a response and can invoke a read tool, the endpoint, model, streaming, and tool-call path are working.

Troubleshooting

Re-copy the key from the TokenLab dashboard and confirm it is active. Cline stores BYOK credentials in your IDE’s native secret storage.
Enter the model ID exactly as shown by TokenLab, for example kimi-k3, without kimi/ or another provider prefix.
Confirm the Base URL ends in /v1. Do not enter /chat/completions in Cline’s Base URL field.