Frontier multimodal coding model with a 1M context window.
MiniMax 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.
MiniMax
Supported models
MiniMax models are clearly available.
Choose from the currently supported MiniMax models listed below.
Built for real-world engineering, office delivery, and rich interaction.
Same M2.7 capability profile with significantly faster inference.
Strong value model optimized for code generation and refactoring.
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.
Best for a quick test.
Best for short projects.
Fair-use unlimited. Best value.
Claude Code / opencode
Connect in seconds.
OpenAI-compatible and Anthropic-compatible endpoints are both available. Click either link to copy.
# 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.
WhatsApp QR