Use Zed with amazee.ai
Zed is a high-performance code editor with built-in AI features. You can configure custom language model providers to route requests through amazee.ai.
Prerequisites
- Zed installed
- An amazee.ai API key
Connect Zed to amazee.ai
- Open Zed and go to Settings (⌘,)
- Click Open Settings (JSON) to edit
settings.json - Add an amazee.ai provider under
language_models:
{
"language_models": {
"openai": {
"api_url": "https://llm.[your-region].amazee.ai/v1",
"available_models": [
{
"name": "claude-sonnet-4-5",
"display_name": "Claude Sonnet 4.5 (amazee.ai)",
"max_tokens": 8192
}
]
}
}
}
Replace [your-region] with your region code (e.g. ch103, us103, de103).
- When prompted, enter your amazee.ai API key
Adding more models
Add entries to the available_models array for each model you want to use. See Available Models for model IDs.
Verify
Open the AI assistant panel (⌘↩), select your amazee.ai model, and ask a question. Check my.amazee.io → Usage to confirm.
Troubleshooting
Model not appearing : Make sure the JSON is valid and the model name matches an available model on your endpoint.
Auth errors : Re-enter your API key. In Zed, go to Settings and look for the OpenAI key prompt.
Connection refused
: Verify the api_url includes /v1 and uses your correct region code.