Claude Opus 4.7 vs Qwen3.8 27B
Qwen3.8 27B leads Claude Opus 4.7 on coding, 72.2 to 65.8 on the Vibe Coding Index, and Qwen3.8 27B costs 9.8x less per output token ($2.55 vs $25.00 per million). Updated December 6, 2026; 75 benchmarks have a result for both.
Claude Opus 4.7 or Qwen3.8 27B: which to pick
Pick Qwen3.8 27B for coding: it scores 72.2 on the Vibe Coding Index against 65.8 for Claude Opus 4.7.
Pick Claude Opus 4.7 for work measured by LiveCodeBench (Vals AI) or Code migration (Vals AI), where it leads.
- Shared results
- 75
- Claude Opus 4.7 only
- 33
- Qwen3.8 27B only
- 21
- 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
Qwen3.8 27B
Qwen3.8 27B scores 72.2 against 65.8.
3 benchmarks behind each score
Intelligence
AA Intelligence Index
No call
Only Qwen3.8 27B has a AA Intelligence Index result, 20.0.
Directional only
Reasoning
GPQA Diamond
Claude Opus 4.7
Claude Opus 4.7 leads, 90.2% against 88.9%.
Same board, both measured
Math
AIME
No call
Only Claude Opus 4.7 has a AIME result, 96.3%.
Directional only
Knowledge
MMLU Pro
Claude Opus 4.7
Claude Opus 4.7 leads, 89.9% against 84.3%.
Same board, both measured
Long documents
Listed context window
Qwen3.8 27B
Qwen3.8 27B takes 1.02M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Qwen3.8 27B
Claude Opus 4.7 $0.018, Qwen3.8 27B $0.0017 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Qwen3.8 27B
Claude Opus 4.7 $2.95, Qwen3.8 27B $1.26.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Opus 4.7 65.8 from 3 benchmarks, Qwen3.8 27B 72.2 from 3 benchmarks.
- Widest category
- Math, 15.5 points apart on average over 4 shared benchmarks.
- Widest single gap
- SimpleQA Verified: Claude Opus 4.7 51.7% against Qwen3.8 27B 9.7%, 42.0 points apart on a 0 to 100 scale.
- Output price
- Claude Opus 4.7 $25.00 against Qwen3.8 27B $2.55 per million output tokens, 9.8x apart.
- Context window
- Claude Opus 4.7 takes 1M tokens, Qwen3.8 27B 1.02M.
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 | Claude Opus 4.7 | Bars | Qwen3.8 27B | Ties |
|---|---|---|---|---|
| Coding | 6 | 4 | 1 tie | |
| Intelligence | 1 | 0 | ||
| Agentic work | 4 | 1 | ||
| Reasoning | 15 | 0 | ||
| Math | 4 | 0 | ||
| Knowledge | 10 | 0 | ||
| General | 26 | 3 | ||
| All shared boards | 66 | 8 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index64
| Benchmark | Claude Opus 4.7 | Qwen3.8 27B | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 69.3% | Only Qwen3.8 27B measured |
| LMArena WebDev | 1557 | 1590 | Qwen3.8 27B |
| LiveCodeBench (Vals AI) | 85.1% | 84.0% | Claude Opus 4.7 |
| SWE-bench Verified (Vals AI) | 82.0% | 86.0% | Qwen3.8 27B |
| Code migration (Vals AI) | 43.9% | 14.2% | Claude Opus 4.7 |
| ProgramBench (Vals AI) | 0.0% | 0.0% | Tie |
| IOI (Vals AI) | Not measured | 39.1% | Only Qwen3.8 27B measured |
| Terminal-Bench 2.1 (Vals AI) | 68.5% | 58.4% | Claude Opus 4.7 |
| 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 | Not measured | 46.6% | Only Qwen3.8 27B measured |
| Terminal-Bench Hard (Artificial Analysis run) | 54.5% | Not measured | Only Claude Opus 4.7 measured |
| Terminal-Bench 4.0 (Artificial Analysis run) | Not measured | 5.6% | Only Qwen3.8 27B measured |
| FrontierCode 2.0 | Not measured | 14.9% | Only Qwen3.8 27B measured |
| Terminal-Bench | 80.2% | Not measured | Only Claude Opus 4.7 measured |
| FrontierCode | 38.5% | Not measured | Only Claude Opus 4.7 measured |
| GSO-Bench | 44.1% | Not measured | Only Claude Opus 4.7 measured |
| WeirdML | 76.4% | Not measured | Only Claude Opus 4.7 measured |
| MirrorCode | 43.3% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: coding | 1519 | 1481 | Claude Opus 4.7 |
| LMArena Text: software and IT | 1516 | 1474 | Claude Opus 4.7 |
| LMArena WebDev: React | 1559 | 1595 | Qwen3.8 27B |
| LMArena WebDev: HTML | 1552 | 1572 | Qwen3.8 27B |
| LMArena WebDev: from an image | 1579 | 1574 | Claude Opus 4.7 |
| SWE Atlas: Codebase QnA | 40.3% | Not measured | Only Claude Opus 4.7 measured |
| SWE Atlas: Refactoring | 48.6% | Not measured | Only Claude Opus 4.7 measured |
| SWE Atlas: Test Writing | 38.5% | Not measured | Only Claude Opus 4.7 measured |
| GameBench 2 | Not measured | 43.5 | Only Qwen3.8 27B measured |
| Terminal-Bench 2.0 | 80.2% | Not measured | Only Claude Opus 4.7 measured |
| Terminal-Bench 2.1 | 68.9% | Not measured | Only Claude Opus 4.7 measured |
| ProgramBench | 0.0% | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 21 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Claude Opus 4.7 | Qwen3.8 27B | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 20.0 | Only Qwen3.8 27B measured |
| Epoch Capabilities Index | 157.3 | 152.6 | Claude Opus 4.7 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index41
| Benchmark | Claude Opus 4.7 | Qwen3.8 27B | Leader |
|---|---|---|---|
| LiveBench research | Not measured | 61.3% | Only Qwen3.8 27B measured |
| LiveBench browser | Not measured | 24.2% | Only Qwen3.8 27B measured |
| LiveBench long agentic | Not measured | 15.9% | Only Qwen3.8 27B measured |
| Finance Agent (Vals AI) | 51.5% | 48.5% | Claude Opus 4.7 |
| Tax Agent Bench (Vals AI) | 23.7% | 30.9% | Qwen3.8 27B |
| Legal Research Bench (Vals AI) | 38.5% | 36.1% | Claude Opus 4.7 |
| Excel Modeling Benchmark (Vals AI) | 63.7% | 59.7% | Claude Opus 4.7 |
| Terminal-Bench-Science (Vals AI) | Not measured | 0.0% | Only Qwen3.8 27B measured |
| τ²-Bench Telecom | 88.6% | Not measured | Only Claude Opus 4.7 measured |
| APEX-Agents | 49.2% | 47.5% | Claude Opus 4.7 |
| OSWorld 2.0 | 18.2% | Not measured | Only Claude Opus 4.7 measured |
| PostTrainBench | 24.3% | Not measured | Only Claude Opus 4.7 measured |
| Vending-Bench 2 | $10,937 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Search | 1230 | Not measured | Only Claude Opus 4.7 measured |
| MCP Atlas | 79.1% | Not measured | Only Claude Opus 4.7 measured |
| τ³-Banking | 40.2% | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 28 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index150
| Benchmark | Claude Opus 4.7 | Qwen3.8 27B | Leader |
|---|---|---|---|
| GPQA Diamond | 90.2% | 88.9% | Claude Opus 4.7 |
| LiveBench reasoning | Not measured | 80.0% | Only Qwen3.8 27B measured |
| MMMU Pro (Vals AI) | 85.5% | 83.9% | Claude Opus 4.7 |
| GPQA Diamond (Artificial Analysis run) | 91.4% | 90.5% | Claude Opus 4.7 |
| Humanity's Last Exam (Artificial Analysis run) | 42.3% | 33.9% | Claude Opus 4.7 |
| HLE-Diamond (Artificial Analysis run) | Not measured | 15.3% | Only Qwen3.8 27B measured |
| CritPt v2, hard subset (Artificial Analysis run) | Not measured | 16.5% | Only Qwen3.8 27B measured |
| GPQA Diamond (Epoch AI run) | 90.2% | 89.2% | Claude Opus 4.7 |
| ARC-AGI | 93.5% | 87.5% | Claude Opus 4.7 |
| ARC-AGI-2 | 75.8% | 42.4% | Claude Opus 4.7 |
| SimpleBench | 61.7% | 60.2% | Claude Opus 4.7 |
| Chess puzzles | 41.0% | 18.0% | Claude Opus 4.7 |
| Mystery game puzzles | 28.0% | 17.0% | Claude Opus 4.7 |
| EBR-bench | 19.0% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: hard prompts | 1506 | 1458 | Claude Opus 4.7 |
| LMArena Text: expert | 1520 | 1478 | Claude Opus 4.7 |
| LMArena Text: hard prompts in English | 1508 | 1464 | Claude Opus 4.7 |
| LMArena Vision: diagrams | 1337 | 1282 | Claude Opus 4.7 |
| LMArena Vision: homework | 1338 | 1290 | Claude Opus 4.7 |
| Kagi LLM Benchmark | 80.7% | Not measured | Only Claude Opus 4.7 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 | Claude Opus 4.7 | Qwen3.8 27B | Leader |
|---|---|---|---|
| AIME | 96.3% | Not measured | Only Claude Opus 4.7 measured |
| OTIS Mock AIME | 97.8% | 88.3% | Claude Opus 4.7 |
| FrontierMath, tiers 1 to 3 | 70.2% | Not measured | Only Claude Opus 4.7 measured |
| FrontierMath, tier 4 | 31.7% | Not measured | Only Claude Opus 4.7 measured |
| ProofBench | 54.0% | 16.0% | Claude Opus 4.7 |
| LMArena Text: math | 1499 | 1458 | Claude Opus 4.7 |
| LMArena Text: mathematical work | 1508 | 1461 | Claude Opus 4.7 |
| MathArena | 18.7% | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index100
| Benchmark | Claude Opus 4.7 | Qwen3.8 27B | Leader |
|---|---|---|---|
| MMLU Pro | 89.9% | 84.3% | Claude Opus 4.7 |
| LegalBench (Vals AI) | 85.3% | 82.4% | Claude Opus 4.7 |
| CaseLaw (Vals AI) | 68.4% | Not measured | Only Claude Opus 4.7 measured |
| CorpFin (Vals AI) | 66.1% | Not measured | Only Claude Opus 4.7 measured |
| TaxEval (Vals AI) | 75.3% | 70.8% | Claude Opus 4.7 |
| MortgageTax (Vals AI) | 70.3% | 64.9% | Claude Opus 4.7 |
| MedCode (Vals AI) | 54.9% | 28.7% | Claude Opus 4.7 |
| AA-Omniscience | Not measured | -6.4 | Only Qwen3.8 27B measured |
| SimpleQA Verified | 51.7% | 9.7% | Claude Opus 4.7 |
| GeoBench | Not measured | 38.0% | Only Qwen3.8 27B measured |
| LMArena Text: science | 1508 | 1465 | Claude Opus 4.7 |
| LMArena Text: medicine and healthcare | 1495 | 1439 | Claude Opus 4.7 |
| LMArena Text: legal and government | 1505 | 1447 | Claude Opus 4.7 |
| LMArena Text: business and finance | 1491 | 1441 | Claude Opus 4.7 |
| Neither model has a result on the other 7 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | Claude Opus 4.7 | Qwen3.8 27B | Leader |
|---|---|---|---|
| LiveBench design | Not measured | 72.4% | Only Qwen3.8 27B measured |
| Neither model has a result on the other 8 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index263
| Benchmark | Claude Opus 4.7 | Qwen3.8 27B | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 76.6% | Only Qwen3.8 27B measured |
| MedScribe (Vals AI) | 83.0% | 83.8% | Qwen3.8 27B |
| Vals Multimodal Index | 67.4% | Not measured | Only Claude Opus 4.7 measured |
| IFBench | 58.6% | Not measured | Only Claude Opus 4.7 measured |
| Long context reasoning (AA-LCR) | 78.7% | 82.0% | Qwen3.8 27B |
| GDPval-AA | 1364 | 1430 | Qwen3.8 27B |
| DTBench | 94.7% | 88.0% | Claude Opus 4.7 |
| LMCA | 52.2% | 41.4% | Claude Opus 4.7 |
| Surface Evolver Bench | Not measured | 45.0% | Only Qwen3.8 27B measured |
| Furniture assembly | 33.3% | 15.0% | Claude Opus 4.7 |
| ExploitBench | 26.5% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text | 1490 | 1438 | Claude Opus 4.7 |
| LMArena Text: instruction following | 1498 | 1434 | Claude Opus 4.7 |
| LMArena Text: creative writing | 1487 | 1379 | Claude Opus 4.7 |
| LMArena Vision | 1318 | 1274 | Claude Opus 4.7 |
| LMArena Text: English | 1496 | 1448 | Claude Opus 4.7 |
| LMArena Text: non-English | 1481 | 1425 | Claude Opus 4.7 |
| LMArena Text: Chinese | 1533 | 1491 | Claude Opus 4.7 |
| LMArena Text: German | 1496 | 1439 | Claude Opus 4.7 |
| LMArena Text: Japanese | 1474 | 1389 | Claude Opus 4.7 |
| LMArena Text: Korean | 1467 | 1400 | Claude Opus 4.7 |
| LMArena Text: French | 1503 | 1465 | Claude Opus 4.7 |
| LMArena Text: Spanish | 1495 | 1445 | Claude Opus 4.7 |
| LMArena Text: Russian | 1495 | 1411 | Claude Opus 4.7 |
| LMArena Text: Polish | 1491 | 1448 | Claude Opus 4.7 |
| LMArena Text: multi-turn | 1506 | 1439 | Claude Opus 4.7 |
| LMArena Text: longer queries | 1506 | 1446 | Claude Opus 4.7 |
| LMArena Text: writing and language | 1493 | 1401 | Claude Opus 4.7 |
| LMArena Text: entertainment and media | 1475 | 1390 | Claude Opus 4.7 |
| LMArena Vision: English | 1322 | 1277 | Claude Opus 4.7 |
| LMArena Vision: Chinese | 1371 | 1326 | Claude Opus 4.7 |
| LMArena Vision: reading text | 1328 | 1282 | Claude Opus 4.7 |
| LMArena Vision: humor | 1314 | 1238 | Claude Opus 4.7 |
| LMArena Vision: recognizing things | 1277 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: creative writing | 1327 | 1240 | Claude Opus 4.7 |
| LMArena Document | 1495 | Not measured | Only Claude Opus 4.7 measured |
| EQ-Bench 4 | 1293 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 12 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Opus 4.7 | 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.8 27B costs less
Repository review
50K input + 3K output tokens
Qwen3.8 27B costs less
Agent loop
200K input + 10K output tokens
Qwen3.8 27B 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 | Anthropic Claude Opus 4.7 | Qwen3.8 27B |
|---|---|---|
| Maker | Anthropic | Qwen |
| Weights | No public weights listed | Open weights |
| Released | April 16, 2026 | August 14, 2026 |
| Context window | 1M | 1.02M |
| Input $/Mtok | $5.00 | $0.425 |
| Output $/Mtok | $25.00 | $2.55 |
| Coding index | 65.8 | 72.2 |
| Independent measurements behind it | 3 | 3 |
| Cost per solved task | $2.95 | $1.26 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.7 better than Qwen3.8 27B for coding?
Pick Qwen3.8 27B for coding: it scores 72.2 on the Vibe Coding Index against 65.8 for Claude Opus 4.7. Pick Claude Opus 4.7 for work measured by LiveCodeBench (Vals AI) or Code migration (Vals AI), where it leads.
Which is cheaper, Claude Opus 4.7 or Qwen3.8 27B?
Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; Qwen3.8 27B costs $0.425 and $2.55. Per solved SWE-bench Verified task, Claude Opus 4.7 costs $2.95 and Qwen3.8 27B $1.26.
Which has the bigger context window, Claude Opus 4.7 or Qwen3.8 27B?
Qwen3.8 27B, with 1.02M tokens against 1M.
How many benchmarks is the Claude Opus 4.7 vs Qwen3.8 27B comparison based on?
75 benchmarks have a result for both models as of December 6, 2026. Claude Opus 4.7's coding index rests on 3 independent benchmarks and Qwen3.8 27B's on 3. Where only one model has a result, the page says so instead of naming a winner.