MiniMax logoMiniMax API Gateway

All MiniMax language models through one clean gateway.

Use MiniMax-M3, MiniMax-M2.7, MiniMax-M2.7-highspeed, MiniMax-M2.5-highspeed, and MiniMax-M2.5 from OpenAI-compatible or Anthropic-compatible endpoints.

Claude Code / opencode LLM Router MiniMax logoMiniMax
5MiniMax language models
Fair-useunlimited

Supported models

MiniMax models are clearly available.

Choose from the currently supported MiniMax models listed below.

FlagshipMiniMax-M3

Frontier multimodal coding model with a 1M context window.

CurrentMiniMax-M2.7

Built for real-world engineering, office delivery, and rich interaction.

HighspeedMiniMax-M2.7-highspeed

Same M2.7 capability profile with significantly faster inference.

LegacyMiniMax-M2.5

Strong value model optimized for code generation and refactoring.

HighspeedMiniMax-M2.5-highspeed

M2.5 performance profile with lower latency.

Simple pricing

Choose a pass. Try before you buy.

Contact support first for a quick trial, then choose the pass that fits your usage.

Day Pass $2.99

Best for a quick test.

Week Pass $8.99

Best for short projects.

Claude Code / opencode

Connect in seconds.

OpenAI-compatible and Anthropic-compatible endpoints are both available. Click either link to copy.

MiniMax-M3 MiniMax-M2.7 MiniMax-M2.7-highspeed MiniMax-M2.5 MiniMax-M2.5-highspeed
Claude Code / opencode samples
# Claude Code - macOS / Linux
export ANTHROPIC_BASE_URL="https://www.model-gateway.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
export ANTHROPIC_MODEL="MiniMax-M3"
claude

# Claude Code - Windows PowerShell
$env:ANTHROPIC_BASE_URL="https://www.model-gateway.com/anthropic"
$env:ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
$env:ANTHROPIC_MODEL="MiniMax-M3"
claude

# opencode
# Run /connect, choose Other, provider id: model-gateway, then enter YOUR_API_KEY.
# Create opencode.json in your project:
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "model-gateway": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Model Gateway",
      "options": {
        "baseURL": "https://www.model-gateway.com/v1"
      },
      "models": {
        "MiniMax-M3": { "name": "MiniMax-M3" },
        "MiniMax-M2.7": { "name": "MiniMax-M2.7" },
        "MiniMax-M2.7-highspeed": { "name": "MiniMax-M2.7-highspeed" },
        "MiniMax-M2.5": { "name": "MiniMax-M2.5" },
        "MiniMax-M2.5-highspeed": { "name": "MiniMax-M2.5-highspeed" }
      }
    }
  },
  "model": "model-gateway/MiniMax-M3"
}

opencode

Important disclosure

Independent compatibility gateway.

Model Gateway is an independent third-party compatibility gateway and is not an official MiniMax product.

Fair-use access is intended for normal developer workflows. Very high-volume, automated, abusive, or resale usage may be limited to keep the service reliable for everyone.

Do not send passwords, private keys, regulated personal data, or other sensitive information unless you have reviewed your own security and compliance requirements.

Contact

Ready when you are.