Enter opens the highlighted result. Esc closes.

Gemma 3 12B vs Qwen3.8 27B

Qwen3.8 27B leads Gemma 3 12B on the Artificial Analysis Intelligence Index, 33.7 to 3.8, and Gemma 3 12B costs 15.7x less per output token ($0.1625 vs $2.55 per million). Updated October 22, 2026; 32 benchmarks have a result for both.

Gemma 3 12BGoogle
Coding
No data
Overall
28.0
Output $/M
$0.1625
0
Qwen3.8 27BQwen
Coding
74.2
Overall
59.6
Output $/M
$2.55
32
vs boards won of 32 shared

Gemma 3 12B or Qwen3.8 27B: which to pick

Only Qwen3.8 27B has a coding score, 74.2 on the Vibe Coding Index; Gemma 3 12B has none, so the two cannot be ranked on coding.

Pick Gemma 3 12B for output tokens 15.7x cheaper ($0.1625 vs $2.55 per million).

Shared results
32
Gemma 3 12B only
11
Qwen3.8 27B only
53
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
Gemma 3 12B not benchmarked, Qwen3.8 27B 74.2 from 4 benchmarks.
Widest category
Agentic work, 45.7 points apart on average over 1 shared benchmark.
Widest single gap
Long context reasoning (AA-LCR): Gemma 3 12B 8.3% against Qwen3.8 27B 82.0%, 73.7 points apart on a 0 to 100 scale.
Output price
Gemma 3 12B $0.1625 against Qwen3.8 27B $2.55 per million output tokens, 15.7x apart.
Context window
Gemma 3 12B takes 131K 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.

Boards won, where both have a result
CategoryGemma 3 12BBarsQwen3.8 27BTies
Coding04
Intelligence02
Agentic work01
Reasoning05
Math02
Knowledge04
General014
All shared boards032
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
Coding benchmarks for Gemma 3 12B and Qwen3.8 27B
BenchmarkGemma 3 12BQwen3.8 27BLeader
LiveBench codingNot measured86.8%Only Qwen3.8 27B measured
LMArena WebDevNot measured1593Only Qwen3.8 27B measured
AA Coding Index5.868.1Qwen3.8 27B
LiveCodeBench (Vals AI)Not measured84.0%Only Qwen3.8 27B measured
SWE-bench Verified (Vals AI)Not measured86.0%Only Qwen3.8 27B measured
Vibe Code Bench (Vals AI)Not measured64.8%Only Qwen3.8 27B measured
Code migration (Vals AI)Not measured14.2%Only Qwen3.8 27B measured
ProgramBench (Vals AI)Not measured0.0%Only Qwen3.8 27B measured
IOI (Vals AI)Not measured39.1%Only Qwen3.8 27B measured
Terminal-Bench 2.1 (Vals AI)Not measured58.4%Only Qwen3.8 27B measured
SkillsBench (Vals AI)Not measured38.1%Only Qwen3.8 27B measured
CyberBench (Vals AI)Not measured67.8%Only Qwen3.8 27B measured
LiveCodeBench (Artificial Analysis run)13.7%Not measuredOnly Gemma 3 12B measured
SciCode16.4%46.6%Qwen3.8 27B
Terminal-Bench Hard (Artificial Analysis run)0.8%Not measuredOnly Gemma 3 12B measured
LMArena Text: coding12811483Qwen3.8 27B
LMArena Text: software and IT13131478Qwen3.8 27B
LMArena WebDev: ReactNot measured1602Only Qwen3.8 27B measured
LMArena WebDev: HTMLNot measured1570Only Qwen3.8 27B measured
LMArena WebDev: from an imageNot measured1577Only Qwen3.8 27B measured
SciCode0.0%Not measuredOnly Gemma 3 12B measured
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 3 12B and Qwen3.8 27B
BenchmarkGemma 3 12BQwen3.8 27BLeader
AA Intelligence Index3.833.7Qwen3.8 27B
Epoch Capabilities Index123.5151.7Qwen3.8 27B
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemma 3 12B and Qwen3.8 27B
BenchmarkGemma 3 12BQwen3.8 27BLeader
AA Agentic Index0.145.8Qwen3.8 27B
LiveBench researchNot measured59.4%Only Qwen3.8 27B measured
LiveBench browserNot measured32.0%Only Qwen3.8 27B measured
LiveBench long agenticNot measured27.9%Only Qwen3.8 27B measured
Finance Agent (Vals AI)Not measured48.5%Only Qwen3.8 27B measured
Tax Agent Bench (Vals AI)Not measured30.9%Only Qwen3.8 27B measured
Legal Research Bench (Vals AI)Not measured36.1%Only Qwen3.8 27B measured
Excel Modeling Benchmark (Vals AI)Not measured59.7%Only Qwen3.8 27B measured
Terminal-Bench-Science (Vals AI)Not measured0.0%Only Qwen3.8 27B measured
τ²-Bench Telecom10.8%Not measuredOnly Gemma 3 12B measured
APEX-AgentsNot measured47.5%Only Qwen3.8 27B measured
Berkeley Function Calling Leaderboard (BFCL)30.4%Not measuredOnly Gemma 3 12B measured
Neither model has a result on the other 29 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index05
Reasoning benchmarks for Gemma 3 12B and Qwen3.8 27B
BenchmarkGemma 3 12BQwen3.8 27BLeader
GPQA DiamondNot measured88.9%Only Qwen3.8 27B measured
LiveBench reasoningNot measured80.0%Only Qwen3.8 27B measured
MMMU Pro (Vals AI)Not measured83.9%Only Qwen3.8 27B measured
GPQA Diamond (Artificial Analysis run)34.9%90.5%Qwen3.8 27B
Humanity's Last Exam (Artificial Analysis run)4.2%33.9%Qwen3.8 27B
GPQA Diamond (Epoch AI run)39.5%Not measuredOnly Gemma 3 12B measured
ARC-AGINot measured87.5%Only Qwen3.8 27B measured
ARC-AGI-2Not measured42.4%Only Qwen3.8 27B measured
LMArena Text: hard prompts13091459Qwen3.8 27B
LMArena Text: expert12481479Qwen3.8 27B
LMArena Text: hard prompts in English13181461Qwen3.8 27B
LMArena Vision: diagramsNot measured1285Only Qwen3.8 27B measured
LMArena Vision: homeworkNot measured1295Only Qwen3.8 27B measured
Neither model has a result on the other 9 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for Gemma 3 12B and Qwen3.8 27B
BenchmarkGemma 3 12BQwen3.8 27BLeader
AA Math Index18.3Not measuredOnly Gemma 3 12B measured
AIME 2025 (Artificial Analysis run)18.3%Not measuredOnly Gemma 3 12B measured
OTIS Mock AIME16.7%Not measuredOnly Gemma 3 12B measured
ProofBenchNot measured16.0%Only Qwen3.8 27B measured
LMArena Text: math13071455Qwen3.8 27B
LMArena Text: mathematical work13361458Qwen3.8 27B
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Gemma 3 12B and Qwen3.8 27B
BenchmarkGemma 3 12BQwen3.8 27BLeader
MMLU ProNot measured84.3%Only Qwen3.8 27B measured
LegalBench (Vals AI)Not measured82.4%Only Qwen3.8 27B measured
TaxEval (Vals AI)Not measured70.8%Only Qwen3.8 27B measured
MortgageTax (Vals AI)Not measured64.9%Only Qwen3.8 27B measured
MedCode (Vals AI)Not measured28.7%Only Qwen3.8 27B measured
MMLU Pro (Artificial Analysis run)59.5%Not measuredOnly Gemma 3 12B measured
LMArena Text: science13661467Qwen3.8 27B
LMArena Text: medicine and healthcare13341437Qwen3.8 27B
LMArena Text: legal and government13811447Qwen3.8 27B
LMArena Text: business and finance13761438Qwen3.8 27B
Neither model has a result on the other 8 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Web design benchmarks for Gemma 3 12B and Qwen3.8 27B
BenchmarkGemma 3 12BQwen3.8 27BLeader
LiveBench designNot measured75.9%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 index014
General benchmarks for Gemma 3 12B and Qwen3.8 27B
BenchmarkGemma 3 12BQwen3.8 27BLeader
LiveBench data analysisNot measured76.6%Only Qwen3.8 27B measured
SAGE (Vals AI)Not measured52.4%Only Qwen3.8 27B measured
MedScribe (Vals AI)Not measured83.8%Only Qwen3.8 27B measured
IFBench36.7%Not measuredOnly Gemma 3 12B measured
Long context reasoning (AA-LCR)8.3%82.0%Qwen3.8 27B
DTBench48.8%88.0%Qwen3.8 27B
LMCA4.5%41.4%Qwen3.8 27B
Surface Evolver BenchNot measured45.0%Only Qwen3.8 27B measured
LMArena Text13341440Qwen3.8 27B
LMArena Text: instruction following12991436Qwen3.8 27B
LMArena Text: creative writing13311383Qwen3.8 27B
LMArena VisionNot measured1269Only Qwen3.8 27B measured
LMArena Text: English13491448Qwen3.8 27B
LMArena Text: non-English13181428Qwen3.8 27B
LMArena Text: ChineseNot measured1501Only Qwen3.8 27B measured
LMArena Text: German13701443Qwen3.8 27B
LMArena Text: JapaneseNot measured1387Only Qwen3.8 27B measured
LMArena Text: KoreanNot measured1384Only Qwen3.8 27B measured
LMArena Text: FrenchNot measured1465Only Qwen3.8 27B measured
LMArena Text: SpanishNot measured1449Only Qwen3.8 27B measured
LMArena Text: Russian13351415Qwen3.8 27B
LMArena Text: PolishNot measured1439Only Qwen3.8 27B measured
LMArena Text: multi-turn13341440Qwen3.8 27B
LMArena Text: longer queries13171448Qwen3.8 27B
LMArena Text: writing and language13071405Qwen3.8 27B
LMArena Text: entertainment and media12971393Qwen3.8 27B
LMArena Vision: EnglishNot measured1267Only Qwen3.8 27B measured
LMArena Vision: ChineseNot measured1326Only Qwen3.8 27B measured
LMArena Vision: reading textNot measured1281Only Qwen3.8 27B measured
LMArena Vision: humorNot measured1235Only Qwen3.8 27B measured
LMArena Vision: creative writingNot measured1237Only Qwen3.8 27B measured
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
Image generation benchmarks for Gemma 3 12B and Qwen3.8 27B
BenchmarkGemma 3 12BQwen3.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

Gemma 3 12B$0.0002Fits in one request
Qwen3.8 27B$0.0017Fits in one request

Gemma 3 12B costs less

Repository review

50K input + 3K output tokens

Gemma 3 12B$0.0042Fits in one request
Qwen3.8 27B$0.029Fits in one request

Gemma 3 12B costs less

Agent loop

200K input + 10K output tokens

Gemma 3 12B$0.017Exceeds the context window
Qwen3.8 27B$0.111Fits in one request

Gemma 3 12B 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 Gemma 3 12B and Qwen3.8 27B
SpecificationGoogle Gemma 3 12BQwen3.8 27B
MakerGoogleQwen
WeightsOpen weightsOpen weights
ReleasedMarch 13, 2025August 14, 2026
Context window131K1M
Input $/Mtok$0.075$0.425
Output $/Mtok$0.1625$2.55
Coding indexNot benchmarked74.2
Independent measurements behind it04
Cost per solved taskNot computable$1.26
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 12B better than Qwen3.8 27B for coding?

Only Qwen3.8 27B has a coding score, 74.2 on the Vibe Coding Index; Gemma 3 12B has none, so the two cannot be ranked on coding. Pick Gemma 3 12B for output tokens 15.7x cheaper ($0.1625 vs $2.55 per million).

Which is cheaper, Gemma 3 12B or Qwen3.8 27B?

Gemma 3 12B costs $0.075 per million input tokens and $0.1625 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, Gemma 3 12B or Qwen3.8 27B?

Qwen3.8 27B, with 1M tokens against 131K.

How many benchmarks is the Gemma 3 12B vs Qwen3.8 27B comparison based on?

32 benchmarks have a result for both models as of October 22, 2026. Gemma 3 12B's coding index rests on 0 independent benchmarks and Qwen3.8 27B's on 4. Where only one model has a result, the page says so instead of naming a winner.

Compare next