$Revo Mail Docs

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

  1. Launch Zed
  2. Open the command palette: Cmd+Shift+P (macOS) or Ctrl+Shift+P (Linux)
  3. 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:

  1. Open command palette: Cmd+Shift+P
  2. Search for Sign In to OpenAI
  3. Paste your Revo Mail API key

Get your API key from revomail.io/keys.

Step 4: Select a Model

  1. Open the AI Assistant panel (Cmd+Option+Enter or via View menu)
  2. Click the model dropdown
  3. Select one of your configured Revo Mail models

TaskModelWhy
Code generationgpt-5.3-codexOptimized for code
Complex refactoringgpt-5.4Best reasoning
Large context workgemini-3.1-pro1M token context
Quick completionsglm-5-turboFast 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_models match Revo Mail slugs exactly
  • Check JSON syntax — missing commas or brackets break the config

Empty responses or errors

  • Confirm api_url is https://api.revomail.io/v1 (no trailing slash)
  • Check your balance at revomail.io/billing

Can't see Revo Mail models in dropdown

  • Save settings.json and restart Zed
  • Ensure the openai section is nested inside language_models

Notes

  • Zed's AI features work through the assistant panel and inline commands
  • The max_tokens field 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

On this page