VCodeX
For AI Tools & IDEs

Zed

Configure Zed's assistant to use VCodeX as an OpenAI-compatible provider.

Zed lets you configure custom OpenAI-compatible providers in settings.json.

Prerequisites

  • Zed 0.150+ installed.
  • A VCodeX API key (sk-...).

1 · Get your VCodeX key

Dashboard → Settings → External KeysCreate key.

2 · Configure Zed

Open ~/.config/zed/settings.json (or Cmd+, in Zed) and add:

{
  "language_models": {
    "openai": {
      "api_url": "https://app.vcodex.ai/v1",
      "available_models": [
        { "name": "vcodex/auto", "max_tokens": 128000 },
        { "name": "anthropic/claude-sonnet-4.5", "max_tokens": 200000 }
      ]
    }
  },
  "assistant": {
    "default_model": { "provider": "openai", "model": "vcodex/auto" }
  }
}

Then set your key: open the Assistant panel and paste sk-... when prompted, or run zed: sign in to language model provider from the command palette.

3 · Verify

Open the Assistant panel, send "ping". The reply should stream in and the request should show up in Observability → Requests with client_source: zed.

Troubleshooting

  • Assistant panel shows "no models" — the available_models array is empty or the JSON is invalid. Zed's log (~/Library/Logs/Zed/Zed.log on macOS) will show the parse error.
  • 401 — key not saved. Re-open Assistant panel → gear icon → "Reset key".
  • Streaming stalls — Zed passes stream: true by default; check Streaming for network/proxy caveats.

On this page