Integration
Cline with an OpenAI-compatible provider
Cline and Roo Code both ship an OpenAI Compatible provider. It takes three fields: base URL, key and Model ID.
Updated
Provider fields
Choose OpenAI Compatible as the API provider, paste the base URL https://llmcode.io/v1 and the LLMcode key, and put a published slug into Model ID. Cline sends chat completions requests, which is exactly what the endpoint expects.
Roo Code uses the same layout, so one set of values covers both extensions. If the Model ID field is free text, type the slug exactly as it appears in /models.
- API Provider: OpenAI Compatible
- Base URL: https://llmcode.io/v1
- Model ID: a published slug, for example deepseek-flash
Agent loops and spend
Cline works in a loop: it reads files, proposes a diff and waits for approval. Every turn is a separate request, so a long session can spend far more than a single chat. A key with a UT spend limit and an expiry date keeps that bounded.
If your workflow retries after an error, the retries are billed too. The journal at /account/logs shows them as separate rows, which is the fastest way to see where a budget went.
Troubleshooting
401 means the key is wrong or revoked. 403 means the key is not allowed to use that profile or the request IP is not in the key's IP list. 402 means the balance or the key limit is exhausted.
If the extension reports a connection error instead of an HTTP code, the base URL usually still points at api.openai.com — the OpenAI Compatible provider ignores the default URL only when the field is filled in.
Connect
API Provider: OpenAI Compatible
Base URL: https://llmcode.io/v1
API Key: sk-llmcode-…
Model ID: claude-sonnet-5-5curl https://llmcode.io/v1/models \
-H "Authorization: Bearer $LLMCODE_API_KEY"Published model prices
USD per 1M tokens. The numbers come from the public catalog on every page rebuild — this is the sale price, not an estimate.
| Model | Input | Output | Cache |
|---|---|---|---|
| Claude Opus 5.5 | $2.70 | $8.00 | $0.14 |
| DeepSeek Flash | $0.50 | $2.00 | $0.01 |
| Claude Sonnet 5.5 | $1.33 | $6.67 | $0.07 |
| DeepSeek V4 Pro | $2.20 | $6.60 | $0.07 |
Top-up from $10, balance in USD. 1 USD = 1,000,000 UT. No subscription and no auto-charge.
Questions
Does one key work for both Cline and Roo Code?
Yes. Both speak the OpenAI protocol, and the key is not tied to a client. A separate key per tool keeps the logs readable.
Can Cline use Claude profiles?
Yes. The profile decides which upstream answers; the request stays in the OpenAI-compatible format.
How do I see what a session cost?
Open /account/logs and sort by time. Each request has the model, the tokens and the charged amount.
Is there a free tier?
No. The balance is prepaid, the minimum top-up is $10 and there is no subscription.