MiniMax: MiniMax M2: AI model
MiniMax M2 is a compact 10B-active (230B total) mixture-of-experts tuned for end-to-end coding and agentic workflows, with a ~200K context. Reachable from inside Iran through Hormouz.
- Context window:
- 204,800 tokens
- Input:
- $0.3/1M tokens
- Output:
- $1.2/1M tokens
- Type:
- text
- Tools
- Streaming
- Long context
Thinking levels: Always thinks
MiniMax M2 is a high-efficiency mixture-of-experts model with 10 billion activated parameters out of 230 billion total. That design gives it near-frontier reasoning and tool use while keeping latency and cost low, which is why it targets end-to-end coding and multi-step agent tasks.
It is strong at code generation, multi-file editing and compile-run-fix loops, and performs competitively on agentic evaluations that involve long-horizon planning, retrieval and recovery from errors. Its roughly 200K-token context supports large codebases and long tool traces.
Pricing is usage-based: $0.255 per million input tokens and $1.02 per million output tokens. Hormouz provides stable access to MiniMax M2 from inside Iran, with no foreign credit card or circumvention tooling required.
MiniMax-M2 is a compact, high-efficiency large language model optimized for end-to-end coding and agentic workflows. With 10 billion activated parameters (230 billion total), it delivers near-frontier intelligence across general reasoning,...
Quickstart
curl https://api.hormouz.net/v1/chat/completions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/minimax-m2",
"messages": [{"role": "user", "content": "Hello!"}]
}'Specs
| Vendor | MiniMax |
|---|---|
| Type | Text |
| Context window | 204,800 tokens |
| Pricing | $0.30/M in · $1.20/M out |
| API | Chat Completions |
| Capabilities | Streaming · Tools |
Benchmarks
Reasoning
Coding
Agentic
Source: Artificial Analysis
Design Arena
How Design Arena works ↗Metrics sourced from Design Arena
Code example
curl https://api.hormouz.net/v1/chat/completions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/minimax-m2",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
model="minimax/minimax-m2",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
model: "minimax/minimax-m2",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Buy the MiniMax: MiniMax M2 API, paid in rial
- Buy credit with an Iranian bank card; no foreign card or account needed.
- One Hormouz key reaches MiniMax: MiniMax M2 and 600+ other models, and you pay only for what you use.
- No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Use via Hormouz
Connect to this model and 600+ others with one API key, then see usage down to each request.
Request company accessFAQ
- How much does MiniMax M2 cost?
- Billing is usage-based: $0.255 per million input tokens and $1.02 per million output tokens. There is no fixed monthly fee. You pay only for what you use, at the rates shown in the Hormouz dashboard.
- How do I access MiniMax M2 from inside Iran?
- Create an account on Hormouz and generate an API key. Hormouz provides a stable path to MiniMax M2 from inside Iran, with no foreign credit card or circumvention tooling required.
- Is MiniMax M2 compatible with OpenAI code?
- Yes. Hormouz exposes an OpenAI-compatible API. Just change the base URL to Hormouz and swap in your Hormouz key. Your existing OpenAI SDKs and code run without a rewrite.
- What makes MiniMax M2 efficient?
- It is a mixture-of-experts model that activates only 10B of its 230B parameters per token, giving near-frontier coding and agentic performance at low latency and cost, with a context window of about 200K tokens.
Updated 2026-10-13