All docs

Kilo Code with 6bee.ai

Kilo Code is an editor agent that accepts any OpenAI-compatible provider. Enter the base URL, your key and a model ID.

Before you start

  • The Kilo Code extension installed in VS Code or a JetBrains IDE.
  • 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

Open Kilo Code’s settings (the gear icon), go to Providers, 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).

Save. Start a new task and send a short message.

Context window and output size

Kilo Code manages the conversation itself, so it needs 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. These limits apply per account, 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.

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.
Several tasks at once return 429
The account runs 2 requests at a time. Run parallel tasks or sub-agents one after another.