Hormouz AIHormouzSign in

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

VendorMiniMax
TypeText
Context window204,800 tokens
Pricing$0.30/M in · $1.20/M out
APIChat Completions
CapabilitiesStreaming · Tools

Benchmarks

Reasoning

GPQA Diamond
Graduate-level scientific reasoning
77.7%
HLE
Humanity's Last Exam
13.7%
IFBench
Instruction-following
72.3%
AA-LCR
Long-context reasoning
64.3%
CritPt
Research-level physics reasoning
0.9%
AA Omniscience
Broad factual knowledge accuracy
23.2%
Non-Hallucination
Rate of avoiding fabricated answers
9.1%

Coding

Terminal-Bench Hard
Agentic coding & terminal use
25.8%

Agentic

τ²-Bench
Tool-use agents in dual-control scenarios
86.8%

Source: Artificial Analysis

3D
Top 66%
1,108Elo
Win rate: 48.3%Avg time: 101s
Code
Top 68%
1,141Elo
Win rate: 48.1%Avg time: 121s
Data Viz
Top 64%
1,149Elo
Win rate: 50%Avg time: 112s
Game Dev
Top 65%
1,131Elo
Win rate: 48.1%Avg time: 131s
SVG
Top 68%
1,099Elo
Win rate: 55.3%Avg time: 32.6s
UI Component
Top 64%
1,143Elo
Win rate: 49.2%Avg time: 101s
Website
Top 64%
1,149Elo
Win rate: 48%Avg time: 124s

Metrics sourced from Design Arena

Code example

cURL
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!"}]
  }'
Python
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)
JavaScript
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.
Create an account

Use via Hormouz

Connect to this model and 600+ others with one API key, then see usage down to each request.

Request company access

FAQ

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