Zed Editor
Connect Zed, the high-performance editor from the creators of Atom, to Revo Mail for AI-assisted coding.
What This Does
Zed is a blazing-fast code editor built for the AI era. Its built-in AI assistant panel supports custom OpenAI-compatible endpoints. By configuring Zed to use Revo Mail, you get access to GPT-5, Gemini, GLM, and more — all through Zed's native chat interface with unified billing through your Revo Mail account.
Setup
Step 1: Open Zed Settings
- Launch Zed
- Open the command palette:
Cmd+Shift+P(macOS) orCtrl+Shift+P(Linux) - Search for zed: open settings and select it
This opens your settings.json file.
Step 2: Configure Revo Mail Models
Add the following to your settings.json:
{
"language_models": {
"openai": {
"api_url": "https://api.revomail.io/v1",
"available_models": [
{
"name": "gpt-5.4",
"display_name": "GPT-5.4",
"max_tokens": 128000
},
{
"name": "gpt-5.3-codex",
"display_name": "GPT-5.3 Codex",
"max_tokens": 128000
},
{
"name": "gemini-3.1-pro",
"display_name": "Gemini 3.1 Pro",
"max_tokens": 1000000
},
{
"name": "glm-5-turbo",
"display_name": "GLM-5 Turbo",
"max_tokens": 128000
}
]
}
}
}Step 3: Add Your API Key
Set your API key via the command palette:
- Open command palette:
Cmd+Shift+P - Search for Sign In to OpenAI
- Paste your Revo Mail API key
Get your API key from revomail.io/keys.
Step 4: Select a Model
- Open the AI Assistant panel (
Cmd+Option+Enteror via View menu) - Click the model dropdown
- Select one of your configured Revo Mail models
Recommended Models for Zed
| Task | Model | Why |
|---|---|---|
| Code generation | gpt-5.3-codex | Optimized for code |
| Complex refactoring | gpt-5.4 | Best reasoning |
| Large context work | gemini-3.1-pro | 1M token context |
| Quick completions | glm-5-turbo | Fast and economical |
Troubleshooting
Authentication failed
- Re-enter your API key via the command palette
- Verify the key is active at revomail.io/keys
Model not found
- Ensure model names in
available_modelsmatch Revo Mail slugs exactly - Check JSON syntax — missing commas or brackets break the config
Empty responses or errors
- Confirm
api_urlishttps://api.revomail.io/v1(no trailing slash) - Check your balance at revomail.io/billing
Can't see Revo Mail models in dropdown
- Save
settings.jsonand restart Zed - Ensure the
openaisection is nested insidelanguage_models
Notes
- Zed's AI features work through the assistant panel and inline commands
- The
max_tokensfield helps Zed understand context limits — set it appropriately - All token consumption appears in your Revo Mail dashboard immediately
- Zed is currently macOS and Linux only — Windows support is in development