Enter opens the highlighted result. Esc closes.

Gemma 3 12B vs GLM 4.5

GLM 4.5 leads Gemma 3 12B on the Artificial Analysis Intelligence Index, 12.8 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; 33 benchmarks have a result for both.

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

Gemma 3 12B or GLM 4.5: which to pick

Neither model has a coding score yet, 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) and work measured by LiveCodeBench (Artificial Analysis run) or Terminal-Bench Hard (Artificial Analysis run), where it leads.

Shared results
33
Gemma 3 12B only
10
GLM 4.5 only
28
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.5 not benchmarked.
Widest category
Math, 36.6 points apart on average over 4 shared benchmarks.
Widest single gap
LiveCodeBench (Artificial Analysis run): Gemma 3 12B 13.7% against GLM 4.5 73.8%, 60.1 points apart on a 0 to 100 scale.
Output price
Gemma 3 12B $0.1625 against GLM 4.5 $2.20 per million output tokens, 13.5x apart.
Context window
Both take 131K tokens.

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.5Ties
Coding04
Intelligence01
Agentic work01
Reasoning05
Math04
Knowledge05
General013
All shared boards033
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
Coding benchmarks for Gemma 3 12B and GLM 4.5
BenchmarkGemma 3 12BGLM 4.5Leader
SWE-bench VerifiedNot measured64.2%Only GLM 4.5 measured
AA Coding Index5.8Not measuredOnly Gemma 3 12B measured
LiveCodeBench (Vals AI)Not measured67.5%Only GLM 4.5 measured
LiveCodeBench (Artificial Analysis run)13.7%73.8%GLM 4.5
SciCode16.4%Not measuredOnly Gemma 3 12B measured
Terminal-Bench Hard (Artificial Analysis run)0.8%22.0%GLM 4.5
WeirdMLNot measured40.6%Only GLM 4.5 measured
ALE-BenchNot measured344.8Only GLM 4.5 measured
LMArena Text: coding12811434GLM 4.5
LMArena Text: software and IT13131440GLM 4.5
SciCode0.0%Not measuredOnly Gemma 3 12B measured
Neither model has a result on the other 28 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemma 3 12B and GLM 4.5
BenchmarkGemma 3 12BGLM 4.5Leader
AA Intelligence Index3.812.8GLM 4.5
Epoch Capabilities Index123.5Not measuredOnly Gemma 3 12B measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemma 3 12B and GLM 4.5
BenchmarkGemma 3 12BGLM 4.5Leader
AA Agentic Index0.1Not measuredOnly Gemma 3 12B measured
τ²-Bench Telecom10.8%43.0%GLM 4.5
Berkeley Function Calling Leaderboard (BFCL)30.4%Not measuredOnly Gemma 3 12B measured
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index05
Reasoning benchmarks for Gemma 3 12B and GLM 4.5
BenchmarkGemma 3 12BGLM 4.5Leader
GPQA DiamondNot measured72.2%Only GLM 4.5 measured
GPQA Diamond (Artificial Analysis run)34.9%78.2%GLM 4.5
Humanity's Last Exam (Artificial Analysis run)4.2%13.0%GLM 4.5
GPQA Diamond (Epoch AI run)39.5%Not measuredOnly Gemma 3 12B measured
LMArena Text: hard prompts13091429GLM 4.5
LMArena Text: expert12481433GLM 4.5
LMArena Text: hard prompts in English13181429GLM 4.5
Kagi LLM BenchmarkNot measured57.9%Only GLM 4.5 measured
Neither model has a result on the other 14 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Gemma 3 12B and GLM 4.5
BenchmarkGemma 3 12BGLM 4.5Leader
AIMENot measured86.7%Only GLM 4.5 measured
MATH 500 (Vals AI)Not measured94.0%Only GLM 4.5 measured
MGSM (Vals AI)Not measured90.8%Only GLM 4.5 measured
AA Math Index18.373.7GLM 4.5
AIME 2025 (Artificial Analysis run)18.3%73.7%GLM 4.5
OTIS Mock AIME16.7%Not measuredOnly Gemma 3 12B measured
LMArena Text: math13071427GLM 4.5
LMArena Text: mathematical work13361430GLM 4.5
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.5
BenchmarkGemma 3 12BGLM 4.5Leader
MMLU ProNot measured81.2%Only GLM 4.5 measured
LegalBench (Vals AI)Not measured75.6%Only GLM 4.5 measured
CorpFin (Vals AI)Not measured61.0%Only GLM 4.5 measured
TaxEval (Vals AI)Not measured72.4%Only GLM 4.5 measured
MedQA (Vals AI)Not measured90.0%Only GLM 4.5 measured
MMLU Pro (Artificial Analysis run)59.5%83.5%GLM 4.5
LMArena Text: science13661444GLM 4.5
LMArena Text: medicine and healthcare13341455GLM 4.5
LMArena Text: legal and government13811438GLM 4.5
LMArena Text: business and finance13761420GLM 4.5
Neither model has a result on the other 8 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for Gemma 3 12B and GLM 4.5
BenchmarkGemma 3 12BGLM 4.5Leader
Design Arena: websitesNot measured1170Only GLM 4.5 measured
Design Arena: UI componentsNot measured1144Only GLM 4.5 measured
Design Arena: game devNot measured1145Only GLM 4.5 measured
Design Arena: data vizNot measured1159Only GLM 4.5 measured
Design Arena: 3DNot measured1170Only GLM 4.5 measured
Design Arena: all code categoriesNot measured1165Only GLM 4.5 measured
Design Arena: SVGNot measured1096Only GLM 4.5 measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index013
General benchmarks for Gemma 3 12B and GLM 4.5
BenchmarkGemma 3 12BGLM 4.5Leader
IFBench36.7%44.1%GLM 4.5
Long context reasoning (AA-LCR)8.3%52.7%GLM 4.5
DTBench48.8%Not measuredOnly Gemma 3 12B measured
LMCA4.5%Not measuredOnly Gemma 3 12B measured
Creative writing (Lech Mazur)Not measured73.4%Only GLM 4.5 measured
LMArena Text13341430GLM 4.5
LMArena Text: instruction following12991404GLM 4.5
LMArena Text: creative writing13311395GLM 4.5
LMArena Text: English13491437GLM 4.5
LMArena Text: non-English13181417GLM 4.5
LMArena Text: ChineseNot measured1465Only GLM 4.5 measured
LMArena Text: German13701407GLM 4.5
LMArena Text: JapaneseNot measured1415Only GLM 4.5 measured
LMArena Text: KoreanNot measured1380Only GLM 4.5 measured
LMArena Text: FrenchNot measured1418Only GLM 4.5 measured
LMArena Text: SpanishNot measured1454Only GLM 4.5 measured
LMArena Text: Russian13351413GLM 4.5
LMArena Text: PolishNot measured1422Only GLM 4.5 measured
LMArena Text: multi-turn13341415GLM 4.5
LMArena Text: longer queries13171412GLM 4.5
LMArena Text: writing and language13071403GLM 4.5
LMArena Text: entertainment and media12971404GLM 4.5
Neither model has a result on the other 24 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.5
BenchmarkGemma 3 12BGLM 4.5Leader
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.5$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.5$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.5$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.5
SpecificationGoogle Gemma 3 12BZ.ai GLM 4.5
MakerGoogleZ.ai
WeightsOpen weightsOpen weights
ReleasedMarch 13, 2025July 25, 2025
Context window131K131K
Input $/Mtok$0.075$0.60
Output $/Mtok$0.1625$2.20
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Neither model has a coding score yet, 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) and work measured by LiveCodeBench (Artificial Analysis run) or Terminal-Bench Hard (Artificial Analysis run), where it leads.

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

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

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

Neither: both take 131K tokens.

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

33 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.5's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next