GPT-5.4 vs Qwen3.5 397B A17B
GPT-5.4 leads Qwen3.5 397B A17B on the Artificial Analysis Intelligence Index, 39.0 to 21.4, and Qwen3.5 397B A17B costs 6.4x less per output token ($2.34 vs $15.00 per million). Updated October 22, 2026; 63 benchmarks have a result for both.
GPT-5.4 or Qwen3.5 397B A17B: which to pick
Only GPT-5.4 has a coding score, 64.4 on the Vibe Coding Index; Qwen3.5 397B A17B has none, so the two cannot be ranked on coding.
Pick Qwen3.5 397B A17B for output tokens 6.4x cheaper ($2.34 vs $15.00 per million) and work measured by τ²-Bench Telecom or Design Arena: 3D, where it leads.
- Shared results
- 63
- GPT-5.4 only
- 47
- Qwen3.5 397B A17B only
- 2
- 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
Only GPT-5.4 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
GPT-5.4
GPT-5.4 leads, 39.0 against 21.4.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only GPT-5.4 has a GPQA Diamond result, 91.7%.
Directional only
Math
AIME
No call
Only GPT-5.4 has a AIME result, 96.7%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-5.4 has a MMLU Pro result, 87.5%.
Directional only
Web design
Design Arena: websites
GPT-5.4
GPT-5.4 leads, 1198 against 1190.
Same board, both measured
Long documents
Listed context window
GPT-5.4
GPT-5.4 takes 1.05M tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Qwen3.5 397B A17B
GPT-5.4 $0.010, Qwen3.5 397B A17B $0.0016 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-5.4 has the number, $1.02.
Directional only
At a glance
- Coding index
- GPT-5.4 64.4 from 3 benchmarks, Qwen3.5 397B A17B not benchmarked.
- Widest category
- Agentic work, 18.0 points apart on average over 2 shared benchmarks.
- Widest single gap
- FrontierMath, tiers 1 to 3: GPT-5.4 78.6% against Qwen3.5 397B A17B 31.2%, 47.4 points apart on a 0 to 100 scale.
- Output price
- GPT-5.4 $15.00 against Qwen3.5 397B A17B $2.34 per million output tokens, 6.4x apart.
- Context window
- GPT-5.4 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-5.4 | Bars | Qwen3.5 397B A17B | Ties |
|---|---|---|---|---|
| Coding | 7 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 1 | ||
| Reasoning | 9 | 0 | ||
| Math | 4 | 0 | ||
| Knowledge | 4 | 0 | ||
| Web design | 5 | 1 | 1 tie | |
| General | 26 | 2 | ||
| All shared boards | 58 | 4 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index70
| Benchmark | GPT-5.4 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| LMArena WebDev | 1464 | 1400 | GPT-5.4 |
| AA Coding Index | 71.1 | Not measured | Only GPT-5.4 measured |
| LiveCodeBench (Vals AI) | 84.1% | Not measured | Only GPT-5.4 measured |
| SWE-bench Verified (Vals AI) | 78.2% | Not measured | Only GPT-5.4 measured |
| Vibe Code Bench (Vals AI) | 67.4% | Not measured | Only GPT-5.4 measured |
| Code migration (Vals AI) | 35.0% | Not measured | Only GPT-5.4 measured |
| ProgramBench (Vals AI) | 0.5% | Not measured | Only GPT-5.4 measured |
| SkillsBench (Vals AI) | 51.7% | Not measured | Only GPT-5.4 measured |
| SciCode | Not measured | 44.8% | Only Qwen3.5 397B A17B measured |
| Terminal-Bench Hard (Artificial Analysis run) | 57.6% | 40.9% | GPT-5.4 |
| Terminal-Bench | 81.8% | Not measured | Only GPT-5.4 measured |
| GSO-Bench | 31.4% | Not measured | Only GPT-5.4 measured |
| WeirdML | 77.7% | Not measured | Only GPT-5.4 measured |
| MirrorCode | 15.6% | Not measured | Only GPT-5.4 measured |
| ALE-Bench | 1607.0 | 621.9 | GPT-5.4 |
| LMArena Text: coding | 1496 | 1464 | GPT-5.4 |
| LMArena Text: software and IT | 1491 | 1463 | GPT-5.4 |
| LMArena WebDev: React | 1454 | 1388 | GPT-5.4 |
| LMArena WebDev: HTML | 1478 | 1410 | GPT-5.4 |
| LMArena WebDev: from an image | 1436 | Not measured | Only GPT-5.4 measured |
| Neither model has a result on the other 19 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5.4 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| AA Intelligence Index | 39.0 | 21.4 | GPT-5.4 |
| Epoch Capabilities Index | 157.3 | 146.8 | GPT-5.4 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | GPT-5.4 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1059 | Not measured | Only GPT-5.4 measured |
| Design Arena: agents building full-stack apps | 1017 | Not measured | Only GPT-5.4 measured |
| Design Arena: agents building mobile apps | 1087 | Not measured | Only GPT-5.4 measured |
| Design Arena: agents building Android apps | 1031 | Not measured | Only GPT-5.4 measured |
| Design Arena: agents building Godot games | 1135 | Not measured | Only GPT-5.4 measured |
| τ²-Bench Telecom | 87.1% | 95.6% | Qwen3.5 397B A17B |
| APEX-Agents | 52.4% | 24.9% | GPT-5.4 |
| METR time horizons | 74.3% | Not measured | Only GPT-5.4 measured |
| DeepResearch Bench | 35.1% | Not measured | Only GPT-5.4 measured |
| PostTrainBench | 19.0% | Not measured | Only GPT-5.4 measured |
| Vending-Bench 2 | $6,144 | Not measured | Only GPT-5.4 measured |
| Neither model has a result on the other 30 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index90
| Benchmark | GPT-5.4 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| GPQA Diamond | 91.7% | Not measured | Only GPT-5.4 measured |
| MMMU Pro (Vals AI) | 87.5% | Not measured | Only GPT-5.4 measured |
| GPQA Diamond (Artificial Analysis run) | 92.0% | 89.3% | GPT-5.4 |
| Humanity's Last Exam (Artificial Analysis run) | 43.7% | 29.0% | GPT-5.4 |
| GPQA Diamond (Epoch AI run) | 93.3% | 86.4% | GPT-5.4 |
| ARC-AGI | 93.7% | Not measured | Only GPT-5.4 measured |
| ARC-AGI-2 | 74.0% | Not measured | Only GPT-5.4 measured |
| Chess puzzles | 48.0% | Not measured | Only GPT-5.4 measured |
| Mystery game puzzles | 37.0% | 18.0% | GPT-5.4 |
| EBR-bench | 25.4% | Not measured | Only GPT-5.4 measured |
| LMArena Text: hard prompts | 1485 | 1448 | GPT-5.4 |
| LMArena Text: expert | 1507 | 1462 | GPT-5.4 |
| LMArena Text: hard prompts in English | 1479 | 1450 | GPT-5.4 |
| LMArena Vision: diagrams | 1327 | 1277 | GPT-5.4 |
| LMArena Vision: homework | 1336 | 1292 | GPT-5.4 |
| Kagi LLM Benchmark | 63.8% | Not measured | Only GPT-5.4 measured |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | GPT-5.4 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| AIME | 96.7% | Not measured | Only GPT-5.4 measured |
| OTIS Mock AIME | 97.8% | 88.9% | GPT-5.4 |
| FrontierMath, tiers 1 to 3 | 78.6% | 31.2% | GPT-5.4 |
| FrontierMath, tier 4 | 49.0% | Not measured | Only GPT-5.4 measured |
| ProofBench | 56.0% | Not measured | Only GPT-5.4 measured |
| LMArena Text: math | 1488 | 1453 | GPT-5.4 |
| LMArena Text: mathematical work | 1497 | 1454 | GPT-5.4 |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | GPT-5.4 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| MMLU Pro | 87.5% | Not measured | Only GPT-5.4 measured |
| LegalBench (Vals AI) | 86.0% | Not measured | Only GPT-5.4 measured |
| CaseLaw (Vals AI) | 63.8% | Not measured | Only GPT-5.4 measured |
| CorpFin (Vals AI) | 65.3% | Not measured | Only GPT-5.4 measured |
| TaxEval (Vals AI) | 74.0% | Not measured | Only GPT-5.4 measured |
| MortgageTax (Vals AI) | 68.3% | Not measured | Only GPT-5.4 measured |
| MedQA (Vals AI) | 96.1% | Not measured | Only GPT-5.4 measured |
| MedCode (Vals AI) | 41.3% | Not measured | Only GPT-5.4 measured |
| SimpleQA Verified | 45.1% | Not measured | Only GPT-5.4 measured |
| LMArena Text: science | 1479 | 1457 | GPT-5.4 |
| LMArena Text: medicine and healthcare | 1458 | 1455 | GPT-5.4 |
| LMArena Text: legal and government | 1486 | 1441 | GPT-5.4 |
| LMArena Text: business and finance | 1474 | 1435 | GPT-5.4 |
| Neither model has a result on the other 5 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index51
| Benchmark | GPT-5.4 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| Design Arena: websites | 1198 | 1190 | GPT-5.4 |
| Design Arena: UI components | 1212 | 1160 | GPT-5.4 |
| Design Arena: game dev | 1194 | 1140 | GPT-5.4 |
| Design Arena: data viz | 1196 | 1175 | GPT-5.4 |
| Design Arena: 3D | 1065 | 1160 | Qwen3.5 397B A17B |
| Design Arena: all code categories | 1179 | 1179 | Tie |
| Design Arena: SVG | 1141 | 1139 | GPT-5.4 |
| Design Arena: ASCII art | 1188 | Not measured | Only GPT-5.4 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index262
| Benchmark | GPT-5.4 | Qwen3.5 397B A17B | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 43.3% | Not measured | Only GPT-5.4 measured |
| MedScribe (Vals AI) | 77.5% | Not measured | Only GPT-5.4 measured |
| IFBench | 73.9% | 78.8% | Qwen3.5 397B A17B |
| Long context reasoning (AA-LCR) | 82.0% | 77.3% | GPT-5.4 |
| DTBench | 94.4% | 87.5% | GPT-5.4 |
| LMCA | 52.0% | 37.9% | GPT-5.4 |
| CL-bench | 27.9% | Not measured | Only GPT-5.4 measured |
| Furniture assembly | 37.5% | Not measured | Only GPT-5.4 measured |
| CL-bench Life | 21.7% | Not measured | Only GPT-5.4 measured |
| LMArena Text | 1469 | 1437 | GPT-5.4 |
| LMArena Text: instruction following | 1469 | 1424 | GPT-5.4 |
| LMArena Text: creative writing | 1439 | 1402 | GPT-5.4 |
| LMArena Vision | 1303 | 1262 | GPT-5.4 |
| LMArena Text: English | 1467 | 1443 | GPT-5.4 |
| LMArena Text: non-English | 1465 | 1430 | GPT-5.4 |
| LMArena Text: Chinese | 1520 | 1498 | GPT-5.4 |
| LMArena Text: German | 1472 | 1445 | GPT-5.4 |
| LMArena Text: Japanese | 1485 | 1429 | GPT-5.4 |
| LMArena Text: Korean | 1449 | 1384 | GPT-5.4 |
| LMArena Text: French | 1493 | 1462 | GPT-5.4 |
| LMArena Text: Spanish | 1452 | 1441 | GPT-5.4 |
| LMArena Text: Russian | 1480 | 1430 | GPT-5.4 |
| LMArena Text: Polish | 1472 | 1447 | GPT-5.4 |
| LMArena Text: multi-turn | 1482 | 1446 | GPT-5.4 |
| LMArena Text: longer queries | 1473 | 1441 | GPT-5.4 |
| LMArena Text: writing and language | 1458 | 1415 | GPT-5.4 |
| LMArena Text: entertainment and media | 1438 | 1399 | GPT-5.4 |
| LMArena Vision: English | 1301 | 1268 | GPT-5.4 |
| LMArena Vision: Chinese | 1354 | 1314 | GPT-5.4 |
| LMArena Vision: reading text | 1312 | 1271 | GPT-5.4 |
| LMArena Vision: humor | 1284 | 1262 | GPT-5.4 |
| LMArena Vision: captioning | Not measured | 1230 | Only Qwen3.5 397B A17B measured |
| LMArena Vision: recognizing things | 1251 | 1265 | Qwen3.5 397B A17B |
| LMArena Vision: creative writing | 1283 | 1260 | GPT-5.4 |
| LMArena Document | 1471 | Not measured | Only GPT-5.4 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-5.4 | 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-5.4 | Qwen3.5 397B A17B |
|---|---|---|
| Maker | OpenAI | Qwen |
| Weights | No public weights listed | Open weights |
| Released | March 5, 2026 | February 16, 2026 |
| Context window | 1.05M | 262K |
| Input $/Mtok | $2.50 | $0.39 |
| Output $/Mtok | $15.00 | $2.34 |
| Coding index | 64.4 | Not benchmarked |
| Independent measurements behind it | 3 | 1 |
| Cost per solved task | $1.02 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.4 better than Qwen3.5 397B A17B for coding?
Only GPT-5.4 has a coding score, 64.4 on the Vibe Coding Index; Qwen3.5 397B A17B has none, so the two cannot be ranked on coding. Pick Qwen3.5 397B A17B for output tokens 6.4x cheaper ($2.34 vs $15.00 per million) and work measured by τ²-Bench Telecom or Design Arena: 3D, where it leads.
Which is cheaper, GPT-5.4 or Qwen3.5 397B A17B?
GPT-5.4 costs $2.50 per million input tokens and $15.00 per million output tokens; Qwen3.5 397B A17B costs $0.39 and $2.34. Cost per solved task is known for GPT-5.4 only.
Which has the bigger context window, GPT-5.4 or Qwen3.5 397B A17B?
GPT-5.4, with 1.05M tokens against 262K.
How many benchmarks is the GPT-5.4 vs Qwen3.5 397B A17B comparison based on?
63 benchmarks have a result for both models as of October 22, 2026. GPT-5.4's coding index rests on 3 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.