GPT-5.1-Codex-Mini vs Qwen3.5 397B A17B
Qwen3.5 397B A17B leads GPT-5.1-Codex-Mini on the Artificial Analysis Intelligence Index, 21.4 to 20.4, at about the same output price ($2.34 vs $2.00 per million). Updated October 22, 2026; 16 benchmarks have a result for both.
GPT-5.1-Codex-Mini or Qwen3.5 397B A17B: which to pick
Neither model has a coding score yet, so the two cannot be ranked on coding.
Pick GPT-5.1-Codex-Mini for output tokens 1.2x cheaper ($2.00 vs $2.34 per million) and a larger context window (400K against 262K tokens).
- Shared results
- 16
- GPT-5.1-Codex-Mini only
- 6
- Qwen3.5 397B A17B only
- 49
- Like-for-like categories
- 6 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
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, six public coding benchmarks
No call
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
Qwen3.5 397B A17B
Qwen3.5 397B A17B leads, 21.4 against 20.4.
Same board, both measured
Web design
Design Arena: websites
Qwen3.5 397B A17B
Qwen3.5 397B A17B leads, 1190 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 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.1-Codex-Mini
GPT-5.1-Codex-Mini $0.0013, Qwen3.5 397B A17B $0.0016 per turn.
List prices
At a glance
- Coding index
- GPT-5.1-Codex-Mini not benchmarked, Qwen3.5 397B A17B not benchmarked.
- Widest category
- Agentic work, 32.7 points apart on average over 1 shared benchmark.
- Widest single gap
- τ²-Bench Telecom: GPT-5.1-Codex-Mini 62.9% against Qwen3.5 397B A17B 95.6%, 32.7 points apart on a 0 to 100 scale.
- Output price
- GPT-5.1-Codex-Mini $2.00 against Qwen3.5 397B A17B $2.34 per million output tokens, 1.2x apart.
- Context window
- GPT-5.1-Codex-Mini takes 400K tokens, Qwen3.5 397B A17B 262K.
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 | Qwen3.5 397B A17B | Ties |
|---|---|---|---|---|
| Coding | 0 | 3 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 2 | ||
| Web design | 0 | 7 | ||
| General | 0 | 2 | ||
| All shared boards | 0 | 16 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
| Benchmark | GPT-5.1-Codex-Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| LMArena WebDev | 1244 | 1400 | Qwen3.5 397B A17B |
| LiveCodeBench (Artificial Analysis run) | 83.6% | Not measured | Only GPT-5.1-Codex-Mini measured |
| SciCode | Not measured | 44.8% | Only Qwen3.5 397B A17B measured |
| Terminal-Bench Hard (Artificial Analysis run) | 33.3% | 40.9% | Qwen3.5 397B A17B |
| Terminal-Bench | 61.6% | Not measured | Only GPT-5.1-Codex-Mini measured |
| ALE-Bench | Not measured | 621.9 | Only Qwen3.5 397B A17B measured |
| LMArena Text: coding | Not measured | 1464 | Only Qwen3.5 397B A17B measured |
| LMArena Text: software and IT | Not measured | 1463 | Only Qwen3.5 397B A17B measured |
| LMArena WebDev: React | Not measured | 1388 | Only Qwen3.5 397B A17B measured |
| LMArena WebDev: HTML | 1253 | 1410 | Qwen3.5 397B A17B |
| Neither model has a result on the other 29 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-5.1-Codex-Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| AA Intelligence Index | 20.4 | 21.4 | Qwen3.5 397B A17B |
| Epoch Capabilities Index | Not measured | 146.8 | Only Qwen3.5 397B A17B measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-5.1-Codex-Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 62.9% | 95.6% | Qwen3.5 397B A17B |
| APEX-Agents | Not measured | 24.9% | Only Qwen3.5 397B A17B measured |
| Neither model has a result on the other 39 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-5.1-Codex-Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | 81.3% | 89.3% | Qwen3.5 397B A17B |
| Humanity's Last Exam (Artificial Analysis run) | 18.5% | 29.0% | Qwen3.5 397B A17B |
| GPQA Diamond (Epoch AI run) | Not measured | 86.4% | Only Qwen3.5 397B A17B measured |
| Mystery game puzzles | Not measured | 18.0% | Only Qwen3.5 397B A17B measured |
| LMArena Text: hard prompts | Not measured | 1448 | Only Qwen3.5 397B A17B measured |
| LMArena Text: expert | Not measured | 1462 | Only Qwen3.5 397B A17B measured |
| LMArena Text: hard prompts in English | Not measured | 1450 | Only Qwen3.5 397B A17B measured |
| LMArena Vision: diagrams | Not measured | 1277 | Only Qwen3.5 397B A17B measured |
| LMArena Vision: homework | Not measured | 1292 | Only Qwen3.5 397B A17B measured |
| Neither model has a result on the other 13 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
| Benchmark | GPT-5.1-Codex-Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| AA Math Index | 91.7 | Not measured | Only GPT-5.1-Codex-Mini measured |
| AIME 2025 (Artificial Analysis run) | 91.7% | Not measured | Only GPT-5.1-Codex-Mini measured |
| OTIS Mock AIME | Not measured | 88.9% | Only Qwen3.5 397B A17B measured |
| FrontierMath, tiers 1 to 3 | Not measured | 31.2% | Only Qwen3.5 397B A17B measured |
| LMArena Text: math | Not measured | 1453 | Only Qwen3.5 397B A17B measured |
| LMArena Text: mathematical work | Not measured | 1454 | Only Qwen3.5 397B A17B measured |
| Neither model has a result on the other 7 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
| Benchmark | GPT-5.1-Codex-Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| MMLU Pro (Artificial Analysis run) | 82.0% | Not measured | Only GPT-5.1-Codex-Mini measured |
| LMArena Text: science | Not measured | 1457 | Only Qwen3.5 397B A17B measured |
| LMArena Text: medicine and healthcare | Not measured | 1455 | Only Qwen3.5 397B A17B measured |
| LMArena Text: legal and government | Not measured | 1441 | Only Qwen3.5 397B A17B measured |
| LMArena Text: business and finance | Not measured | 1435 | Only Qwen3.5 397B A17B measured |
| Neither model has a result on the other 13 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index07
| Benchmark | GPT-5.1-Codex-Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| Design Arena: websites | 1111 | 1190 | Qwen3.5 397B A17B |
| Design Arena: UI components | 1078 | 1160 | Qwen3.5 397B A17B |
| Design Arena: game dev | 1092 | 1140 | Qwen3.5 397B A17B |
| Design Arena: data viz | 1097 | 1175 | Qwen3.5 397B A17B |
| Design Arena: 3D | 988 | 1160 | Qwen3.5 397B A17B |
| Design Arena: all code categories | 1093 | 1179 | Qwen3.5 397B A17B |
| Design Arena: SVG | 978 | 1139 | Qwen3.5 397B A17B |
| Design Arena: ASCII art | 1105 | 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 index02
| Benchmark | GPT-5.1-Codex-Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| IFBench | 67.9% | 78.8% | Qwen3.5 397B A17B |
| Long context reasoning (AA-LCR) | 66.7% | 77.3% | Qwen3.5 397B A17B |
| DTBench | Not measured | 87.5% | Only Qwen3.5 397B A17B measured |
| LMCA | Not measured | 37.9% | Only Qwen3.5 397B A17B measured |
| LMArena Text | Not measured | 1437 | Only Qwen3.5 397B A17B measured |
| LMArena Text: instruction following | Not measured | 1424 | Only Qwen3.5 397B A17B measured |
| LMArena Text: creative writing | Not measured | 1402 | Only Qwen3.5 397B A17B measured |
| LMArena Vision | Not measured | 1262 | Only Qwen3.5 397B A17B measured |
| LMArena Text: English | Not measured | 1443 | Only Qwen3.5 397B A17B measured |
| LMArena Text: non-English | Not measured | 1430 | Only Qwen3.5 397B A17B measured |
| LMArena Text: Chinese | Not measured | 1498 | Only Qwen3.5 397B A17B measured |
| LMArena Text: German | Not measured | 1445 | Only Qwen3.5 397B A17B measured |
| LMArena Text: Japanese | Not measured | 1429 | Only Qwen3.5 397B A17B measured |
| LMArena Text: Korean | Not measured | 1384 | Only Qwen3.5 397B A17B measured |
| LMArena Text: French | Not measured | 1462 | Only Qwen3.5 397B A17B measured |
| LMArena Text: Spanish | Not measured | 1441 | Only Qwen3.5 397B A17B measured |
| LMArena Text: Russian | Not measured | 1430 | Only Qwen3.5 397B A17B measured |
| LMArena Text: Polish | Not measured | 1447 | Only Qwen3.5 397B A17B measured |
| LMArena Text: multi-turn | Not measured | 1446 | Only Qwen3.5 397B A17B measured |
| LMArena Text: longer queries | Not measured | 1441 | Only Qwen3.5 397B A17B measured |
| LMArena Text: writing and language | Not measured | 1415 | Only Qwen3.5 397B A17B measured |
| LMArena Text: entertainment and media | Not measured | 1399 | Only Qwen3.5 397B A17B measured |
| LMArena Vision: English | Not measured | 1268 | Only Qwen3.5 397B A17B measured |
| LMArena Vision: Chinese | Not measured | 1314 | Only Qwen3.5 397B A17B measured |
| LMArena Vision: reading text | Not measured | 1271 | Only Qwen3.5 397B A17B measured |
| LMArena Vision: humor | Not measured | 1262 | Only Qwen3.5 397B A17B measured |
| LMArena Vision: captioning | Not measured | 1230 | Only Qwen3.5 397B A17B measured |
| LMArena Vision: recognizing things | Not measured | 1265 | Only Qwen3.5 397B A17B measured |
| LMArena Vision: creative writing | Not measured | 1260 | Only Qwen3.5 397B A17B measured |
| Neither model has a result on the other 17 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.1-Codex-Mini | Qwen3.5 397B A17B | 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
GPT-5.1-Codex-Mini costs less
Repository review
50K input + 3K output tokens
GPT-5.1-Codex-Mini costs less
Agent loop
200K input + 10K output tokens
GPT-5.1-Codex-Mini 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 | Qwen3.5 397B A17B |
|---|---|---|
| Maker | OpenAI | Qwen |
| Weights | No public weights listed | Open weights |
| Released | November 13, 2025 | February 16, 2026 |
| Context window | 400K | 262K |
| Input $/Mtok | $0.25 | $0.39 |
| Output $/Mtok | $2.00 | $2.34 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 1 | 1 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.1-Codex-Mini better than Qwen3.5 397B A17B for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Pick GPT-5.1-Codex-Mini for output tokens 1.2x cheaper ($2.00 vs $2.34 per million) and a larger context window (400K against 262K tokens).
Which is cheaper, GPT-5.1-Codex-Mini or Qwen3.5 397B A17B?
GPT-5.1-Codex-Mini costs $0.25 per million input tokens and $2.00 per million output tokens; Qwen3.5 397B A17B costs $0.39 and $2.34. Cost per solved task is known for neither of them.
Which has the bigger context window, GPT-5.1-Codex-Mini or Qwen3.5 397B A17B?
GPT-5.1-Codex-Mini, with 400K tokens against 262K.
How many benchmarks is the GPT-5.1-Codex-Mini vs Qwen3.5 397B A17B comparison based on?
16 benchmarks have a result for both models as of October 22, 2026. GPT-5.1-Codex-Mini's coding index rests on 1 independent benchmark and Qwen3.5 397B A17B's on 1. Where only one model has a result, the page says so instead of naming a winner.