llmboxDocumentationSign in
Integrations · Cline

Cline

Connecting Cline in VS Code and in the terminal through the OpenAI Compatible provider.

Cline works through /v1/chat/completions in the OpenAI format — both the VS Code extension and Cline CLI. For an overview and model pricing, see Cline on llmbox.

Quick start in VS Code

  1. Open the Cline panel and click the settings icon.
  2. Set API Provider to OpenAI Compatible.
  3. Base URL: https://llmbox.cc/v1
  4. API Key — your key from the cabinet.
  5. Model ID — an ID from the model catalog, e.g. openai/gpt-5.6-sol. Click “Done”.

Cline CLI

Save your key from the cabinet in the LLMBOX_API_KEY environment variable and set the provider once with cline auth; after that cline uses it by default:

bash
export LLMBOX_API_KEY="your-key"
cline auth openai -k "$LLMBOX_API_KEY" -b https://llmbox.cc/v1 -m openai/gpt-5.6-sol
cline "Explain what this project does"

How it works

  • Cline's requests go to /v1/chat/completions with streaming and your key; usage shows up in the cabinet.
  • Cline's tools (reading and editing files, terminal commands) are your functions; the gateway passes them to the model as is.
  • Every agent step is a separate request carrying the whole task history, so long tasks use noticeably more input tokens than a chat.

Troubleshooting

SymptomCause and fix
404 model_not_foundThe model ID has a typo — check GET/v1/models.
401 invalid_api_keyWrong or revoked key.