GPT-4.1 vs Qwen3.5 397B A17B
Qwen3.5 397B A17B leads GPT-4.1 on the Artificial Analysis Intelligence Index, 21.4 to 12.7, and Qwen3.5 397B A17B costs 3.4x less per output token ($2.34 vs $8.00 per million). Updated October 22, 2026; 58 benchmarks have a result for both.
GPT-4.1 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 for a larger context window (1.05M against 262K tokens) and work measured by Terminal-Bench Hard (Artificial Analysis run) or ALE-Bench, where it leads.
- Shared results
- 58
- GPT-4.1 only
- 37
- Qwen3.5 397B A17B only
- 8
- 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 12.7.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only GPT-4.1 has a GPQA Diamond result, 65.4%.
Directional only
Math
AIME
No call
Only GPT-4.1 has a AIME result, 39.6%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-4.1 has a MMLU Pro result, 80.5%.
Directional only
Web design
Design Arena: websites
Qwen3.5 397B A17B
Qwen3.5 397B A17B leads, 1190 against 1038.
Same board, both measured
Long documents
Listed context window
GPT-4.1
GPT-4.1 takes 1.05M tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Qwen3.5 397B A17B
GPT-4.1 $0.0060, 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 has the number, $0.37.
Directional only
At a glance
- Coding index
- GPT-4.1 not benchmarked, Qwen3.5 397B A17B not benchmarked.
- Widest category
- Agentic work, 48.5 points apart on average over 1 shared benchmark.
- Widest single gap
- OTIS Mock AIME: GPT-4.1 38.3% against Qwen3.5 397B A17B 88.9%, 50.6 points apart on a 0 to 100 scale.
- Output price
- GPT-4.1 $8.00 against Qwen3.5 397B A17B $2.34 per million output tokens, 3.4x apart.
- Context window
- GPT-4.1 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 | Bars | Qwen3.5 397B A17B | Ties |
|---|---|---|---|---|
| Coding | 0 | 4 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 8 | ||
| 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 Index04
| Benchmark | GPT-4.1 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| Aider polyglot | 52.4% | Not measured | Only GPT-4.1 measured |
| SWE-bench Verified | 39.6% | Not measured | Only GPT-4.1 measured |
| SWE-bench Multimodal | 31.1% | Not measured | Only GPT-4.1 measured |
| LMArena WebDev | Not measured | 1400 | Only Qwen3.5 397B A17B measured |
| LiveCodeBench (Vals AI) | 54.7% | Not measured | Only GPT-4.1 measured |
| LiveCodeBench (Artificial Analysis run) | 45.7% | Not measured | Only GPT-4.1 measured |
| SciCode | Not measured | 44.8% | Only Qwen3.5 397B A17B measured |
| Terminal-Bench Hard (Artificial Analysis run) | 13.6% | 40.9% | Qwen3.5 397B A17B |
| WeirdML | 39.0% | Not measured | Only GPT-4.1 measured |
| ALE-Bench | 558.1 | 621.9 | Qwen3.5 397B A17B |
| LMArena Text: coding | 1390 | 1464 | Qwen3.5 397B A17B |
| LMArena Text: software and IT | 1391 | 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 |
| SciCode | 4.6% | Not measured | Only GPT-4.1 measured |
| Neither model has a result on the other 28 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4.1 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| AA Intelligence Index | 12.7 | 21.4 | Qwen3.5 397B A17B |
| Epoch Capabilities Index | 136.7 | 146.8 | Qwen3.5 397B A17B |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-4.1 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 47.1% | 95.6% | Qwen3.5 397B A17B |
| APEX-Agents | Not measured | 24.9% | Only Qwen3.5 397B A17B measured |
| Berkeley Function Calling Leaderboard (BFCL) | 54.0% | Not measured | Only GPT-4.1 measured |
| BrowseComp-Plus | 36.4% | Not measured | Only GPT-4.1 measured |
| Neither model has a result on the other 38 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index08
| Benchmark | GPT-4.1 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| GPQA Diamond | 65.4% | Not measured | Only GPT-4.1 measured |
| MMMU Pro (Vals AI) | 72.4% | Not measured | Only GPT-4.1 measured |
| GPQA Diamond (Artificial Analysis run) | 66.6% | 89.3% | Qwen3.5 397B A17B |
| Humanity's Last Exam (Artificial Analysis run) | 4.2% | 29.0% | Qwen3.5 397B A17B |
| GPQA Diamond (Epoch AI run) | 66.9% | 86.4% | Qwen3.5 397B A17B |
| ARC-AGI | 5.5% | Not measured | Only GPT-4.1 measured |
| ARC-AGI-2 | 0.4% | Not measured | Only GPT-4.1 measured |
| SimpleBench | 27.0% | Not measured | Only GPT-4.1 measured |
| Chess puzzles | 3.0% | Not measured | Only GPT-4.1 measured |
| Mystery game puzzles | Not measured | 18.0% | Only Qwen3.5 397B A17B measured |
| LMArena Text: hard prompts | 1384 | 1448 | Qwen3.5 397B A17B |
| LMArena Text: expert | 1364 | 1462 | Qwen3.5 397B A17B |
| LMArena Text: hard prompts in English | 1393 | 1450 | Qwen3.5 397B A17B |
| LMArena Vision: diagrams | 1215 | 1277 | Qwen3.5 397B A17B |
| LMArena Vision: homework | 1248 | 1292 | Qwen3.5 397B A17B |
| Kagi LLM Benchmark | 52.3% | Not measured | Only GPT-4.1 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 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| AIME | 39.6% | Not measured | Only GPT-4.1 measured |
| MATH 500 (Vals AI) | 87.2% | Not measured | Only GPT-4.1 measured |
| MGSM (Vals AI) | 87.7% | Not measured | Only GPT-4.1 measured |
| AA Math Index | 34.7 | Not measured | Only GPT-4.1 measured |
| AIME 2025 (Artificial Analysis run) | 34.7% | Not measured | Only GPT-4.1 measured |
| OTIS Mock AIME | 38.3% | 88.9% | Qwen3.5 397B A17B |
| FrontierMath, tiers 1 to 3 | 6.0% | 31.2% | Qwen3.5 397B A17B |
| MATH level 5 | 83.0% | Not measured | Only GPT-4.1 measured |
| LMArena Text: math | 1369 | 1453 | Qwen3.5 397B A17B |
| LMArena Text: mathematical work | 1360 | 1454 | Qwen3.5 397B A17B |
| MathArena | Not measured | 19.2% | Only Qwen3.5 397B A17B measured |
| 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 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| MMLU Pro | 80.5% | Not measured | Only GPT-4.1 measured |
| LegalBench (Vals AI) | 83.1% | Not measured | Only GPT-4.1 measured |
| CaseLaw (Vals AI) | 69.9% | Not measured | Only GPT-4.1 measured |
| CorpFin (Vals AI) | 63.0% | Not measured | Only GPT-4.1 measured |
| TaxEval (Vals AI) | 75.1% | Not measured | Only GPT-4.1 measured |
| MortgageTax (Vals AI) | 65.9% | Not measured | Only GPT-4.1 measured |
| MedQA (Vals AI) | 91.2% | Not measured | Only GPT-4.1 measured |
| MMLU Pro (Artificial Analysis run) | 80.6% | Not measured | Only GPT-4.1 measured |
| SimpleQA Verified | 31.1% | Not measured | Only GPT-4.1 measured |
| GeoBench | 72.0% | Not measured | Only GPT-4.1 measured |
| LMArena Text: science | 1382 | 1457 | Qwen3.5 397B A17B |
| LMArena Text: medicine and healthcare | 1379 | 1455 | Qwen3.5 397B A17B |
| LMArena Text: legal and government | 1399 | 1441 | Qwen3.5 397B A17B |
| LMArena Text: business and finance | 1369 | 1435 | Qwen3.5 397B A17B |
| FACTS Benchmark Suite | 45.8% | Not measured | Only GPT-4.1 measured |
| PRBench Finance | 34.3% | Not measured | Only GPT-4.1 measured |
| PRBench Legal | 36.5% | Not measured | Only GPT-4.1 measured |
| Neither model has a result on the other 3 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | GPT-4.1 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| Design Arena: websites | 1038 | 1190 | Qwen3.5 397B A17B |
| Design Arena: UI components | 998 | 1161 | Qwen3.5 397B A17B |
| Design Arena: game dev | 1079 | 1140 | Qwen3.5 397B A17B |
| Design Arena: data viz | 1104 | 1175 | Qwen3.5 397B A17B |
| Design Arena: 3D | 849 | 1160 | Qwen3.5 397B A17B |
| Design Arena: all code categories | 1025 | 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 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| IFBench | 43.0% | 78.8% | Qwen3.5 397B A17B |
| Long context reasoning (AA-LCR) | 68.3% | 77.3% | Qwen3.5 397B A17B |
| DTBench | 68.3% | 87.5% | Qwen3.5 397B A17B |
| LMCA | 25.6% | 37.9% | Qwen3.5 397B A17B |
| Fiction.LiveBench | 63.9% | Not measured | Only GPT-4.1 measured |
| LMArena Text | 1383 | 1437 | Qwen3.5 397B A17B |
| LMArena Text: instruction following | 1367 | 1424 | Qwen3.5 397B A17B |
| LMArena Text: creative writing | 1363 | 1402 | Qwen3.5 397B A17B |
| LMArena Vision | 1210 | 1262 | Qwen3.5 397B A17B |
| LMArena Text: English | 1392 | 1443 | Qwen3.5 397B A17B |
| LMArena Text: non-English | 1370 | 1430 | Qwen3.5 397B A17B |
| LMArena Text: Chinese | 1382 | 1498 | Qwen3.5 397B A17B |
| LMArena Text: German | 1381 | 1445 | Qwen3.5 397B A17B |
| LMArena Text: Japanese | 1319 | 1429 | Qwen3.5 397B A17B |
| LMArena Text: Korean | 1338 | 1384 | Qwen3.5 397B A17B |
| LMArena Text: French | 1382 | 1462 | Qwen3.5 397B A17B |
| LMArena Text: Spanish | 1376 | 1441 | Qwen3.5 397B A17B |
| LMArena Text: Russian | 1377 | 1430 | Qwen3.5 397B A17B |
| LMArena Text: Polish | 1389 | 1447 | Qwen3.5 397B A17B |
| LMArena Text: multi-turn | 1397 | 1446 | Qwen3.5 397B A17B |
| LMArena Text: longer queries | 1385 | 1441 | Qwen3.5 397B A17B |
| LMArena Text: writing and language | 1371 | 1415 | Qwen3.5 397B A17B |
| LMArena Text: entertainment and media | 1365 | 1399 | Qwen3.5 397B A17B |
| LMArena Vision: English | 1209 | 1268 | Qwen3.5 397B A17B |
| LMArena Vision: Chinese | 1226 | 1314 | Qwen3.5 397B A17B |
| LMArena Vision: reading text | 1218 | 1271 | Qwen3.5 397B A17B |
| LMArena Vision: humor | 1196 | 1262 | Qwen3.5 397B A17B |
| LMArena Vision: captioning | 1207 | 1230 | Qwen3.5 397B A17B |
| LMArena Vision: recognizing things | 1208 | 1265 | Qwen3.5 397B A17B |
| LMArena Vision: creative writing | 1210 | 1260 | Qwen3.5 397B A17B |
| MultiChallenge | 39.4% | Not measured | Only GPT-4.1 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-4.1 | 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
Qwen3.5 397B A17B costs less
Repository review
50K input + 3K output tokens
Qwen3.5 397B A17B costs less
Agent loop
200K input + 10K output tokens
Qwen3.5 397B A17B 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 | 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 | $2.00 | $0.39 |
| Output $/Mtok | $8.00 | $2.34 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 1 |
| Cost per solved task | $0.37 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-4.1 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 for a larger context window (1.05M against 262K tokens) and work measured by Terminal-Bench Hard (Artificial Analysis run) or ALE-Bench, where it leads.
Which is cheaper, GPT-4.1 or Qwen3.5 397B A17B?
GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; Qwen3.5 397B A17B costs $0.39 and $2.34. Cost per solved task is known for GPT-4.1 only.
Which has the bigger context window, GPT-4.1 or Qwen3.5 397B A17B?
GPT-4.1, with 1.05M tokens against 262K.
How many benchmarks is the GPT-4.1 vs Qwen3.5 397B A17B comparison based on?
58 benchmarks have a result for both models as of October 22, 2026. GPT-4.1'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.