Zed setup
Zed has two providers: anthropic_compatible for Claude and openai_compatible for the other models. The key is shared.
Setup
- Open settings: Ctrl/Cmd+Shift+P →
zed: open settings. - Add the
language_modelsblock:
json (settings.json)
{
"language_models": {
"anthropic_compatible": {
"claudexia-claude": {
"api_url": "https://api.claudexia.tech",
"available_models": [
{
"name": "claude-sonnet-5",
"display_name": "Claude Sonnet 5",
"max_tokens": 1000000,
"max_output_tokens": 32000,
"capabilities": { "tools": true, "images": true, "prompt_caching": true }
}
]
}
},
"openai_compatible": {
"claudexia": {
"api_url": "https://api.claudexia.tech/v1",
"available_models": [
{
"name": "gpt-6-astra",
"display_name": "GPT-6 Astra",
"max_tokens": 1000000,
"max_completion_tokens": 32000,
"capabilities": { "tools": true, "images": true, "prompt_cache_key": true }
}
]
}
}
}
}- Set the key:
agent: open settings→ LLM Providers → your provider → paste the key. Or use the environment variablesCLAUDEXIA_CLAUDE_API_KEYandCLAUDEXIA_API_KEY. - Open the agent panel (Ctrl/Cmd+?) and pick a model at the bottom.
Important: The Claude address has no /v1. Do not remove capabilities: without "tools": true the agent cannot read or edit files.