Qwen3.5 397B A17B vs Qwen3.8 27B
Qwen3.8 27B leads Qwen3.5 397B A17B on the Artificial Analysis Intelligence Index, 33.7 to 21.4, at about the same output price ($2.55 vs $2.34 per million). Updated October 22, 2026; 48 benchmarks have a result for both.
Qwen3.5 397B A17B or Qwen3.8 27B: which to pick
Only Qwen3.8 27B has a coding score, 74.2 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 1.1x cheaper ($2.34 vs $2.55 per million) and work measured by LMArena Text: medicine and healthcare or LMArena Text: creative writing, where it leads.
- Shared results
- 48
- Qwen3.5 397B A17B only
- 18
- Qwen3.8 27B only
- 37
- 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 27B has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
Qwen3.8 27B
Qwen3.8 27B leads, 33.7 against 21.4.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Qwen3.8 27B has a AA Agentic Index result, 45.8.
Directional only
Reasoning
GPQA Diamond
No call
Only Qwen3.8 27B has a GPQA Diamond result, 88.9%.
Directional only
Knowledge
MMLU Pro
No call
Only Qwen3.8 27B has a MMLU Pro result, 84.3%.
Directional only
Web design
Design Arena: websites
No call
Only Qwen3.5 397B A17B has a Design Arena: websites result, 1190.
Directional only
Long documents
Listed context window
Qwen3.8 27B
Qwen3.8 27B takes 1M tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Qwen3.5 397B A17B
Qwen3.5 397B A17B $0.0016, Qwen3.8 27B $0.0017 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Qwen3.8 27B has the number, $1.26.
Directional only
At a glance
- Coding index
- Qwen3.5 397B A17B not benchmarked, Qwen3.8 27B 74.2 from 4 benchmarks.
- Widest category
- Agentic work, 22.6 points apart on average over 1 shared benchmark.
- Widest single gap
- LMArena WebDev: React: Qwen3.5 397B A17B 1388 against Qwen3.8 27B 1602, 35.4 points apart on a 0 to 100 scale.
- Output price
- Qwen3.5 397B A17B $2.34 against Qwen3.8 27B $2.55 per million output tokens, 1.1x apart.
- Context window
- Qwen3.5 397B A17B takes 262K tokens, Qwen3.8 27B 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 | Qwen3.5 397B A17B | Bars | Qwen3.8 27B | Ties |
|---|---|---|---|---|
| Coding | 0 | 6 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 7 | ||
| Math | 0 | 2 | ||
| Knowledge | 1 | 3 | ||
| General | 13 | 13 | ||
| All shared boards | 14 | 34 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index06
| Benchmark | Qwen3.5 397B A17B | Qwen3.8 27B | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 86.8% | Only Qwen3.8 27B measured |
| LMArena WebDev | 1400 | 1593 | Qwen3.8 27B |
| AA Coding Index | Not measured | 68.1 | Only Qwen3.8 27B measured |
| LiveCodeBench (Vals AI) | Not measured | 84.0% | Only Qwen3.8 27B measured |
| SWE-bench Verified (Vals AI) | Not measured | 86.0% | Only Qwen3.8 27B measured |
| Vibe Code Bench (Vals AI) | Not measured | 64.8% | Only Qwen3.8 27B measured |
| Code migration (Vals AI) | Not measured | 14.2% | Only Qwen3.8 27B measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only Qwen3.8 27B measured |
| IOI (Vals AI) | Not measured | 39.1% | Only Qwen3.8 27B measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 58.4% | Only Qwen3.8 27B measured |
| SkillsBench (Vals AI) | Not measured | 38.1% | Only Qwen3.8 27B measured |
| CyberBench (Vals AI) | Not measured | 67.8% | Only Qwen3.8 27B measured |
| SciCode | 44.8% | 46.6% | Qwen3.8 27B |
| Terminal-Bench Hard (Artificial Analysis run) | 40.9% | Not measured | Only Qwen3.5 397B A17B measured |
| ALE-Bench | 621.9 | Not measured | Only Qwen3.5 397B A17B measured |
| LMArena Text: coding | 1464 | 1483 | Qwen3.8 27B |
| LMArena Text: software and IT | 1463 | 1478 | Qwen3.8 27B |
| LMArena WebDev: React | 1388 | 1602 | Qwen3.8 27B |
| LMArena WebDev: HTML | 1410 | 1570 | Qwen3.8 27B |
| LMArena WebDev: from an image | Not measured | 1577 | Only Qwen3.8 27B measured |
| Neither model has a result on the other 23 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Qwen3.5 397B A17B | Qwen3.8 27B | Leader |
|---|---|---|---|
| AA Intelligence Index | 21.4 | 33.7 | Qwen3.8 27B |
| Epoch Capabilities Index | 146.8 | 151.7 | Qwen3.8 27B |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Qwen3.5 397B A17B | Qwen3.8 27B | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 45.8 | Only Qwen3.8 27B measured |
| LiveBench research | Not measured | 59.4% | Only Qwen3.8 27B measured |
| LiveBench browser | Not measured | 32.0% | Only Qwen3.8 27B measured |
| LiveBench long agentic | Not measured | 27.9% | Only Qwen3.8 27B measured |
| Finance Agent (Vals AI) | Not measured | 48.5% | Only Qwen3.8 27B measured |
| Tax Agent Bench (Vals AI) | Not measured | 30.9% | Only Qwen3.8 27B measured |
| Legal Research Bench (Vals AI) | Not measured | 36.1% | Only Qwen3.8 27B measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 59.7% | Only Qwen3.8 27B measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 0.0% | Only Qwen3.8 27B measured |
| τ²-Bench Telecom | 95.6% | Not measured | Only Qwen3.5 397B A17B measured |
| APEX-Agents | 24.9% | 47.5% | Qwen3.8 27B |
| Neither model has a result on the other 31 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index07
| Benchmark | Qwen3.5 397B A17B | Qwen3.8 27B | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 88.9% | Only Qwen3.8 27B measured |
| LiveBench reasoning | Not measured | 80.0% | Only Qwen3.8 27B measured |
| MMMU Pro (Vals AI) | Not measured | 83.9% | Only Qwen3.8 27B measured |
| GPQA Diamond (Artificial Analysis run) | 89.3% | 90.5% | Qwen3.8 27B |
| Humanity's Last Exam (Artificial Analysis run) | 29.0% | 33.9% | Qwen3.8 27B |
| GPQA Diamond (Epoch AI run) | 86.4% | Not measured | Only Qwen3.5 397B A17B measured |
| ARC-AGI | Not measured | 87.5% | Only Qwen3.8 27B measured |
| ARC-AGI-2 | Not measured | 42.4% | Only Qwen3.8 27B measured |
| Mystery game puzzles | 18.0% | Not measured | Only Qwen3.5 397B A17B measured |
| LMArena Text: hard prompts | 1448 | 1459 | Qwen3.8 27B |
| LMArena Text: expert | 1462 | 1479 | Qwen3.8 27B |
| LMArena Text: hard prompts in English | 1450 | 1461 | Qwen3.8 27B |
| LMArena Vision: diagrams | 1277 | 1285 | Qwen3.8 27B |
| LMArena Vision: homework | 1292 | 1295 | Qwen3.8 27B |
| Neither model has a result on the other 9 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Qwen3.5 397B A17B | Qwen3.8 27B | Leader |
|---|---|---|---|
| OTIS Mock AIME | 88.9% | Not measured | Only Qwen3.5 397B A17B measured |
| FrontierMath, tiers 1 to 3 | 31.2% | Not measured | Only Qwen3.5 397B A17B measured |
| ProofBench | Not measured | 16.0% | Only Qwen3.8 27B measured |
| LMArena Text: math | 1453 | 1455 | Qwen3.8 27B |
| LMArena Text: mathematical work | 1454 | 1458 | Qwen3.8 27B |
| MathArena | 19.2% | Not measured | Only Qwen3.5 397B A17B measured |
| Neither model has a result on the other 8 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index13
| Benchmark | Qwen3.5 397B A17B | Qwen3.8 27B | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 84.3% | Only Qwen3.8 27B measured |
| LegalBench (Vals AI) | Not measured | 82.4% | Only Qwen3.8 27B measured |
| TaxEval (Vals AI) | Not measured | 70.8% | Only Qwen3.8 27B measured |
| MortgageTax (Vals AI) | Not measured | 64.9% | Only Qwen3.8 27B measured |
| MedCode (Vals AI) | Not measured | 28.7% | Only Qwen3.8 27B measured |
| LMArena Text: science | 1457 | 1467 | Qwen3.8 27B |
| LMArena Text: medicine and healthcare | 1455 | 1437 | Qwen3.5 397B A17B |
| LMArena Text: legal and government | 1441 | 1447 | Qwen3.8 27B |
| LMArena Text: business and finance | 1435 | 1438 | Qwen3.8 27B |
| Neither model has a result on the other 11 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Qwen3.5 397B A17B | Qwen3.8 27B | Leader |
|---|---|---|---|
| Design Arena: websites | 1190 | Not measured | Only Qwen3.5 397B A17B measured |
| Design Arena: UI components | 1161 | Not measured | Only Qwen3.5 397B A17B measured |
| Design Arena: game dev | 1140 | Not measured | Only Qwen3.5 397B A17B measured |
| Design Arena: data viz | 1175 | Not measured | Only Qwen3.5 397B A17B measured |
| Design Arena: 3D | 1160 | Not measured | Only Qwen3.5 397B A17B measured |
| Design Arena: all code categories | 1179 | Not measured | Only Qwen3.5 397B A17B measured |
| Design Arena: SVG | 1139 | Not measured | Only Qwen3.5 397B A17B measured |
| LiveBench design | Not measured | 75.9% | Only Qwen3.8 27B measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index1313
| Benchmark | Qwen3.5 397B A17B | Qwen3.8 27B | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 76.6% | Only Qwen3.8 27B measured |
| SAGE (Vals AI) | Not measured | 52.4% | Only Qwen3.8 27B measured |
| MedScribe (Vals AI) | Not measured | 83.8% | Only Qwen3.8 27B measured |
| IFBench | 78.8% | Not measured | Only Qwen3.5 397B A17B measured |
| Long context reasoning (AA-LCR) | 77.3% | 82.0% | Qwen3.8 27B |
| DTBench | 87.5% | 88.0% | Qwen3.8 27B |
| LMCA | 37.9% | 41.4% | Qwen3.8 27B |
| Surface Evolver Bench | Not measured | 45.0% | Only Qwen3.8 27B measured |
| LMArena Text | 1437 | 1440 | Qwen3.8 27B |
| LMArena Text: instruction following | 1424 | 1436 | Qwen3.8 27B |
| LMArena Text: creative writing | 1402 | 1383 | Qwen3.5 397B A17B |
| LMArena Vision | 1262 | 1269 | Qwen3.8 27B |
| LMArena Text: English | 1443 | 1448 | Qwen3.8 27B |
| LMArena Text: non-English | 1430 | 1428 | Qwen3.5 397B A17B |
| LMArena Text: Chinese | 1498 | 1501 | Qwen3.8 27B |
| LMArena Text: German | 1445 | 1443 | Qwen3.5 397B A17B |
| LMArena Text: Japanese | 1429 | 1387 | Qwen3.5 397B A17B |
| LMArena Text: Korean | 1384 | 1384 | Qwen3.5 397B A17B |
| LMArena Text: French | 1462 | 1465 | Qwen3.8 27B |
| LMArena Text: Spanish | 1441 | 1449 | Qwen3.8 27B |
| LMArena Text: Russian | 1430 | 1415 | Qwen3.5 397B A17B |
| LMArena Text: Polish | 1447 | 1439 | Qwen3.5 397B A17B |
| LMArena Text: multi-turn | 1446 | 1440 | Qwen3.5 397B A17B |
| LMArena Text: longer queries | 1441 | 1448 | Qwen3.8 27B |
| LMArena Text: writing and language | 1415 | 1405 | Qwen3.5 397B A17B |
| LMArena Text: entertainment and media | 1399 | 1393 | Qwen3.5 397B A17B |
| LMArena Vision: English | 1268 | 1267 | Qwen3.5 397B A17B |
| LMArena Vision: Chinese | 1314 | 1326 | Qwen3.8 27B |
| LMArena Vision: reading text | 1271 | 1281 | Qwen3.8 27B |
| LMArena Vision: humor | 1262 | 1235 | Qwen3.5 397B A17B |
| LMArena Vision: captioning | 1230 | Not measured | Only Qwen3.5 397B A17B measured |
| LMArena Vision: recognizing things | 1265 | Not measured | Only Qwen3.5 397B A17B measured |
| LMArena Vision: creative writing | 1260 | 1237 | Qwen3.5 397B A17B |
| Neither model has a result on the other 15 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Qwen3.5 397B A17B | Qwen3.8 27B | 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 | Qwen3.5 397B A17B | Qwen3.8 27B |
|---|---|---|
| Maker | Qwen | Qwen |
| Weights | Open weights | Open weights |
| Released | February 16, 2026 | August 14, 2026 |
| Context window | 262K | 1M |
| Input $/Mtok | $0.39 | $0.425 |
| Output $/Mtok | $2.34 | $2.55 |
| Coding index | Not benchmarked | 74.2 |
| Independent measurements behind it | 1 | 4 |
| Cost per solved task | Not computable | $1.26 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Qwen3.5 397B A17B better than Qwen3.8 27B for coding?
Only Qwen3.8 27B has a coding score, 74.2 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 1.1x cheaper ($2.34 vs $2.55 per million) and work measured by LMArena Text: medicine and healthcare or LMArena Text: creative writing, where it leads.
Which is cheaper, Qwen3.5 397B A17B or Qwen3.8 27B?
Qwen3.5 397B A17B costs $0.39 per million input tokens and $2.34 per million output tokens; Qwen3.8 27B costs $0.425 and $2.55. Cost per solved task is known for Qwen3.8 27B only.
Which has the bigger context window, Qwen3.5 397B A17B or Qwen3.8 27B?
Qwen3.8 27B, with 1M tokens against 262K.
How many benchmarks is the Qwen3.5 397B A17B vs Qwen3.8 27B comparison based on?
48 benchmarks have a result for both models as of October 22, 2026. Qwen3.5 397B A17B's coding index rests on 1 independent benchmark and Qwen3.8 27B's on 4. Where only one model has a result, the page says so instead of naming a winner.