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.
| Field | Notes |
|---|---|
api_url | the StarUnion OpenAI-compatible endpoint |
name | model ID from the Model Plaza |
max_tokens | context 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