Using Routic in Zed
Set up Routic as your Zed AI assistant backend.
Why
- One API key for all mainstream models — no need to sign up for multiple providers
- Unified billing — one invoice for all usage
Prerequisites
- Zed latest version
- A Routic API Key (Console → API Keys page, starts with
sk-)
Setup
Step 1: Open Zed Settings
- Press
Cmd/Ctrl + ,to open Settings - Or use
Cmd/Ctrl + Shift + P→ "Open Settings"
Step 2: Configure OpenAI Provider
Edit ~/.config/zed/settings.json:
{
"language_models": {
"openai": {
"api_url": "https://api.routic.ai/v1",
"api_key": "sk-xxxxxxxx"
}
}
}
Step 3: Select Model
- Open Zed Assistant (
Cmd/Ctrl + Shift + A) - Click the model dropdown (top of the panel)
- Select a model from the model catalog
- Common choices:
deepseek-v3— general chatdeepseek-r1— reasoning
Step 4: Test
Send a test message — a normal response means it's working.
Verify
Send a message in Zed Assistant. A normal response means it's working.
Troubleshooting:
- Does
api_urlend with/v1? - Is the API Key valid? (Check in the console)
- Does the model name exactly match the model catalog?
Common issues
Model not found The model name must exactly match a name in the catalog, case-sensitive.
401 / 403 API Key is invalid or expired. Regenerate it in the console.