GPT-4.1 vs Qwen3.8 Max (0902)
Qwen3.8 Max (0902) leads GPT-4.1 on the Artificial Analysis Intelligence Index, 45.4 to 12.7, and Qwen3.8 Max (0902) costs 1.3x less per output token ($6.00 vs $8.00 per million). Updated October 22, 2026; 62 benchmarks have a result for both.
GPT-4.1 or Qwen3.8 Max (0902): which to pick
Only Qwen3.8 Max (0902) has a coding score, 62.4 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding.
Pick GPT-4.1 for a lower cost per solved task ($0.37 against $1.32) and a larger context window (1.05M against 1M tokens).
- Shared results
- 62
- GPT-4.1 only
- 33
- Qwen3.8 Max (0902) only
- 52
- Like-for-like categories
- 7 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
Only Qwen3.8 Max (0902) has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
Qwen3.8 Max (0902)
Qwen3.8 Max (0902) leads, 45.4 against 12.7.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Qwen3.8 Max (0902) has a AA Agentic Index result, 56.0.
Directional only
Reasoning
GPQA Diamond
Qwen3.8 Max (0902)
Qwen3.8 Max (0902) leads, 93.7% against 65.4%.
Same board, both measured
Math
AIME
No call
Only GPT-4.1 has a AIME result, 39.6%.
Directional only
Knowledge
MMLU Pro
Qwen3.8 Max (0902)
Qwen3.8 Max (0902) leads, 88.6% against 80.5%.
Same board, both measured
Web design
Design Arena: websites
Qwen3.8 Max (0902)
Qwen3.8 Max (0902) leads, 1275 against 1038.
Same board, both measured
Long documents
Listed context window
GPT-4.1
GPT-4.1 takes 1.05M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Qwen3.8 Max (0902)
GPT-4.1 $0.0060, Qwen3.8 Max (0902) $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-4.1
GPT-4.1 $0.37, Qwen3.8 Max (0902) $1.32.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-4.1 not benchmarked, Qwen3.8 Max (0902) 62.4 from 5 benchmarks.
- Widest category
- Math, 43.6 points apart on average over 4 shared benchmarks.
- Widest single gap
- FrontierMath, tiers 1 to 3: GPT-4.1 6.0% against Qwen3.8 Max (0902) 74.7%, 68.8 points apart on a 0 to 100 scale.
- Output price
- GPT-4.1 $8.00 against Qwen3.8 Max (0902) $6.00 per million output tokens, 1.3x apart.
- Context window
- GPT-4.1 takes 1.05M tokens, Qwen3.8 Max (0902) 1M.
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.8 Max (0902) | Ties |
|---|---|---|---|---|
| Coding | 0 | 3 | ||
| Intelligence | 0 | 2 | ||
| Reasoning | 0 | 11 | ||
| Math | 0 | 4 | ||
| Knowledge | 1 | 9 | ||
| Web design | 0 | 6 | ||
| General | 0 | 26 | ||
| All shared boards | 1 | 61 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
| Benchmark | GPT-4.1 | Qwen3.8 Max (0902) | 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 |
| LiveBench coding | Not measured | 60.3% | Only Qwen3.8 Max (0902) measured |
| LMArena WebDev | Not measured | 1674 | Only Qwen3.8 Max (0902) measured |
| AA Coding Index | Not measured | 76.2 | Only Qwen3.8 Max (0902) measured |
| LiveCodeBench (Vals AI) | 54.7% | 87.8% | Qwen3.8 Max (0902) |
| SWE-bench Verified (Vals AI) | Not measured | 85.6% | Only Qwen3.8 Max (0902) measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 34.3% | Only Qwen3.8 Max (0902) measured |
| Vibe Code Bench (Vals AI) | Not measured | 64.7% | Only Qwen3.8 Max (0902) measured |
| Code migration (Vals AI) | Not measured | 24.0% | Only Qwen3.8 Max (0902) measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only Qwen3.8 Max (0902) measured |
| IOI (Vals AI) | Not measured | 68.9% | Only Qwen3.8 Max (0902) measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 67.4% | Only Qwen3.8 Max (0902) measured |
| SWE-bench Multimodal (Vals AI) | Not measured | 42.5% | Only Qwen3.8 Max (0902) measured |
| Vibe Code Bench 1-100 (Vals AI) | Not measured | 12.8% | Only Qwen3.8 Max (0902) measured |
| SkillsBench (Vals AI) | Not measured | 42.0% | Only Qwen3.8 Max (0902) measured |
| CyberBench (Vals AI) | Not measured | 28.6% | Only Qwen3.8 Max (0902) measured |
| LiveCodeBench (Artificial Analysis run) | 45.7% | Not measured | Only GPT-4.1 measured |
| SciCode | Not measured | 53.2% | Only Qwen3.8 Max (0902) measured |
| Terminal-Bench Hard (Artificial Analysis run) | 13.6% | Not measured | Only GPT-4.1 measured |
| FrontierSWE | Not measured | 17.8% | Only Qwen3.8 Max (0902) measured |
| WeirdML | 39.0% | Not measured | Only GPT-4.1 measured |
| ALE-Bench | 558.1 | Not measured | Only GPT-4.1 measured |
| LMArena Text: coding | 1390 | 1502 | Qwen3.8 Max (0902) |
| LMArena Text: software and IT | 1391 | 1498 | Qwen3.8 Max (0902) |
| LMArena WebDev: React | Not measured | 1692 | Only Qwen3.8 Max (0902) measured |
| LMArena WebDev: HTML | Not measured | 1649 | Only Qwen3.8 Max (0902) measured |
| LMArena WebDev: from an image | Not measured | 1637 | Only Qwen3.8 Max (0902) measured |
| SciCode | 4.6% | Not measured | Only GPT-4.1 measured |
| Neither model has a result on the other 13 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4.1 | Qwen3.8 Max (0902) | Leader |
|---|---|---|---|
| AA Intelligence Index | 12.7 | 45.4 | Qwen3.8 Max (0902) |
| Epoch Capabilities Index | 136.7 | 157.4 | Qwen3.8 Max (0902) |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index21 boards, none shared
| Benchmark | GPT-4.1 | Qwen3.8 Max (0902) | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 56.0 | Only Qwen3.8 Max (0902) measured |
| Design Arena: agents building web apps | Not measured | 1300 | Only Qwen3.8 Max (0902) measured |
| Design Arena: agents building full-stack apps | Not measured | 1305 | Only Qwen3.8 Max (0902) measured |
| Design Arena: agents building mobile apps | Not measured | 1224 | Only Qwen3.8 Max (0902) measured |
| Design Arena: agents building Android apps | Not measured | 1190 | Only Qwen3.8 Max (0902) measured |
| Design Arena: agents building Godot games | Not measured | 1234 | Only Qwen3.8 Max (0902) measured |
| Design Arena: PowerPoint slides | Not measured | 1232 | Only Qwen3.8 Max (0902) measured |
| Design Arena: spreadsheets | Not measured | 993 | Only Qwen3.8 Max (0902) measured |
| LiveBench research | Not measured | 69.9% | Only Qwen3.8 Max (0902) measured |
| LiveBench browser | Not measured | 32.0% | Only Qwen3.8 Max (0902) measured |
| LiveBench long agentic | Not measured | 42.3% | Only Qwen3.8 Max (0902) measured |
| Finance Agent (Vals AI) | Not measured | 50.6% | Only Qwen3.8 Max (0902) measured |
| Tax Agent Bench (Vals AI) | Not measured | 32.1% | Only Qwen3.8 Max (0902) measured |
| Legal Research Bench (Vals AI) | Not measured | 47.6% | Only Qwen3.8 Max (0902) measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 60.1% | Only Qwen3.8 Max (0902) measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 12.9% | Only Qwen3.8 Max (0902) measured |
| τ²-Bench Telecom | 47.1% | Not measured | Only GPT-4.1 measured |
| APEX-Agents | Not measured | 63.3% | Only Qwen3.8 Max (0902) measured |
| LMArena Search | Not measured | 1261 | Only Qwen3.8 Max (0902) 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 21 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index011
| Benchmark | GPT-4.1 | Qwen3.8 Max (0902) | Leader |
|---|---|---|---|
| GPQA Diamond | 65.4% | 93.7% | Qwen3.8 Max (0902) |
| LiveBench reasoning | Not measured | 88.2% | Only Qwen3.8 Max (0902) measured |
| MysteryMechanism (Vals AI) | Not measured | 23.9% | Only Qwen3.8 Max (0902) measured |
| MMMU Pro (Vals AI) | 72.4% | 88.0% | Qwen3.8 Max (0902) |
| GPQA Diamond (Artificial Analysis run) | 66.6% | 92.8% | Qwen3.8 Max (0902) |
| Humanity's Last Exam (Artificial Analysis run) | 4.2% | 43.1% | Qwen3.8 Max (0902) |
| GPQA Diamond (Epoch AI run) | 66.9% | 92.7% | Qwen3.8 Max (0902) |
| 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% | 46.0% | Qwen3.8 Max (0902) |
| Mystery game puzzles | Not measured | 38.0% | Only Qwen3.8 Max (0902) measured |
| LMArena Text: hard prompts | 1384 | 1496 | Qwen3.8 Max (0902) |
| LMArena Text: expert | 1364 | 1507 | Qwen3.8 Max (0902) |
| LMArena Text: hard prompts in English | 1393 | 1503 | Qwen3.8 Max (0902) |
| LMArena Vision: diagrams | 1215 | 1323 | Qwen3.8 Max (0902) |
| LMArena Vision: homework | 1248 | 1336 | Qwen3.8 Max (0902) |
| Kagi LLM Benchmark | 52.3% | Not measured | Only GPT-4.1 measured |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | GPT-4.1 | Qwen3.8 Max (0902) | 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% | 100.0% | Qwen3.8 Max (0902) |
| FrontierMath, tiers 1 to 3 | 6.0% | 74.7% | Qwen3.8 Max (0902) |
| FrontierMath, tier 4 | Not measured | 46.3% | Only Qwen3.8 Max (0902) measured |
| ProofBench | Not measured | 58.0% | Only Qwen3.8 Max (0902) measured |
| MATH level 5 | 83.0% | Not measured | Only GPT-4.1 measured |
| LMArena Text: math | 1369 | 1501 | Qwen3.8 Max (0902) |
| LMArena Text: mathematical work | 1360 | 1491 | Qwen3.8 Max (0902) |
| MathArena | Not measured | 51.6% | Only Qwen3.8 Max (0902) measured |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index19
| Benchmark | GPT-4.1 | Qwen3.8 Max (0902) | Leader |
|---|---|---|---|
| MMLU Pro | 80.5% | 88.6% | Qwen3.8 Max (0902) |
| LegalBench (Vals AI) | 83.1% | 83.6% | Qwen3.8 Max (0902) |
| CaseLaw (Vals AI) | 69.9% | Not measured | Only GPT-4.1 measured |
| CorpFin (Vals AI) | 63.0% | 65.8% | Qwen3.8 Max (0902) |
| TaxEval (Vals AI) | 75.1% | 75.5% | Qwen3.8 Max (0902) |
| MortgageTax (Vals AI) | 65.9% | 64.0% | GPT-4.1 |
| MedQA (Vals AI) | 91.2% | Not measured | Only GPT-4.1 measured |
| MedCode (Vals AI) | Not measured | 40.7% | Only Qwen3.8 Max (0902) measured |
| MMLU Pro (Artificial Analysis run) | 80.6% | Not measured | Only GPT-4.1 measured |
| SimpleQA Verified | 31.1% | 47.3% | Qwen3.8 Max (0902) |
| GeoBench | 72.0% | Not measured | Only GPT-4.1 measured |
| LMArena Text: science | 1382 | 1512 | Qwen3.8 Max (0902) |
| LMArena Text: medicine and healthcare | 1379 | 1503 | Qwen3.8 Max (0902) |
| LMArena Text: legal and government | 1399 | 1492 | Qwen3.8 Max (0902) |
| LMArena Text: business and finance | 1369 | 1480 | Qwen3.8 Max (0902) |
| 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 2 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | GPT-4.1 | Qwen3.8 Max (0902) | Leader |
|---|---|---|---|
| Design Arena: websites | 1038 | 1275 | Qwen3.8 Max (0902) |
| Design Arena: UI components | 998 | 1336 | Qwen3.8 Max (0902) |
| Design Arena: game dev | 1079 | 1312 | Qwen3.8 Max (0902) |
| Design Arena: data viz | 1104 | 1282 | Qwen3.8 Max (0902) |
| Design Arena: 3D | 849 | 1336 | Qwen3.8 Max (0902) |
| Design Arena: all code categories | 1025 | 1292 | Qwen3.8 Max (0902) |
| Design Arena: ASCII art | Not measured | 1200 | Only Qwen3.8 Max (0902) measured |
| LiveBench design | Not measured | 78.6% | Only Qwen3.8 Max (0902) measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index026
| Benchmark | GPT-4.1 | Qwen3.8 Max (0902) | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 78.4% | Only Qwen3.8 Max (0902) measured |
| Public Benefits Bench (Vals AI) | Not measured | 67.1% | Only Qwen3.8 Max (0902) measured |
| SAGE (Vals AI) | Not measured | 51.2% | Only Qwen3.8 Max (0902) measured |
| MedScribe (Vals AI) | Not measured | 85.0% | Only Qwen3.8 Max (0902) measured |
| Vals Multimodal Index | Not measured | 65.4% | Only Qwen3.8 Max (0902) measured |
| IFBench | 43.0% | Not measured | Only GPT-4.1 measured |
| Long context reasoning (AA-LCR) | 68.3% | 80.3% | Qwen3.8 Max (0902) |
| DTBench | 68.3% | 92.0% | Qwen3.8 Max (0902) |
| LMCA | 25.6% | 46.2% | Qwen3.8 Max (0902) |
| Fiction.LiveBench | 63.9% | Not measured | Only GPT-4.1 measured |
| Furniture assembly | Not measured | 20.0% | Only Qwen3.8 Max (0902) measured |
| LMArena Text | 1383 | 1483 | Qwen3.8 Max (0902) |
| LMArena Text: instruction following | 1367 | 1481 | Qwen3.8 Max (0902) |
| LMArena Text: creative writing | 1363 | 1477 | Qwen3.8 Max (0902) |
| LMArena Vision | 1210 | 1313 | Qwen3.8 Max (0902) |
| LMArena Text: English | 1392 | 1491 | Qwen3.8 Max (0902) |
| LMArena Text: non-English | 1370 | 1473 | Qwen3.8 Max (0902) |
| LMArena Text: Chinese | 1382 | 1539 | Qwen3.8 Max (0902) |
| LMArena Text: German | 1381 | 1478 | Qwen3.8 Max (0902) |
| LMArena Text: Japanese | 1319 | 1473 | Qwen3.8 Max (0902) |
| LMArena Text: Korean | 1338 | 1460 | Qwen3.8 Max (0902) |
| LMArena Text: French | 1382 | 1498 | Qwen3.8 Max (0902) |
| LMArena Text: Spanish | 1376 | 1489 | Qwen3.8 Max (0902) |
| LMArena Text: Russian | 1377 | 1482 | Qwen3.8 Max (0902) |
| LMArena Text: Polish | 1389 | 1471 | Qwen3.8 Max (0902) |
| LMArena Text: multi-turn | 1397 | 1489 | Qwen3.8 Max (0902) |
| LMArena Text: longer queries | 1385 | 1488 | Qwen3.8 Max (0902) |
| LMArena Text: writing and language | 1371 | 1477 | Qwen3.8 Max (0902) |
| LMArena Text: entertainment and media | 1365 | 1464 | Qwen3.8 Max (0902) |
| LMArena Vision: English | 1209 | 1311 | Qwen3.8 Max (0902) |
| LMArena Vision: Chinese | 1226 | 1358 | Qwen3.8 Max (0902) |
| LMArena Vision: reading text | 1218 | 1322 | Qwen3.8 Max (0902) |
| LMArena Vision: humor | 1196 | 1304 | Qwen3.8 Max (0902) |
| LMArena Vision: captioning | 1207 | Not measured | Only GPT-4.1 measured |
| LMArena Vision: recognizing things | 1208 | Not measured | Only GPT-4.1 measured |
| LMArena Vision: creative writing | 1210 | 1312 | Qwen3.8 Max (0902) |
| MultiChallenge | 39.4% | Not measured | Only GPT-4.1 measured |
| Neither model has a result on the other 11 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-4.1 | Qwen3.8 Max (0902) | 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.8 Max (0902) costs less
Repository review
50K input + 3K output tokens
Qwen3.8 Max (0902) costs less
Agent loop
200K input + 10K output tokens
Qwen3.8 Max (0902) 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.8 Max (0902) |
|---|---|---|
| Maker | OpenAI | Qwen |
| Weights | No public weights listed | No public weights listed |
| Released | April 14, 2025 | September 3, 2026 |
| Context window | 1.05M | 1M |
| Input $/Mtok | $2.00 | $2.00 |
| Output $/Mtok | $8.00 | $6.00 |
| Coding index | Not benchmarked | 62.4 |
| Independent measurements behind it | 0 | 5 |
| Cost per solved task | $0.37 | $1.32 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-4.1 better than Qwen3.8 Max (0902) for coding?
Only Qwen3.8 Max (0902) has a coding score, 62.4 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding. Pick GPT-4.1 for a lower cost per solved task ($0.37 against $1.32) and a larger context window (1.05M against 1M tokens).
Which is cheaper, GPT-4.1 or Qwen3.8 Max (0902)?
GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; Qwen3.8 Max (0902) costs $2.00 and $6.00. Per solved SWE-bench Verified task, GPT-4.1 costs $0.37 and Qwen3.8 Max (0902) $1.32.
Which has the bigger context window, GPT-4.1 or Qwen3.8 Max (0902)?
GPT-4.1, with 1.05M tokens against 1M.
How many benchmarks is the GPT-4.1 vs Qwen3.8 Max (0902) comparison based on?
62 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.8 Max (0902)'s on 5. Where only one model has a result, the page says so instead of naming a winner.