GPT-5.1-Codex-Mini vs MiniMax M2
Updated October 21, 2026. 21 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick MiniMax M2 for coding: it scores 45.3 on the Vibe Coding Index against 6.2 for GPT-5.1-Codex-Mini.
Pick GPT-5.1-Codex-Mini when the context window is larger, 400K against 205K tokens, or when what matters is LiveCodeBench (Artificial Analysis run) or Terminal-Bench Hard (Artificial Analysis run), where it leads.
- Shared results
- 21
- GPT-5.1-Codex-Mini only
- 1
- MiniMax M2 only
- 28
- Like-for-like categories
- 8 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, four public coding benchmarks
MiniMax M2
MiniMax M2 scores 45.3 against 6.2.
1 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
GPT-5.1-Codex-Mini
GPT-5.1-Codex-Mini leads, 20.4 against 18.6.
Same board, both measured
Web design
Design Arena: websites
MiniMax M2
MiniMax M2 leads, 1144 against 1111.
Same board, both measured
Long documents
Listed context window
GPT-5.1-Codex-Mini
GPT-5.1-Codex-Mini takes 400K tokens against 205K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
MiniMax M2
GPT-5.1-Codex-Mini $0.0013, MiniMax M2 $0.0008 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only MiniMax M2 has the number, $0.702.
Directional only
At a glance
- Coding index
- GPT-5.1-Codex-Mini 6.2 from 1 benchmark, MiniMax M2 45.3 from 2 benchmarks.
- Widest category
- Agentic work, 24.0 points apart on average over 1 shared benchmark.
- Widest single gap
- Terminal-Bench: GPT-5.1-Codex-Mini 61.6% against MiniMax M2 30.0%, 31.5 points apart on a 0 to 100 scale.
- Output price
- GPT-5.1-Codex-Mini $2.00 against MiniMax M2 $1.02 per million output tokens, 2.0x apart.
- Context window
- GPT-5.1-Codex-Mini takes 400K tokens, MiniMax M2 205K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | GPT-5.1-Codex-Mini | Bars | MiniMax M2 | Ties |
|---|---|---|---|---|
| Coding | 3 | 2 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 2 | 0 | ||
| Math | 2 | 0 | ||
| Knowledge | 0 | 0 | 1 tie | |
| Web design | 0 | 7 | ||
| General | 1 | 1 | ||
| All shared boards | 9 | 11 | 1 tie |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index32
| Benchmark | GPT-5.1-Codex-Mini | MiniMax M2 | Leader |
|---|---|---|---|
| SWE-bench Verified | Not measured | 61.0% | Only MiniMax M2 measured |
| LMArena WebDev | 1244 | 1297 | MiniMax M2 |
| LiveCodeBench (Artificial Analysis run) | 83.6% | 82.6% | GPT-5.1-Codex-Mini |
| Terminal-Bench Hard (Artificial Analysis run) | 33.3% | 25.8% | GPT-5.1-Codex-Mini |
| Terminal-Bench | 61.6% | 30.0% | GPT-5.1-Codex-Mini |
| LMArena Text: coding | Not measured | 1371 | Only MiniMax M2 measured |
| LMArena Text: software and IT | Not measured | 1373 | Only MiniMax M2 measured |
| LMArena WebDev: HTML | 1253 | 1306 | MiniMax M2 |
| Neither model has a result on the other 30 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.1-Codex-Mini | MiniMax M2 | Leader |
|---|---|---|---|
| AA Intelligence Index | 20.4 | 18.6 | GPT-5.1-Codex-Mini |
| Neither model has a result on the other 1 board here | |||
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-5.1-Codex-Mini | MiniMax M2 | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 62.9% | 86.8% | MiniMax M2 |
| Vending-Bench 2 | Not measured | $161 | Only MiniMax M2 measured |
| Neither model has a result on the other 37 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5.1-Codex-Mini | MiniMax M2 | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | 81.3% | 77.7% | GPT-5.1-Codex-Mini |
| Humanity's Last Exam (Artificial Analysis run) | 18.5% | 13.7% | GPT-5.1-Codex-Mini |
| LMArena Text: hard prompts | Not measured | 1357 | Only MiniMax M2 measured |
| LMArena Text: expert | Not measured | 1338 | Only MiniMax M2 measured |
| LMArena Text: hard prompts in English | Not measured | 1376 | Only MiniMax M2 measured |
| Neither model has a result on the other 16 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5.1-Codex-Mini | MiniMax M2 | Leader |
|---|---|---|---|
| AA Math Index | 91.7 | 78.3 | GPT-5.1-Codex-Mini |
| AIME 2025 (Artificial Analysis run) | 91.7% | 78.3% | GPT-5.1-Codex-Mini |
| LMArena Text: math | Not measured | 1351 | Only MiniMax M2 measured |
| LMArena Text: mathematical work | Not measured | 1368 | Only MiniMax M2 measured |
| Neither model has a result on the other 9 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index00
| Benchmark | GPT-5.1-Codex-Mini | MiniMax M2 | Leader |
|---|---|---|---|
| MMLU Pro (Artificial Analysis run) | 82.0% | 82.0% | Tie |
| LMArena Text: science | Not measured | 1348 | Only MiniMax M2 measured |
| LMArena Text: medicine and healthcare | Not measured | 1367 | Only MiniMax M2 measured |
| LMArena Text: legal and government | Not measured | 1349 | Only MiniMax M2 measured |
| LMArena Text: business and finance | Not measured | 1336 | Only MiniMax M2 measured |
| Neither model has a result on the other 12 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index07
| Benchmark | GPT-5.1-Codex-Mini | MiniMax M2 | Leader |
|---|---|---|---|
| Design Arena: websites | 1111 | 1144 | MiniMax M2 |
| Design Arena: UI components | 1081 | 1136 | MiniMax M2 |
| Design Arena: game dev | 1093 | 1119 | MiniMax M2 |
| Design Arena: data viz | 1097 | 1140 | MiniMax M2 |
| Design Arena: 3D | 988 | 1098 | MiniMax M2 |
| Design Arena: all code categories | 1094 | 1135 | MiniMax M2 |
| Design Arena: SVG | 977 | 1098 | MiniMax M2 |
| Design Arena: ASCII art | 1104 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | GPT-5.1-Codex-Mini | MiniMax M2 | Leader |
|---|---|---|---|
| IFBench | 67.9% | 72.3% | MiniMax M2 |
| Long context reasoning (AA-LCR) | 66.7% | 64.3% | GPT-5.1-Codex-Mini |
| LMArena Text | Not measured | 1340 | Only MiniMax M2 measured |
| LMArena Text: instruction following | Not measured | 1329 | Only MiniMax M2 measured |
| LMArena Text: creative writing | Not measured | 1286 | Only MiniMax M2 measured |
| LMArena Text: English | Not measured | 1364 | Only MiniMax M2 measured |
| LMArena Text: non-English | Not measured | 1313 | Only MiniMax M2 measured |
| LMArena Text: Chinese | Not measured | 1366 | Only MiniMax M2 measured |
| LMArena Text: German | Not measured | 1357 | Only MiniMax M2 measured |
| LMArena Text: French | Not measured | 1336 | Only MiniMax M2 measured |
| LMArena Text: Spanish | Not measured | 1326 | Only MiniMax M2 measured |
| LMArena Text: Russian | Not measured | 1330 | Only MiniMax M2 measured |
| LMArena Text: Polish | Not measured | 1312 | Only MiniMax M2 measured |
| LMArena Text: multi-turn | Not measured | 1361 | Only MiniMax M2 measured |
| LMArena Text: longer queries | Not measured | 1331 | Only MiniMax M2 measured |
| LMArena Text: writing and language | Not measured | 1295 | Only MiniMax M2 measured |
| LMArena Text: entertainment and media | Not measured | 1298 | Only MiniMax M2 measured |
| Neither model has a result on the other 29 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.1-Codex-Mini | MiniMax M2 | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
MiniMax M2 costs less
Repository review
50K input + 3K output tokens
MiniMax M2 costs less
Agent loop
200K input + 10K output tokens
MiniMax M2 costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | OpenAI GPT-5.1-Codex-Mini | MiniMax M2 |
|---|---|---|
| Maker | OpenAI | MiniMax |
| Weights | No public weights listed | Open weights |
| Released | November 13, 2025 | October 23, 2025 |
| Context window | 400K | 205K |
| Input $/Mtok | $0.25 | $0.255 |
| Output $/Mtok | $2.00 | $1.02 |
| Coding index | 6.2 | 45.3 |
| Independent measurements behind it | 1 | 2 |
| Cost per solved task | Not computable | $0.702 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.1-Codex-Mini better than MiniMax M2 for coding?
Pick MiniMax M2 for coding: it scores 45.3 on the Vibe Coding Index against 6.2 for GPT-5.1-Codex-Mini. Pick GPT-5.1-Codex-Mini when the context window is larger, 400K against 205K tokens, or when what matters is LiveCodeBench (Artificial Analysis run) or Terminal-Bench Hard (Artificial Analysis run), where it leads.
Which is cheaper, GPT-5.1-Codex-Mini or MiniMax M2?
GPT-5.1-Codex-Mini costs $0.25 per million input tokens and $2.00 per million output tokens; MiniMax M2 costs $0.255 and $1.02. Cost per solved task is known for MiniMax M2 only.
Which has the bigger context window, GPT-5.1-Codex-Mini or MiniMax M2?
GPT-5.1-Codex-Mini, with 400K tokens against 205K.
How many benchmarks is the GPT-5.1-Codex-Mini vs MiniMax M2 comparison based on?
21 benchmarks have a result for both models as of October 21, 2026. GPT-5.1-Codex-Mini's coding index rests on 1 independent benchmark and MiniMax M2's on 2. Where only one model has a result, the page says so instead of naming a winner.