Zed with an OpenAI-compatible provider: connect Heabsy
Zed adds OpenAI-compatible providers under language_models.openai_compatible in settings.json. Add a Heabsy entry with api_url https://api.heabsy.com/v1 and the models you use, with their context windows and capabilities. Zed asks for the key and stores it in the system keychain, not in the file.
{
"language_models": {
"openai_compatible": {
"Heabsy": {
"api_url": "https://api.heabsy.com/v1",
"available_models": [
{
"name": "qwen38",
"display_name": "Qwen3.8 27B",
"max_tokens": 524288,
"max_output_tokens": 32768,
"capabilities": { "tools": true, "images": true, "parallel_tool_calls": false, "prompt_cache_key": false }
}
]
}
}
}
}https://api.heabsy.com/v1 · Anthropic base URL https://api.heabsy.comStep by step
- Run
agent: open settingsand choose Add provider, or edit settings.json directly. max_tokensis the model's context window and is required; take it from the table below.- Enable
capabilities.tools— the Agent Panel works through tool calls. - Enter the key when Zed asks; it goes to the system keychain. Alternatively export
HEABSY_API_KEY— Zed looks for<PROVIDER_NAME>_API_KEY.
Which model should I pick?
The Agent Panel needs tool calling; every model in the table has it. Add several models to available_models to switch between them in the panel.
| Model | ID | Context | Max output | Runs | Input / 1M | Output / 1M |
|---|---|---|---|---|---|---|
| Qwen3.8 27B Fable | qwen38-fable | 512K | 32K | EEA | $0.10 | $0.61 |
| Qwen3.8 27B Queen | qwen38-queen | 512K | 32K | EEA | $0.10 | $0.61 |
| GLM 5.3 Flash Uncensored | glm53-flash-unc | 1M | 128K | EEA | $0.20 | $0.8001 |
| Qwen3.8 27B Obliterated | qwen38-obl | 512K | 32K | EEA | $0.21 | $1.47 |
| DeepSeek V4.1 Flash 1017 Uncensored | deepseek-v4.1-flash-1017-unc | 1M | 64K | outside EEA | $0.40 | $1.40 |
| DeepSeek V4.1 Flash Uncensored | deepseek-v4.1-flash-unc | 1M | 64K | outside EEA | $0.40 | $1.40 |
| MiMo V2.6 Flash Uncensored | mimo-v26-flash-unc | 1M | 64K | EEA | $0.4624 | $1.4999 |
| Qwen3.8 27B Uncensored | qwen38-unc | 512K | 230K | EEA | $0.4887 | $2.17 |
| MiMo V2.6 Flash | mimo-v26-flash | 1M | 64K | EEA | $0.50 | $1.50 |
| MiMo V2.6 Flash Abliterated | mimo-v26-flash-abl | 1M | 64K | EEA | $0.50 | $1.50 |
| Qwen3.8 27B Uncensored Fast by Heabsy | qwen38-unc-fast | 512K | 230K | EEA | $0.8299 | $2.62 |
| Qwen3.8 27B | qwen38 | 512K | 32K | EEA | $1.05 | $3.15 |
| CyberHeabsy | cyberheabsy | 1M | 64K | EEA | $1.50 | $4.50 |
All models above run on Heabsy hardware in the EEA, except DeepSeek V4.1 Flash Uncensored; prompts and completions are not stored. Thecatalog also lists 24 partner-hosted models — Claude, GPT-6, Kimi K3, DeepSeek V4 and others — with the same key and invoice, but without zero data retention and without an EEA guarantee.
Verify it works
Open the Agent Panel, choose Heabsy › Qwen3.8 27B and ask it to read a file of your project. A correct answer means the connection and tool calling work.
If the tool shows an error you cannot read, test the key on its own first — one short request outside the tool:
curl https://api.heabsy.com/v1/chat/completions \
-H "Authorization: Bearer $HEABSY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"qwen38","max_tokens":16,"messages":[{"role":"user","content":"Say hi"}]}'Troubleshooting
| What you see | What to change |
|---|---|
| The model does not appear in the Agent Panel | Add it to available_models with name equal to the catalog ID. |
| The agent answers but never edits files | Set capabilities.tools to true for that model. |
| 401 Unauthorized | Re-enter the key in the provider settings, or check the HEABSY_API_KEY variable. |
| 403 with an HTML page ("Sorry, you have been blocked") | No key was sent at all: the key variable is empty or not set where the tool runs. Requests without a key are stopped before they reach the API; a wrong key gets a JSON 401 instead. |
Where do my prompts go?
From Zed straight to api.heabsy.com. On our own models the request is processed in the European Economic Area, except DeepSeek V4.1 Flash Uncensored and the text is not stored — we keep what billing needs: the model, the token counts and the time. Partner-hosted models are processed by third-party inference providers; each is marked in the catalog, and none of them carries the no-retention promise. The terms are in the data processing agreement, the invoice comes from an EU company.
FAQ
Which model should I add first?+
qwen38 — 524,288 tokens of context, images and tool calling, served on our own GPUs in the EEA. Add mimo-v26-flash for a 1,048,576-token window, also in the EEA.
Where does my code go?+
From Zed to api.heabsy.com. Our own models process it in the EEA, all except DeepSeek V4.1 Flash Uncensored, and do not store it; partner-hosted models are marked in the catalog and follow their providers' policies.
Also set up:Claude Code · Cline · OpenCode
Zed is a trademark of Zed Industries; Heabsy is not affiliated with it.