#One key per model family
A separate key per model family: Claude, GPT, Gemini, Chinese models, Grok — each with its own price. A key looks like cr_… and calls only the models of its family. The ids below are the site’s model catalog — paste them as written.
| Key family | Model ids | How to get the key |
|---|---|---|
| Claude | claude-fable-5-1, claude-opus-5-5, claude-sonnet-5, claude-opus-5, claude-haiku-4-5 | buy on /en/buy |
| GPT | gpt-6.1-sol, gpt-6-astra, gpt-6-sol, gpt-5.6-sol | buy on /en/buy (GPT / Codex) |
| Gemini | gemini-3.8-flash, gemini-3.1-pro, gemini-4-argon | made in the cabinet from the balance of any key — Keys → Model key |
| Chinese models | deepseek-v4-pro, deepseek-v4.1-flash, glm-5.3, glm-5.3-flash, kimi-k3, kimi-k2.7-code, qwen3.8-max, minimax-m3 | made in the cabinet from the balance of any key — Keys → Model key |
| Grok | grok-4.7, grok-4.6, grok-4.5 | made in the cabinet from the balance of any key — Keys → Model key |
#See the models of your key
GET /v1/models with your key lists exactly the models that key may call — copy the ids from there. A model of another family is refused with a 403, so this list is also the quickest way to tell which key you hold.
curl https://api.tkbk.online/v1/models \
-H "Authorization: Bearer cr_YOUR_KEY"#Base URLs
Only two things change in any tool: the base URL and the key. Paste the address exactly as shown — clients add the rest of the path themselves (an Anthropic client appends /v1/messages to the bare host).
| Format | Base URL | Models | Tools |
|---|---|---|---|
| Anthropic Messages | https://api.tkbk.online | Claude | Claude Code, Cline, n8n, Anthropic SDK |
| OpenAI Chat Completions | https://api.tkbk.online/v1 | Any family: the models of your key | OpenAI SDK, Cline, n8n |
| OpenAI Responses | https://api.tkbk.online/openai/v1 | GPT | Codex CLI, Cursor |
#First request
Replace cr_YOUR_KEY with your key.
Anthropic Messages — a Claude key
curl https://api.tkbk.online/v1/messages \
-H "Authorization: Bearer cr_YOUR_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "claude-sonnet-5",
"max_tokens": 64,
"messages": [{ "role": "user", "content": "Say one word: works" }]
}'OpenAI Chat Completions — a key of any family
The example calls gpt-6.1-sol with a GPT key. With another key, put any id from its /v1/models list into model.
curl https://api.tkbk.online/v1/chat/completions \
-H "Authorization: Bearer cr_YOUR_KEY" \
-H "content-type: application/json" \
-d '{
"model": "gpt-6.1-sol",
"messages": [{ "role": "user", "content": "Say one word: works" }]
}'"stream": true: a non-streamed answer that runs over about 2 minutes is cut with a 524.#Claude Code
A Claude key. Set two variables and start Claude Code:
export ANTHROPIC_BASE_URL="https://api.tkbk.online"
export ANTHROPIC_AUTH_TOKEN="cr_YOUR_KEY"
# optional: keeps the /effort slider, which Claude Code hides behind a custom base URL
export CLAUDE_CODE_ALWAYS_ENABLE_EFFORT=1
claude- Signed in to Claude Code with an Anthropic account before? Run
/logoutinside Claude Code and start it again, so it uses the key. - Keep one key variable —
ANTHROPIC_AUTH_TOKEN, the bare key without “Bearer ” — and do not setANTHROPIC_API_KEYat the same time. - Windows PowerShell and
settings.jsonversions: the setup guide.
#Cursor
Cursor → Settings → Models → API Keys. Fill in the fields:
Override OpenAI Base URL: ON
Base URL: https://api.tkbk.online/openai/v1
OpenAI API Key: cr_YOUR_KEY
Add model: gpt-5.6-sol- GPT models need a GPT key, Claude models a Claude key. The key goes into OpenAI API Key only; leave Anthropic API Key off.
- Add the model by its exact id (Add model) and pick it in the chat instead of Auto.
- Cursor accepts your own keys on its paid plans.
#Codex CLI
A GPT key only. Add the provider to ~/.codex/config.toml:
model = "gpt-5.6-sol"
model_provider = "tkbk"
[model_providers.tkbk]
name = "TKBK"
base_url = "https://api.tkbk.online/openai/v1"
env_key = "OPENAI_API_KEY"
wire_api = "responses"
requires_openai_auth = falseexport OPENAI_API_KEY="cr_YOUR_KEY"
codex#Errors
| Code | Error | What it means | What to do |
|---|---|---|---|
| 401 | invalid_api_key / Unauthorized | The key is not found or was copied incompletely. | Copy the whole cr_… key again, with no trailing space. In Claude Code keep one variable, ANTHROPIC_AUTH_TOKEN, and run /logout. |
| 402 | Payment Required / insufficient_quota | The balance of the key is used up. | Top up the same key — Top up in the cabinet, or the Telegram bot. The key and your settings stay the same. |
| 403 | This API key does not include this model family | The model belongs to another family than the key. Not an outage. | Use a key of that family: Keys → Model key in the cabinet. |
| 403 | This model is not available for this key | The id is not on your key’s list. | Use an exact id from GET /v1/models. |
| 404 | model not found / Not Found | An unknown model id, or a wrong path in the base URL. | Copy the id from GET /v1/models; paste the base URL exactly as in the table above. |
| 429 | rate_limit_error | The model is overloaded for a moment, or your IP is blocked for 10 minutes after many invalid keys in a row. | Retry with a pause and check the key. Keys have no per-minute or concurrency limit. |
| 524 | A timeout occurred | A non-streamed answer ran over about 2 minutes. | Turn on streaming: "stream": true. |
| 529 | overloaded_error | A short overload of the model. | Retry in a few seconds; the official SDKs do it themselves. |
Writing to support? The error text is enough — never send your API key.
#Top up and keys for other families
- Top up the same key in the cabinet (Top up) or in the Telegram bot: the key and your configs stay the same, and the balance never expires.
- By a Russian bank card, SBP (fast payments), YooMoney or SberPay on the site; crypto (via @CryptoBot) and Telegram Stars only in the Telegram bot @TKBKStorebot. From outside Russia, crypto or Telegram Stars in the bot are the easiest; the key works from any country.
- A new Claude or GPT key is bought on the buy page — for GPT pick “GPT / Codex”.
- Gemini, Chinese models and Grok keys — and a key of any other family than the one you hold — are made in the cabinet: Keys → Model key, paid from the balance of any key you own. The amount is converted at the two families’ prices per $1; see pricing.
#Reselling keys
Selling access to your own customers? Partners & resellers: a wholesale balance, a dashboard and the Partner API to issue keys to your customers.