$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 Kimi, DeepSeek, MiniMax, Qwen, MiMo, GLM, and Gemma — 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": "kimi-k2.7-code",
          "display_name": "Kimi K2.7 Code",
          "max_tokens": 128000
        },
        {
          "name": "kimi-k2.6",
          "display_name": "Kimi K2.6",
          "max_tokens": 128000
        },
        {
          "name": "deepseek-v4-pro",
          "display_name": "DeepSeek V4 Pro",
          "max_tokens": 128000
        },
        {
          "name": "minimax-m3",
          "display_name": "MiniMax M3",
          "max_tokens": 1000000
        },
        {
          "name": "glm-5.1",
          "display_name": "GLM 5.1",
          "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 generation & refactoringkimi-k2.7-codeMoonshot's code-tuned K2.7 — best for code generation
Code generationdeepseek-v4-proOptimized for code
Complex refactoringkimi-k2.6Best reasoning
Large context workminimax-m31M token context
Quick completionsglm-5.1Fast 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