Zed
Add the gateway as a custom assistant provider in the Zed editor.
Zed's assistant supports custom OpenAI-compatible endpoints, configured in settings.json.
Configuration
{
"language_models": {
"openai": {
"api_url": "https://aiprimetech.io/v1",
"available_models": [
{"name": "claude-sonnet-4-6", "display_name": "Claude Sonnet 4.6", "max_tokens": 200000},
{"name": "claude-opus-4-8", "display_name": "Claude Opus 4.8", "max_tokens": 200000}
]
}
}
}
- Open the command palette and choose zed: open settings.
- Paste the block above, merging it with your existing settings.
- Restart Zed, open the assistant panel, and enter your
sk-key when prompted. - Select one of the models you declared.
Zed's settings schema changes between releases. If
language_models is rejected, check Zed's own assistant configuration docs for the current key name — the value to supply is always the same: base URL https://aiprimetech.io/v1 plus your key.