Published · Last updated
Short answer: To use Qora API in Zed, add an openai_compatible provider to settings.json with api_url set to https://qoraapi.com/v1, list your model IDs under available_models, and paste your Qora API key in Agent Settings. As of November 2026, DeepSeek V4.1 Flash on Qora API costs $0.15 input / $0.45 output per 1M tokens. Qora is for users outside mainland China.
How do I add an OpenAI-compatible provider in Zed?
Zed’s official documentation describes two ways to add a custom OpenAI-compatible endpoint: the Add Provider button in Agent Settings (open it with the agent: open settings action), or the language_models.openai_compatible block in your settings file. Both need a provider name, an API URL, a model ID and a context window.
Option 1: Settings UI
- Open the command palette and run
agent: open settings. - In the LLM Providers section click Add Provider.
- Provider name:
qora. API URL:https://qoraapi.com/v1. - Paste your Qora API key, then add a model ID such as
deepseek/deepseek-v4.1-flashwith its context window.
Option 2: settings.json
Open zed: open settings file and add this. Keys saved through the UI go to your system keychain, not this file.
{
"language_models": {
"openai_compatible": {
"qora": {
"api_url": "https://qoraapi.com/v1",
"available_models": [
{
"name": "deepseek/deepseek-v4.1-flash",
"display_name": "DeepSeek V4.1 Flash (Qora)",
"max_tokens": 128000
},
{
"name": "deepseek/deepseek-v4-pro",
"display_name": "DeepSeek V4 Pro (Qora)",
"max_tokens": 128000
},
{
"name": "glm-5.2",
"display_name": "GLM 5.2 (Qora)",
"max_tokens": 128000
}
]
}
}
}
}
The name must be the exact model ID Qora lists on /pricing. Set max_tokens to the context window you want Zed to assume; check the model’s page for the real limit rather than copying the number above blindly.
Where does Zed read the Qora API key from?
Zed reads an environment variable generated from the provider ID: upper snake case plus _API_KEY. For provider ID qora that is QORA_API_KEY, per Zed’s docs. Non-empty environment variables take precedence over the keychain, so if you change keys and Zed keeps using the old one, unset the variable and restart Zed.
# macOS / Linux (add to your shell profile, then launch Zed from that shell)
export QORA_API_KEY="sk-your-qora-key"
Get a key at qoraapi.com/register. The minimum top-up is $50. New users can ask for a $5 trial by contacting X @QoraAPI or [email protected].
Which models should I use in Zed through Qora API?
Zed’s agent relies on tool calling, and by default OpenAI-compatible models in Zed are assumed to support tools but not images or parallel tool calls. Pick models that handle tool use well. These are Qora’s default-group prices as of November 2026, computed from the live pricing page:
| Model | Model ID | Qora input / output per 1M | Official price |
|---|---|---|---|
| DeepSeek V4.1 Flash | deepseek/deepseek-v4.1-flash |
$0.15 / $0.45 | $0.30 / $1.20 |
| GLM 5.2 | glm-5.2 |
$0.42 / $1.32 | $1.40 / $4.40 |
| Gemini 4 Argon | gemini-4-argon |
$0.60 / $3.00 | $2 / $10 (rising to $4 / $20 on 1 Dec 2026) |
Prices change, so treat /pricing as the source of truth. Claude, GPT and Grok models are also available; see /pricing for their current Qora prices. Savings vary by model, up to 70% off official prices, and DeepSeek’s own off-peak and cache-hit rates can undercut it for some workloads.
How do I enable reasoning or thinking for a model in Zed?
Set reasoning_effort on the model. Zed’s docs say valid values are none, minimal, low, medium, high, xhigh and max, and that Zed sends OpenAI-style reasoning_effort on chat-completions requests. Whether the upstream model honors a given level depends on the model.
{
"name": "deepseek/deepseek-v4-pro",
"display_name": "DeepSeek V4 Pro (Qora)",
"max_tokens": 128000,
"reasoning_effort": "high"
}
If a model needs the Responses API, Zed lets you set capabilities.chat_completions to false, and it will call the /v1/responses endpoint instead. Qora lists /v1/chat/completions and /v1/responses among its supported endpoints.
How do I test the Qora endpoint before configuring Zed?
Run one curl call. If this works, the same URL, key and model ID will work in Zed.
curl https://qoraapi.com/v1/chat/completions
-H "Authorization: Bearer $QORA_API_KEY"
-H "Content-Type: application/json"
-d '{"model":"deepseek/deepseek-v4.1-flash","messages":[{"role":"user","content":"Say hi"}]}'
Zed + Qora API FAQ
What is the Qora API base URL for Zed?
The base URL is https://qoraapi.com/v1. Put it in api_url without a trailing path such as /chat/completions; Zed appends that itself.
Does this configure Zed’s external agents or terminal threads?
No. Zed’s docs state that model access paths configure the Zed Agent, Inline Assistant, Git commit generation and thread summaries, while External Agents and Terminal Threads manage their own model access.
Why does my Qora model not show up in Zed’s model picker?
Usually the JSON is invalid or the provider has no available_models entry. Check settings.json for syntax errors, confirm the model name matches a Qora model ID exactly, and restart Zed after changing environment variables.
Can I use Claude models in Zed through Qora?
Yes, through the OpenAI-compatible provider using the Claude model ID listed on /pricing. Claude 5.x models sit in a stable price group; check their current price on /pricing, since several use tiered billing.
Is Qora API available in mainland China?
No. Qora API serves users outside mainland China only.
How do I get Qora credits?
Register at qoraapi.com/register; the minimum top-up is $50. For a $5 trial, contact X @QoraAPI or [email protected].
Using other editors? See connecting Cursor, Cline and Continue to a custom endpoint and Cline with a cheap Claude API. Create your Qora API key to start.
Also see: OpenCode custom provider setup.
Using workflow automation? See our n8n OpenAI-compatible API setup guide for the same base URL in n8n.
Using Kilo Code? See how to add Qora API as a custom provider in Kilo Code.

Leave a Reply