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

Setup guide - From MiniMax and Kilo Code docs

Use MiniMax in Kilo Code

Kilo Code has a built-in MiniMax provider. Add MiniMax in Settings > Providers (VS Code) or set MINIMAX_API_KEY and a minimax/<model> default in kilo.json (CLI); MiniMax's own docs also give the provider fields.

Last verified 5 steps4 official sources

Steps

  1. Step 1.

    MiniMax's guide: first clear the ANTHROPIC_AUTH_TOKEN and ANTHROPIC_BASE_URL env vars, otherwise they will override the configuration.

    Terminal
    unset ANTHROPIC_AUTH_TOKEN
    unset ANTHROPIC_BASE_URL
  2. Step 2.

    VS Code: open Settings (gear icon) and go to the Providers tab to add MiniMax and enter your API key. The extension stores this in your kilo.json config file. (MiniMax's guide lists the fields as API Provider = MiniMax, MiniMax Entrypoint = api.minimax.io, MiniMax API Key = your M Plan API key, Model = MiniMax-M3.1-Flash, then Save and Done.)

  3. Step 3.

    CLI: set the API key as an environment variable.

    Terminal
    export MINIMAX_API_KEY="your-api-key"
  4. Step 4.

    CLI: or configure it in kilo.json (~/.config/kilo/kilo.json or ./kilo.json).

    JSON
    {
      "provider": {
        "minimax": {
          "env": ["MINIMAX_API_KEY"],
        },
      },
    }
  5. Step 5.

    Then set your default model using a current MiniMax model id (Kilo's docs example uses the format minimax/<model-id>).

    JSON
    {
      "model": "minimax/MiniMax-M3.1-Flash",
    }

Caveats

  • Kilo's docs example uses "model": "minimax/MiniMax-M1", which is not on MiniMax's current model list; the default-model snippet here combines Kilo's documented format with the model id MiniMax's Kilo steps use (MiniMax-M3.1-Flash).
  • MiniMax's Kilo steps use an M Plan API key; Kilo's docs describe creating a key in the MiniMax console under Profile > API Keys.
  • The field labels in MiniMax's guide (MiniMax Entrypoint) may not match the current Kilo 'Providers' tab UI described in Kilo's docs.
  • Base URL is chosen by Kilo's built-in provider (entrypoint api.minimax.io), not entered manually.
  • Kilo's docs still describe MiniMax M2.1 as the flagship; MiniMax lists M2.1 as retired.

FAQ

How do I use MiniMax in Kilo Code?

Kilo Code has a built-in MiniMax provider. Add MiniMax in Settings > Providers (VS Code) or set MINIMAX_API_KEY and a minimax/<model> default in kilo.json (CLI); MiniMax's own docs also give the provider fields.

Which MiniMax model ids work in Kilo Code?

The official docs read for this guide list MiniMax-M3.1-Flash and MiniMax-M3.

Is this an official MiniMax and Kilo Code setup?

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

Sources

Last verified against 4 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.