Enter opens the highlighted result. Esc closes.

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.7Anthropic
Coding
65.8
Overall
74.0
Output $/M
$25.00
66
Qwen3.8 27BQwen
Coding
72.2
Overall
55.0
Output $/M
$2.55
8
vs boards won of 75 shared, 1 tied

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.

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.

Boards won, where both have a result
CategoryClaude Opus 4.7BarsQwen3.8 27BTies
Coding641 tie
Intelligence10
Agentic work41
Reasoning150
Math40
Knowledge100
General263
All shared boards6681 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index64
Coding benchmarks for Claude Opus 4.7 and Qwen3.8 27B
BenchmarkClaude Opus 4.7Qwen3.8 27BLeader
LiveBench codingNot measured69.3%Only Qwen3.8 27B measured
LMArena WebDev15571590Qwen3.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 measured39.1%Only Qwen3.8 27B measured
Terminal-Bench 2.1 (Vals AI)68.5%58.4%Claude Opus 4.7
SkillsBench (Vals AI)Not measured38.1%Only Qwen3.8 27B measured
CyberBench (Vals AI)Not measured67.8%Only Qwen3.8 27B measured
SciCodeNot measured46.6%Only Qwen3.8 27B measured
Terminal-Bench Hard (Artificial Analysis run)54.5%Not measuredOnly Claude Opus 4.7 measured
Terminal-Bench 4.0 (Artificial Analysis run)Not measured5.6%Only Qwen3.8 27B measured
FrontierCode 2.0Not measured14.9%Only Qwen3.8 27B measured
Terminal-Bench80.2%Not measuredOnly Claude Opus 4.7 measured
FrontierCode38.5%Not measuredOnly Claude Opus 4.7 measured
GSO-Bench44.1%Not measuredOnly Claude Opus 4.7 measured
WeirdML76.4%Not measuredOnly Claude Opus 4.7 measured
MirrorCode43.3%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: coding15191481Claude Opus 4.7
LMArena Text: software and IT15161474Claude Opus 4.7
LMArena WebDev: React15591595Qwen3.8 27B
LMArena WebDev: HTML15521572Qwen3.8 27B
LMArena WebDev: from an image15791574Claude Opus 4.7
SWE Atlas: Codebase QnA40.3%Not measuredOnly Claude Opus 4.7 measured
SWE Atlas: Refactoring48.6%Not measuredOnly Claude Opus 4.7 measured
SWE Atlas: Test Writing38.5%Not measuredOnly Claude Opus 4.7 measured
GameBench 2Not measured43.5Only Qwen3.8 27B measured
Terminal-Bench 2.080.2%Not measuredOnly Claude Opus 4.7 measured
Terminal-Bench 2.168.9%Not measuredOnly Claude Opus 4.7 measured
ProgramBench0.0%Not measuredOnly 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
Intelligence benchmarks for Claude Opus 4.7 and Qwen3.8 27B
BenchmarkClaude Opus 4.7Qwen3.8 27BLeader
AA Intelligence IndexNot measured20.0Only Qwen3.8 27B measured
Epoch Capabilities Index157.3152.6Claude Opus 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index41
Agentic work benchmarks for Claude Opus 4.7 and Qwen3.8 27B
BenchmarkClaude Opus 4.7Qwen3.8 27BLeader
LiveBench researchNot measured61.3%Only Qwen3.8 27B measured
LiveBench browserNot measured24.2%Only Qwen3.8 27B measured
LiveBench long agenticNot measured15.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 measured0.0%Only Qwen3.8 27B measured
τ²-Bench Telecom88.6%Not measuredOnly Claude Opus 4.7 measured
APEX-Agents49.2%47.5%Claude Opus 4.7
OSWorld 2.018.2%Not measuredOnly Claude Opus 4.7 measured
PostTrainBench24.3%Not measuredOnly Claude Opus 4.7 measured
Vending-Bench 2$10,937Not measuredOnly Claude Opus 4.7 measured
LMArena Search1230Not measuredOnly Claude Opus 4.7 measured
MCP Atlas79.1%Not measuredOnly Claude Opus 4.7 measured
τ³-Banking40.2%Not measuredOnly 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
Reasoning benchmarks for Claude Opus 4.7 and Qwen3.8 27B
BenchmarkClaude Opus 4.7Qwen3.8 27BLeader
GPQA Diamond90.2%88.9%Claude Opus 4.7
LiveBench reasoningNot measured80.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 measured15.3%Only Qwen3.8 27B measured
CritPt v2, hard subset (Artificial Analysis run)Not measured16.5%Only Qwen3.8 27B measured
GPQA Diamond (Epoch AI run)90.2%89.2%Claude Opus 4.7
ARC-AGI93.5%87.5%Claude Opus 4.7
ARC-AGI-275.8%42.4%Claude Opus 4.7
SimpleBench61.7%60.2%Claude Opus 4.7
Chess puzzles41.0%18.0%Claude Opus 4.7
Mystery game puzzles28.0%17.0%Claude Opus 4.7
EBR-bench19.0%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: hard prompts15061458Claude Opus 4.7
LMArena Text: expert15201478Claude Opus 4.7
LMArena Text: hard prompts in English15081464Claude Opus 4.7
LMArena Vision: diagrams13371282Claude Opus 4.7
LMArena Vision: homework13381290Claude Opus 4.7
Kagi LLM Benchmark80.7%Not measuredOnly 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
Math benchmarks for Claude Opus 4.7 and Qwen3.8 27B
BenchmarkClaude Opus 4.7Qwen3.8 27BLeader
AIME96.3%Not measuredOnly Claude Opus 4.7 measured
OTIS Mock AIME97.8%88.3%Claude Opus 4.7
FrontierMath, tiers 1 to 370.2%Not measuredOnly Claude Opus 4.7 measured
FrontierMath, tier 431.7%Not measuredOnly Claude Opus 4.7 measured
ProofBench54.0%16.0%Claude Opus 4.7
LMArena Text: math14991458Claude Opus 4.7
LMArena Text: mathematical work15081461Claude Opus 4.7
MathArena18.7%Not measuredOnly 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
Knowledge benchmarks for Claude Opus 4.7 and Qwen3.8 27B
BenchmarkClaude Opus 4.7Qwen3.8 27BLeader
MMLU Pro89.9%84.3%Claude Opus 4.7
LegalBench (Vals AI)85.3%82.4%Claude Opus 4.7
CaseLaw (Vals AI)68.4%Not measuredOnly Claude Opus 4.7 measured
CorpFin (Vals AI)66.1%Not measuredOnly 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-OmniscienceNot measured-6.4Only Qwen3.8 27B measured
SimpleQA Verified51.7%9.7%Claude Opus 4.7
GeoBenchNot measured38.0%Only Qwen3.8 27B measured
LMArena Text: science15081465Claude Opus 4.7
LMArena Text: medicine and healthcare14951439Claude Opus 4.7
LMArena Text: legal and government15051447Claude Opus 4.7
LMArena Text: business and finance14911441Claude 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
Web design benchmarks for Claude Opus 4.7 and Qwen3.8 27B
BenchmarkClaude Opus 4.7Qwen3.8 27BLeader
LiveBench designNot measured72.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
General benchmarks for Claude Opus 4.7 and Qwen3.8 27B
BenchmarkClaude Opus 4.7Qwen3.8 27BLeader
LiveBench data analysisNot measured76.6%Only Qwen3.8 27B measured
MedScribe (Vals AI)83.0%83.8%Qwen3.8 27B
Vals Multimodal Index67.4%Not measuredOnly Claude Opus 4.7 measured
IFBench58.6%Not measuredOnly Claude Opus 4.7 measured
Long context reasoning (AA-LCR)78.7%82.0%Qwen3.8 27B
GDPval-AA13641430Qwen3.8 27B
DTBench94.7%88.0%Claude Opus 4.7
LMCA52.2%41.4%Claude Opus 4.7
Surface Evolver BenchNot measured45.0%Only Qwen3.8 27B measured
Furniture assembly33.3%15.0%Claude Opus 4.7
ExploitBench26.5%Not measuredOnly Claude Opus 4.7 measured
LMArena Text14901438Claude Opus 4.7
LMArena Text: instruction following14981434Claude Opus 4.7
LMArena Text: creative writing14871379Claude Opus 4.7
LMArena Vision13181274Claude Opus 4.7
LMArena Text: English14961448Claude Opus 4.7
LMArena Text: non-English14811425Claude Opus 4.7
LMArena Text: Chinese15331491Claude Opus 4.7
LMArena Text: German14961439Claude Opus 4.7
LMArena Text: Japanese14741389Claude Opus 4.7
LMArena Text: Korean14671400Claude Opus 4.7
LMArena Text: French15031465Claude Opus 4.7
LMArena Text: Spanish14951445Claude Opus 4.7
LMArena Text: Russian14951411Claude Opus 4.7
LMArena Text: Polish14911448Claude Opus 4.7
LMArena Text: multi-turn15061439Claude Opus 4.7
LMArena Text: longer queries15061446Claude Opus 4.7
LMArena Text: writing and language14931401Claude Opus 4.7
LMArena Text: entertainment and media14751390Claude Opus 4.7
LMArena Vision: English13221277Claude Opus 4.7
LMArena Vision: Chinese13711326Claude Opus 4.7
LMArena Vision: reading text13281282Claude Opus 4.7
LMArena Vision: humor13141238Claude Opus 4.7
LMArena Vision: recognizing things1277Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: creative writing13271240Claude Opus 4.7
LMArena Document1495Not measuredOnly Claude Opus 4.7 measured
EQ-Bench 41293Not measuredOnly 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
Image generation benchmarks for Claude Opus 4.7 and Qwen3.8 27B
BenchmarkClaude Opus 4.7Qwen3.8 27BLeader
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

Claude Opus 4.7$0.018Fits in one request
Qwen3.8 27B$0.0017Fits in one request

Qwen3.8 27B costs less

Repository review

50K input + 3K output tokens

Claude Opus 4.7$0.325Fits in one request
Qwen3.8 27B$0.029Fits in one request

Qwen3.8 27B costs less

Agent loop

200K input + 10K output tokens

Claude Opus 4.7$1.25Fits in one request
Qwen3.8 27B$0.111Fits in one request

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.

Specifications of Claude Opus 4.7 and Qwen3.8 27B
SpecificationAnthropic Claude Opus 4.7Qwen3.8 27B
MakerAnthropicQwen
WeightsNo public weights listedOpen weights
ReleasedApril 16, 2026August 14, 2026
Context window1M1.02M
Input $/Mtok$5.00$0.425
Output $/Mtok$25.00$2.55
Coding index65.872.2
Independent measurements behind it33
Cost per solved task$2.95$1.26
SourceOpenRouter listingOpenRouter 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.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/claude-opus-4-7-vs-qwen3-8-27b" title="Claude Opus 4.7 vs Qwen3.8 27B, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/claude-opus-4-7-vs-qwen3-8-27b">LLMBenchmark.ai, Claude Opus 4.7 vs Qwen3.8 27B</a></p>