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

  1. Press Cmd/Ctrl + , to open Settings
  2. 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

  1. Open Zed Assistant (Cmd/Ctrl + Shift + A)
  2. Click the model dropdown (top of the panel)
  3. Select a model from the model catalog
  4. Common choices:
    • deepseek-v3 — general chat
    • deepseek-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_url end 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.

Related docs