GPT-4.1 Mini vs Qwen3.5 397B A17B
Qwen3.5 397B A17B leads GPT-4.1 Mini on the Artificial Analysis Intelligence Index, 21.4 to 10.2, and GPT-4.1 Mini costs 1.5x less per output token ($1.60 vs $2.34 per million). Updated October 22, 2026; 58 benchmarks have a result for both.
GPT-4.1 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-4.1 Mini for output tokens 1.5x cheaper ($1.60 vs $2.34 per million) and a larger context window (1.05M against 262K tokens).
- Shared results
- 58
- GPT-4.1 Mini only
- 28
- Qwen3.5 397B A17B only
- 7
- Like-for-like categories
- 8 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 10.2.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only GPT-4.1 Mini has a GPQA Diamond result, 67.9%.
Directional only
Math
AIME
No call
Only GPT-4.1 Mini has a AIME result, 49.4%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-4.1 Mini has a MMLU Pro result, 77.2%.
Directional only
Web design
Design Arena: websites
Qwen3.5 397B A17B
Qwen3.5 397B A17B leads, 1190 against 997.
Same board, both measured
Long documents
Listed context window
GPT-4.1 Mini
GPT-4.1 Mini takes 1.05M tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-4.1 Mini
GPT-4.1 Mini $0.0012, Qwen3.5 397B A17B $0.0016 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-4.1 Mini has the number, $1.818.
Directional only
At a glance
- Coding index
- GPT-4.1 Mini not benchmarked, Qwen3.5 397B A17B not benchmarked.
- Widest category
- Agentic work, 42.7 points apart on average over 1 shared benchmark.
- Widest single gap
- OTIS Mock AIME: GPT-4.1 Mini 44.7% against Qwen3.5 397B A17B 88.9%, 44.2 points apart on a 0 to 100 scale.
- Output price
- GPT-4.1 Mini $1.60 against Qwen3.5 397B A17B $2.34 per million output tokens, 1.5x apart.
- Context window
- GPT-4.1 Mini takes 1.05M 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-4.1 Mini | Bars | Qwen3.5 397B A17B | Ties |
|---|---|---|---|---|
| Coding | 0 | 3 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 9 | ||
| Math | 0 | 4 | ||
| Knowledge | 0 | 4 | ||
| Web design | 0 | 6 | ||
| General | 0 | 29 | ||
| All shared boards | 0 | 58 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
| Benchmark | GPT-4.1 Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| Aider polyglot | 32.4% | Not measured | Only GPT-4.1 Mini measured |
| SWE-bench Verified | 23.9% | Not measured | Only GPT-4.1 Mini measured |
| LMArena WebDev | Not measured | 1400 | Only Qwen3.5 397B A17B measured |
| AA Coding Index | 20.2 | Not measured | Only GPT-4.1 Mini measured |
| LiveCodeBench (Vals AI) | 58.2% | Not measured | Only GPT-4.1 Mini measured |
| LiveCodeBench (Artificial Analysis run) | 48.3% | Not measured | Only GPT-4.1 Mini measured |
| SciCode | Not measured | 44.8% | Only Qwen3.5 397B A17B measured |
| Terminal-Bench Hard (Artificial Analysis run) | 7.6% | 40.9% | Qwen3.5 397B A17B |
| WeirdML | 37.6% | Not measured | Only GPT-4.1 Mini measured |
| ALE-Bench | Not measured | 621.9 | Only Qwen3.5 397B A17B measured |
| LMArena Text: coding | 1367 | 1464 | Qwen3.5 397B A17B |
| LMArena Text: software and IT | 1360 | 1463 | Qwen3.5 397B A17B |
| LMArena WebDev: React | Not measured | 1388 | Only Qwen3.5 397B A17B measured |
| LMArena WebDev: HTML | Not measured | 1410 | Only Qwen3.5 397B A17B measured |
| Neither model has a result on the other 25 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4.1 Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| AA Intelligence Index | 10.2 | 21.4 | Qwen3.5 397B A17B |
| Epoch Capabilities Index | 134.9 | 146.8 | Qwen3.5 397B A17B |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-4.1 Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 52.9% | 95.6% | Qwen3.5 397B A17B |
| APEX-Agents | Not measured | 24.9% | Only Qwen3.5 397B A17B measured |
| Berkeley Function Calling Leaderboard (BFCL) | 50.4% | Not measured | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 38 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index09
| Benchmark | GPT-4.1 Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| GPQA Diamond | 67.9% | Not measured | Only GPT-4.1 Mini measured |
| MMMU Pro (Vals AI) | 70.5% | Not measured | Only GPT-4.1 Mini measured |
| GPQA Diamond (Artificial Analysis run) | 66.4% | 89.3% | Qwen3.5 397B A17B |
| Humanity's Last Exam (Artificial Analysis run) | 5.0% | 29.0% | Qwen3.5 397B A17B |
| GPQA Diamond (Epoch AI run) | 65.8% | 86.4% | Qwen3.5 397B A17B |
| ARC-AGI | 3.5% | Not measured | Only GPT-4.1 Mini measured |
| ARC-AGI-2 | 0.0% | Not measured | Only GPT-4.1 Mini measured |
| Chess puzzles | 1.0% | Not measured | Only GPT-4.1 Mini measured |
| Mystery game puzzles | 7.0% | 18.0% | Qwen3.5 397B A17B |
| LMArena Text: hard prompts | 1349 | 1448 | Qwen3.5 397B A17B |
| LMArena Text: expert | 1338 | 1462 | Qwen3.5 397B A17B |
| LMArena Text: hard prompts in English | 1362 | 1450 | Qwen3.5 397B A17B |
| LMArena Vision: diagrams | 1182 | 1277 | Qwen3.5 397B A17B |
| LMArena Vision: homework | 1214 | 1292 | Qwen3.5 397B A17B |
| Kagi LLM Benchmark | 48.6% | Not measured | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 7 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | GPT-4.1 Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| AIME | 49.4% | Not measured | Only GPT-4.1 Mini measured |
| MATH 500 (Vals AI) | 88.0% | Not measured | Only GPT-4.1 Mini measured |
| MGSM (Vals AI) | 87.8% | Not measured | Only GPT-4.1 Mini measured |
| AA Math Index | 46.3 | Not measured | Only GPT-4.1 Mini measured |
| AIME 2025 (Artificial Analysis run) | 46.3% | Not measured | Only GPT-4.1 Mini measured |
| OTIS Mock AIME | 44.7% | 88.9% | Qwen3.5 397B A17B |
| FrontierMath, tiers 1 to 3 | 6.7% | 31.2% | Qwen3.5 397B A17B |
| MATH level 5 | 87.3% | Not measured | Only GPT-4.1 Mini measured |
| LMArena Text: math | 1343 | 1453 | Qwen3.5 397B A17B |
| LMArena Text: mathematical work | 1347 | 1454 | Qwen3.5 397B A17B |
| Neither model has a result on the other 3 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | GPT-4.1 Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| MMLU Pro | 77.2% | Not measured | Only GPT-4.1 Mini measured |
| LegalBench (Vals AI) | 78.0% | Not measured | Only GPT-4.1 Mini measured |
| CorpFin (Vals AI) | 57.9% | Not measured | Only GPT-4.1 Mini measured |
| TaxEval (Vals AI) | 71.9% | Not measured | Only GPT-4.1 Mini measured |
| MortgageTax (Vals AI) | 65.5% | Not measured | Only GPT-4.1 Mini measured |
| MedQA (Vals AI) | 84.6% | Not measured | Only GPT-4.1 Mini measured |
| MMLU Pro (Artificial Analysis run) | 78.1% | Not measured | Only GPT-4.1 Mini measured |
| SimpleQA Verified | 12.7% | Not measured | Only GPT-4.1 Mini measured |
| LMArena Text: science | 1328 | 1457 | Qwen3.5 397B A17B |
| LMArena Text: medicine and healthcare | 1324 | 1455 | Qwen3.5 397B A17B |
| LMArena Text: legal and government | 1343 | 1441 | Qwen3.5 397B A17B |
| LMArena Text: business and finance | 1322 | 1435 | Qwen3.5 397B A17B |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | GPT-4.1 Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| Design Arena: websites | 997 | 1190 | Qwen3.5 397B A17B |
| Design Arena: UI components | 958 | 1161 | Qwen3.5 397B A17B |
| Design Arena: game dev | 1070 | 1140 | Qwen3.5 397B A17B |
| Design Arena: data viz | 1034 | 1175 | Qwen3.5 397B A17B |
| Design Arena: 3D | 836 | 1160 | Qwen3.5 397B A17B |
| Design Arena: all code categories | 993 | 1179 | Qwen3.5 397B A17B |
| Design Arena: SVG | Not measured | 1139 | Only Qwen3.5 397B A17B measured |
| Neither model has a result on the other 2 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index029
| Benchmark | GPT-4.1 Mini | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| IFBench | 38.3% | 78.8% | Qwen3.5 397B A17B |
| Long context reasoning (AA-LCR) | 44.0% | 77.3% | Qwen3.5 397B A17B |
| DTBench | 68.8% | 87.5% | Qwen3.5 397B A17B |
| LMCA | 21.1% | 37.9% | Qwen3.5 397B A17B |
| Fiction.LiveBench | 44.4% | Not measured | Only GPT-4.1 Mini measured |
| LMArena Text | 1341 | 1437 | Qwen3.5 397B A17B |
| LMArena Text: instruction following | 1333 | 1424 | Qwen3.5 397B A17B |
| LMArena Text: creative writing | 1299 | 1402 | Qwen3.5 397B A17B |
| LMArena Vision | 1181 | 1262 | Qwen3.5 397B A17B |
| LMArena Text: English | 1356 | 1443 | Qwen3.5 397B A17B |
| LMArena Text: non-English | 1318 | 1430 | Qwen3.5 397B A17B |
| LMArena Text: Chinese | 1329 | 1498 | Qwen3.5 397B A17B |
| LMArena Text: German | 1350 | 1445 | Qwen3.5 397B A17B |
| LMArena Text: Japanese | 1290 | 1429 | Qwen3.5 397B A17B |
| LMArena Text: Korean | 1298 | 1384 | Qwen3.5 397B A17B |
| LMArena Text: French | 1358 | 1462 | Qwen3.5 397B A17B |
| LMArena Text: Spanish | 1319 | 1441 | Qwen3.5 397B A17B |
| LMArena Text: Russian | 1324 | 1430 | Qwen3.5 397B A17B |
| LMArena Text: Polish | 1326 | 1447 | Qwen3.5 397B A17B |
| LMArena Text: multi-turn | 1354 | 1446 | Qwen3.5 397B A17B |
| LMArena Text: longer queries | 1344 | 1441 | Qwen3.5 397B A17B |
| LMArena Text: writing and language | 1319 | 1415 | Qwen3.5 397B A17B |
| LMArena Text: entertainment and media | 1300 | 1399 | Qwen3.5 397B A17B |
| LMArena Vision: English | 1191 | 1268 | Qwen3.5 397B A17B |
| LMArena Vision: Chinese | 1186 | 1314 | Qwen3.5 397B A17B |
| LMArena Vision: reading text | 1188 | 1271 | Qwen3.5 397B A17B |
| LMArena Vision: humor | 1182 | 1262 | Qwen3.5 397B A17B |
| LMArena Vision: captioning | 1174 | 1230 | Qwen3.5 397B A17B |
| LMArena Vision: recognizing things | 1187 | 1265 | Qwen3.5 397B A17B |
| LMArena Vision: creative writing | 1182 | 1260 | Qwen3.5 397B A17B |
| Neither model has a result on the other 16 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-4.1 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-4.1 Mini costs less
Repository review
50K input + 3K output tokens
GPT-4.1 Mini costs less
Agent loop
200K input + 10K output tokens
GPT-4.1 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-4.1 Mini | Qwen3.5 397B A17B |
|---|---|---|
| Maker | OpenAI | Qwen |
| Weights | No public weights listed | Open weights |
| Released | April 14, 2025 | February 16, 2026 |
| Context window | 1.05M | 262K |
| Input $/Mtok | $0.40 | $0.39 |
| Output $/Mtok | $1.60 | $2.34 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 1 |
| Cost per solved task | $1.818 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-4.1 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-4.1 Mini for output tokens 1.5x cheaper ($1.60 vs $2.34 per million) and a larger context window (1.05M against 262K tokens).
Which is cheaper, GPT-4.1 Mini or Qwen3.5 397B A17B?
GPT-4.1 Mini costs $0.40 per million input tokens and $1.60 per million output tokens; Qwen3.5 397B A17B costs $0.39 and $2.34. Cost per solved task is known for GPT-4.1 Mini only.
Which has the bigger context window, GPT-4.1 Mini or Qwen3.5 397B A17B?
GPT-4.1 Mini, with 1.05M tokens against 262K.
How many benchmarks is the GPT-4.1 Mini vs Qwen3.5 397B A17B comparison based on?
58 benchmarks have a result for both models as of October 22, 2026. GPT-4.1 Mini's coding index rests on 0 independent benchmarks and Qwen3.5 397B A17B's on 1. Where only one model has a result, the page says so instead of naming a winner.