Zed
Wire: OpenAI or Anthropic — Zed supports both. State: verified against Zed's language-model settings docs.
Install#
Configure — OpenAI wire#
Base URL https://sator-api.princep.org/v1. In Zed's settings.json, add a provider under language_models.openai_compatible, listing each model with its limits from Models and its capabilities (the per-model keys are as Zed's docs show them):
{
"language_models": {
"openai_compatible": {
"sator": {
"api_url": "https://sator-api.princep.org/v1",
"available_models": [
{
"name": "deepseek-v4-flash",
"display_name": "DeepSeek V4 Flash (Sator)",
"max_tokens": 1000000,
"max_output_tokens": 384000,
"capabilities": {
"tools": true,
"images": true,
"parallel_tool_calls": true,
"prompt_cache_key": true
}
}
]
}
}
}
}The key never goes in settings.json. Zed takes it either from the agent panel's provider settings (stored in your keychain) or from the environment variable named after the provider id in upper snake case plus _API_KEY — for the provider above, SATOR_API_KEY:
export SATOR_API_KEY=sk-sator-v1-...Configure — Anthropic wire#
Base URL https://sator-api.princep.org — no /v1. Zed sets the x-api-key and anthropic-version headers itself and ignores any override of them:
{
"language_models": {
"anthropic_compatible": {
"Sator": {
"api_url": "https://sator-api.princep.org",
"available_models": [
{
"name": "deepseek-v4-flash",
"display_name": "DeepSeek V4 Flash (Sator)",
"max_tokens": 1000000,
"max_output_tokens": 384000
}
]
}
}
}
}The key for this provider comes from the agent panel or from SATOR_API_KEY in the same way.
Verify#
Open the agent panel, choose the Sator model, and send Reply with exactly: ok. A working setup answers ok; the request appears in your dashboard.
Troubleshooting#
- 404 on every request — on the OpenAI wire the
api_urlneeds/v1; on the Anthropic wire it must not have it. - No key found — Zed reads
SATOR_API_KEYfrom the environment it was launched from. A key exported in a terminal is not seen by a Zed started from the dock; enter it in the agent panel instead, or launch Zed from that terminal. - Tool calls not offered —
capabilities.toolsmust betruefor the model inavailable_models.