Enter opens the highlighted result. Esc closes.

Gemma 3 12B vs GLM 4.7

GLM 4.7 leads Gemma 3 12B on the Artificial Analysis Intelligence Index, 22.2 to 3.8, and Gemma 3 12B costs 13.5x less per output token ($0.1625 vs $2.20 per million). Updated October 21, 2026; 37 benchmarks have a result for both.

Gemma 3 12BGoogle
Coding
No data
Overall
28.0
Output $/M
$0.1625
0
GLM 4.7Z.ai
Coding
55.1
Overall
56.9
Output $/M
$2.20
37
vs boards won of 37 shared

Gemma 3 12B or GLM 4.7: which to pick

Only GLM 4.7 has a coding score, 55.1 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 13.5x cheaper ($0.1625 vs $2.20 per million).

Shared results
37
Gemma 3 12B only
6
GLM 4.7 only
44
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, GLM 4.7 55.1 from 2 benchmarks.
Widest category
Agentic work, 85.1 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Gemma 3 12B 10.8% against GLM 4.7 95.9%, 85.1 points apart on a 0 to 100 scale.
Output price
Gemma 3 12B $0.1625 against GLM 4.7 $2.20 per million output tokens, 13.5x apart.
Context window
Gemma 3 12B takes 131K tokens, GLM 4.7 205K.

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 12BBarsGLM 4.7Ties
Coding05
Intelligence02
Agentic work01
Reasoning06
Math05
Knowledge05
General013
All shared boards037
CodingLike-for-likeSix of these boards feed the Vibe Coding Index05
Coding benchmarks for Gemma 3 12B and GLM 4.7
BenchmarkGemma 3 12BGLM 4.7Leader
LMArena WebDevNot measured1435Only GLM 4.7 measured
AA Coding Index5.845.3GLM 4.7
LiveCodeBench (Vals AI)Not measured82.2%Only GLM 4.7 measured
SWE-bench Verified (Vals AI)Not measured69.4%Only GLM 4.7 measured
LiveCodeBench (Artificial Analysis run)13.7%89.4%GLM 4.7
SciCode16.4%Not measuredOnly Gemma 3 12B measured
Terminal-Bench Hard (Artificial Analysis run)0.8%31.8%GLM 4.7
Terminal-BenchNot measured33.4%Only GLM 4.7 measured
ALE-BenchNot measured399.5Only GLM 4.7 measured
LMArena Text: coding12811454GLM 4.7
LMArena Text: software and IT13131453GLM 4.7
LMArena WebDev: ReactNot measured1420Only GLM 4.7 measured
LMArena WebDev: HTMLNot measured1447Only GLM 4.7 measured
SciCode0.0%Not measuredOnly Gemma 3 12B measured
Neither model has a result on the other 25 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 3 12B and GLM 4.7
BenchmarkGemma 3 12BGLM 4.7Leader
AA Intelligence Index3.822.2GLM 4.7
Epoch Capabilities Index123.5143.6GLM 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemma 3 12B and GLM 4.7
BenchmarkGemma 3 12BGLM 4.7Leader
AA Agentic Index0.1Not measuredOnly Gemma 3 12B measured
Design Arena: agents building full-stack appsNot measured1050Only GLM 4.7 measured
Design Arena: agents building mobile appsNot measured1105Only GLM 4.7 measured
Design Arena: agents building Android appsNot measured1112Only GLM 4.7 measured
Design Arena: agents building Godot gamesNot measured1058Only GLM 4.7 measured
τ²-Bench Telecom10.8%95.9%GLM 4.7
Vending-Bench 2Not measured$2,377Only GLM 4.7 measured
Berkeley Function Calling Leaderboard (BFCL)30.4%Not measuredOnly Gemma 3 12B measured
BrowseComp-PlusNot measured64.7%Only GLM 4.7 measured
Neither model has a result on the other 32 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for Gemma 3 12B and GLM 4.7
BenchmarkGemma 3 12BGLM 4.7Leader
GPQA DiamondNot measured80.0%Only GLM 4.7 measured
GPQA Diamond (Artificial Analysis run)34.9%85.9%GLM 4.7
Humanity's Last Exam (Artificial Analysis run)4.2%27.4%GLM 4.7
GPQA Diamond (Epoch AI run)39.5%83.3%GLM 4.7
SimpleBenchNot measured47.7%Only GLM 4.7 measured
Chess puzzlesNot measured21.0%Only GLM 4.7 measured
LMArena Text: hard prompts13091443GLM 4.7
LMArena Text: expert12481424GLM 4.7
LMArena Text: hard prompts in English13181452GLM 4.7
Neither model has a result on the other 13 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index05
Math benchmarks for Gemma 3 12B and GLM 4.7
BenchmarkGemma 3 12BGLM 4.7Leader
AIMENot measured93.3%Only GLM 4.7 measured
MGSM (Vals AI)Not measured88.2%Only GLM 4.7 measured
AA Math Index18.395.0GLM 4.7
AIME 2025 (Artificial Analysis run)18.3%95.0%GLM 4.7
OTIS Mock AIME16.7%83.3%GLM 4.7
ProofBenchNot measured6.0%Only GLM 4.7 measured
LMArena Text: math13071424GLM 4.7
LMArena Text: mathematical work13361411GLM 4.7
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Gemma 3 12B and GLM 4.7
BenchmarkGemma 3 12BGLM 4.7Leader
MMLU ProNot measured82.7%Only GLM 4.7 measured
LegalBench (Vals AI)Not measured83.4%Only GLM 4.7 measured
CaseLaw (Vals AI)Not measured54.9%Only GLM 4.7 measured
CorpFin (Vals AI)Not measured46.4%Only GLM 4.7 measured
TaxEval (Vals AI)Not measured68.8%Only GLM 4.7 measured
MedQA (Vals AI)Not measured93.7%Only GLM 4.7 measured
MedCode (Vals AI)Not measured32.8%Only GLM 4.7 measured
MMLU Pro (Artificial Analysis run)59.5%85.6%GLM 4.7
SimpleQA VerifiedNot measured32.2%Only GLM 4.7 measured
LMArena Text: science13661457GLM 4.7
LMArena Text: medicine and healthcare13341469GLM 4.7
LMArena Text: legal and government13811444GLM 4.7
LMArena Text: business and finance13761429GLM 4.7
Neither model has a result on the other 5 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Gemma 3 12B and GLM 4.7
BenchmarkGemma 3 12BGLM 4.7Leader
Design Arena: websitesNot measured1226Only GLM 4.7 measured
Design Arena: UI componentsNot measured1199Only GLM 4.7 measured
Design Arena: game devNot measured1189Only GLM 4.7 measured
Design Arena: data vizNot measured1195Only GLM 4.7 measured
Design Arena: 3DNot measured1191Only GLM 4.7 measured
Design Arena: all code categoriesNot measured1217Only GLM 4.7 measured
Design Arena: SVGNot measured1143Only GLM 4.7 measured
Design Arena: ASCII artNot measured1165Only GLM 4.7 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index013
General benchmarks for Gemma 3 12B and GLM 4.7
BenchmarkGemma 3 12BGLM 4.7Leader
MedScribe (Vals AI)Not measured68.6%Only GLM 4.7 measured
IFBench36.7%67.9%GLM 4.7
Long context reasoning (AA-LCR)8.3%71.0%GLM 4.7
DTBench48.8%Not measuredOnly Gemma 3 12B measured
LMCA4.5%Not measuredOnly Gemma 3 12B measured
CL-benchNot measured15.9%Only GLM 4.7 measured
CL-bench LifeNot measured10.9%Only GLM 4.7 measured
LMArena Text13341435GLM 4.7
LMArena Text: instruction following12991412GLM 4.7
LMArena Text: creative writing13311401GLM 4.7
LMArena Text: English13491453GLM 4.7
LMArena Text: non-English13181417GLM 4.7
LMArena Text: ChineseNot measured1495Only GLM 4.7 measured
LMArena Text: German13701426GLM 4.7
LMArena Text: JapaneseNot measured1439Only GLM 4.7 measured
LMArena Text: KoreanNot measured1399Only GLM 4.7 measured
LMArena Text: FrenchNot measured1432Only GLM 4.7 measured
LMArena Text: SpanishNot measured1434Only GLM 4.7 measured
LMArena Text: Russian13351423GLM 4.7
LMArena Text: PolishNot measured1435Only GLM 4.7 measured
LMArena Text: multi-turn13341446GLM 4.7
LMArena Text: longer queries13171432GLM 4.7
LMArena Text: writing and language13071411GLM 4.7
LMArena Text: entertainment and media12971400GLM 4.7
Neither model has a result on the other 22 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 GLM 4.7
BenchmarkGemma 3 12BGLM 4.7Leader
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
GLM 4.7$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
GLM 4.7$0.037Fits in one request

Gemma 3 12B costs less

Agent loop

200K input + 10K output tokens

Gemma 3 12B$0.017Exceeds the context window
GLM 4.7$0.142Exceeds the context window

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 GLM 4.7
SpecificationGoogle Gemma 3 12BZ.ai GLM 4.7
MakerGoogleZ.ai
WeightsOpen weightsOpen weights
ReleasedMarch 13, 2025December 22, 2025
Context window131K205K
Input $/Mtok$0.075$0.60
Output $/Mtok$0.1625$2.20
Coding indexNot benchmarked55.1
Independent measurements behind it02
Cost per solved taskNot computable$0.29
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 12B better than GLM 4.7 for coding?

Only GLM 4.7 has a coding score, 55.1 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 13.5x cheaper ($0.1625 vs $2.20 per million).

Which is cheaper, Gemma 3 12B or GLM 4.7?

Gemma 3 12B costs $0.075 per million input tokens and $0.1625 per million output tokens; GLM 4.7 costs $0.60 and $2.20. Cost per solved task is known for GLM 4.7 only.

Which has the bigger context window, Gemma 3 12B or GLM 4.7?

GLM 4.7, with 205K tokens against 131K.

How many benchmarks is the Gemma 3 12B vs GLM 4.7 comparison based on?

37 benchmarks have a result for both models as of October 21, 2026. Gemma 3 12B's coding index rests on 0 independent benchmarks and GLM 4.7's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next