Zed on your own key
Zed is a fast code editor with a built-in agent. It connects any model in the OpenAI format, so a KLINCH key brings Claude, GPT and DeepSeek into the agent panel on one balance.
In short. Claude Fable 5.2: $0.8 / $4 per 1M tokens, input / output, official $8 / $40; Claude Opus 5.5: $0.4 / $2 per 1M tokens, input / output, official $4 / $20. To connect: base URL https://api.klinch.cloud/v1 and a kl_live_… key, found in the cabinet's «API» section; a new account gets 1,000,000 tokens as a gift. Pay as you go, no subscription. Prices as of 01.12.2026.
The settings.json block
Open the Zed settings (Cmd+, on macOS, Ctrl+, on Windows and Linux) and add the block inside the braces of the file.
// ~/.config/zed/settings.json (macOS и Linux), %APPDATA%\Zed\settings.json (Windows)
"language_models": {
"openai_compatible": {
"Klinch": {
"api_url": "https://api.klinch.cloud/v1",
"available_models": [
{ "name": "claude-sonnet-5-5", "max_tokens": 128000 },
{ "name": "deepseek-v4-pro", "max_tokens": 128000 },
{ "name": "gpt-6.2-sol", "max_tokens": 128000 }
]
}
}
}Where the key goes
Open the agent panel → Settings. Klinch shows up in the provider list: paste your kl_live_… key into its field. The key is kept in the system keychain, not in settings.json.
Picking the model
- In the agent panel click the model name and pick a model under Klinch.
- Add a new model as a line in
available_models, the name exactly as in the cabinet's «Models» section. max_tokensis the context size Zed keeps.
Prices per 1M tokens
| Model | Official | KLINCH |
|---|---|---|
| Claude Fable 5.2 | $8 / $40 | $0.8 / $4 |
| Claude Opus 5.5 | $4 / $20 | $0.4 / $2 |
| DeepSeek Flash | $0.3 / $1.2 | $0.065 / $0.12 |
| DeepSeek V4 Pro | $1.32 / $3.96 | $0.132 / $0.396 |
| GPT-6.2 Sol | $2 / $10 | $0.26 / $1 |
| GPT-6.2 Astra | $8 / $40 | $0.8 / $4 |
Price per 1 million tokens: input / output. You pay only for what you use, no subscription. A new account gets 1,000,000 tokens as a gift, then you top up in the cabinet. All models and prices
How to start
- 1Step 1Sign in to the klinch.app cabinet with Google or GitHub: a new account gets 1,000,000 tokens, the
kl_live_…key is in the «API» section. - 2Step 2Add the language_models block to Zed's settings.json.
- 3Step 3In the agent panel open Settings, paste the key for Klinch and pick a model.
FAQ
Do I need Zed Pro?
No. With your own provider the requests go on your key, no Zed plan is needed.
Zed says 401
The key was not saved or is incomplete. Open the agent panel → Settings and paste it again.
Does autocomplete work?
Edit Predictions in Zed use its own model. Chat and the agent work with KLINCH models.
How much does it cost to try?
Nothing: a new klinch.app account gets 1,000,000 tokens as a gift. Sign in with Google or GitHub and the key works at once. After that you top up the balance in the cabinet, no subscription.
Are my requests used to train models?
No. We do not train models on your requests. Texts are kept for no more than 30 days and only the account owner can see them.
One key and one balance for Claude, GPT, Gemini and more
Claude, GPT, Gemini, DeepSeek and Grok at a tenth of the official price. No subscription, pay as you go.