Skip to main content
Watch: Anthropic Just Hit the Brakes on Its Next AI Model

Setup guide - From MiniMax and Zed docs

Use MiniMax in Zed

MiniMax documents adding an OpenAI-type LLM provider in Zed with API URL https://api.minimax.io/v1; Zed documents the matching language_models.openai_compatible settings and key handling.

Last verified 5 steps3 official sources

Steps

  1. Step 1.

    Install Zed per the official docs.

  2. Step 2.

    Settings > LLM Provider > +Add Provider > choose OpenAI, then fill API URL, API Key, and Model Name.

    Snippet
    API URL = https://api.minimax.io/v1
    Model Name = MiniMax-M3.1-Flash
  3. Step 3.

    Click Save Provider. Then back in the LLM Provider list, click the new MiniMax entry, re-enter your M Plan API key and press Enter to confirm.

  4. Step 4.

    Return to the agent panel, click Select a Model at the bottom-right and pick MiniMax-M3.1-Flash.

  5. Step 5.

    Optional settings.json equivalent, using Zed's documented openai_compatible format with MiniMax values. Zed reads the key from the keychain or from an env var named after the provider ID in upper snake case plus _API_KEY (provider ID minimax uses MINIMAX_API_KEY).

    JSON
    {
      "language_models": {
        "openai_compatible": {
          "minimax": {
            "api_url": "https://api.minimax.io/v1",
            "available_models": [
              {
                "name": "MiniMax-M3.1-Flash",
                "display_name": "MiniMax-M3.1-Flash",
                "max_tokens": 1000000
              }
            ]
          }
        }
      }
    }

Caveats

  • UI steps are from MiniMax's Other tools page and use an M Plan API key.
  • The settings.json snippet is a combination of Zed's documented openai_compatible schema and MiniMax's base URL / model id; Zed requires max_tokens to be the model's context window (MiniMax lists 1,000,000 for MiniMax-M3.1-Flash and MiniMax-M3).
  • Keys saved through Zed are stored in the system keychain; non-empty environment variables take precedence over keychain values. The env var name depends on the provider ID you choose.

FAQ

How do I use MiniMax in Zed?

MiniMax documents adding an OpenAI-type LLM provider in Zed with API URL https://api.minimax.io/v1; Zed documents the matching language_models.openai_compatible settings and key handling.

Which MiniMax model ids work in Zed?

The official docs read for this guide list MiniMax-M3.1-Flash and MiniMax-M3. Requests go to https://api.minimax.io/v1.

Is this an official MiniMax and Zed setup?

The steps draw on both MiniMax's and Zed's docs. It was last checked against 3 official pages on November 8, 2026.

Sources

Last verified against 3 official pages.

Newsletter

New models, set up the day they ship

One email per week. New model releases, the coding tools that support them and how to wire them up.