Zed ships an openai_compatible provider, so a custom endpoint is a settings entry rather than an extension.
Create an account and copy a key starting fk_live_. Top up from $5.00 by M-Pesa, Airtel Money or card.
// settings.json
{
"language_models": {
"openai_compatible": {
"fikra": {
"api_url": "https://api.fikraapi.co.ke/v1",
"available_models": [
{ "name": "deepseek-v4.1-flash-1017", "display_name": "DeepSeek V4.1 Flash", "max_tokens": 32768 }
]
}
}
}
}
The API key goes in Zed's keychain prompt the first time you use the provider.
Any model id in the catalogue works. Sensible defaults:
| For | Model | Price per 1M |
|---|---|---|
| Cheapest capable | deepseek-v4.1-flash-1017 | $0.075 in / $0.30 out |
| Free, no card | qwen3.8-27b-free | $0 |
| Harder reasoning | deepseek-v4-pro-pinned | see pricing |
finish_reason: "tool_calls".Every response carries a request id. Quote it and the exact time to [email protected] and the failure can be traced to that one call.