← All applications · Connect apps section on /docs
Anthropic + OpenAIManual setup
Zed
Zed: configure models and providers in your editor.
Published instructions · App version: unverified
Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely
Base URL to paste
OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.
https://thapi.cloudPrerequisites
- Zed is installed
- API keys
Recommended model: claude-fable-5
Quick way — command / config
{
"language_models": {
"anthropic": {
"api_url": "https://thapi.cloud",
"available_models": [
{
"name": "claude-fable-5",
"display_name": "Claude Fable 5",
"max_tokens": 1000000
}
]
}
},
"agent": {
"default_model": {
"provider": "anthropic",
"model": "claude-fable-5"
}
}
}Where to place file / fill Settings
Filemacos
~/Library/Application Support/Zed/settings.json
Merge language_models; API key qua Assistant → Configure (keychain).
Filelinux
~/.config/zed/settings.json
The JSON content is the same as on macOS.
Filewindows
%APPDATA%\Zed\settings.json
Create/edit settings.json; enter the key through the Configure UI.
Verify connection
- Open Agent/Assistant and send a message
- Use
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| Model not visible | available_models is missing, or api_url is incorrect. | api_url = https://thapi.cloud (không /v1). |
Notes
- Zed stores keys in the OS keychain — do not put keys in settings.json.