All docs

Cline and Roo Code with 6bee.ai

Cline and Roo Code are editor agents that accept any OpenAI-compatible provider. Enter the base URL, your key and a model ID.

Before you start

  • The Cline or Roo Code extension installed in your editor.
  • Create an account with a verified email address, add prepaid balance, then create a key on the console's API keys page. Keep the key secret.
  • Model IDs are listed in the console and returned by GET https://api.6bee.ai/v1/models. Replace <model id> with one of them.

Fill in the provider

In Cline open Settings ⚙ → API Provider, then enter:

API Provider
OpenAI Compatible
Base URL
https://api.6bee.ai/v1
API Key
<your key>
Model ID
<model id>
Model Configuration
Set Context Window Size and Max Output Tokens to the model’s caps (see Limits).

Roo Code works the same way: pick OpenAI Compatible and enter the same URL, key and model.

Context window and output size

These agents manage the conversation themselves, so they need to know the model’s real limits. Enter the values for the model you chose:

Context
Input plus output up to the model’s window: 128K to 1M tokens, depending on the model.
Output
max_tokens up to the model’s output cap: 16,384 to 131,072, depending on the model. Larger values are lowered to the cap, not rejected. If omitted: 8,192 to 32,768.

Editor agents send many requests in a row. The per-account limits below apply across all your keys:

Input tokens
1,000,000 uncached tokens per rolling minute. Cache hits don’t count.
Requests
60 per minute.
Concurrency
2 requests at a time.
Request body
Up to 8 MiB. n must be 1.

Troubleshooting

HTTP 401
The key is missing or wrong. Copy it again from the console, without spaces or quotes.
Model not found
The model ID does not match. List the valid IDs with GET /v1/models or check the console.
HTTP 429
You are over a per-account limit (requests, input tokens or concurrency). The Retry-After header says how long to wait.
HTTP 400 on long sessions
The request no longer fits the model’s context window. Compact or clear the conversation, or switch to a model with a larger window.
Request rejected for balance
Each request first reserves its input plus max_tokens of output. Top up, or lower max_tokens.