Integrations/Zed Editor

Zed Editor

High-performance editor with a built-in AI assistant and custom OpenAI-compatible providers.

Steps

Open Zed's settings.json (Cmd/Ctrl + ,) and add:

json
{
  "language_models": {
    "openai_compatible": {
      "bigmodel": {
        "api_url": "https://www.starunion.net/v1",
        "available_models": [
          { "name": "YOUR_MODEL_ID", "max_tokens": 128000 }
        ]
      }
    }
  }
}

Save, pick the provider in the assistant panel, and paste your console API key on first use.

FieldNotes
api_urlthe StarUnion OpenAI-compatible endpoint
namemodel ID from the Model Plaza
max_tokenscontext limit, as shown on the model card

The assistant panel and inline completions share this provider config — set it once, both work.

Updated: 2026-08-24