Enter opens the highlighted result. Esc closes.

Gemma 3 12B vs GLM 4.7 Flash

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

Gemma 3 12BGoogle
Coding
No data
Overall
3.8
Output $/M
$0.1625
6
GLM 4.7 FlashZ.ai
Coding
No data
Overall
14.9
Output $/M
$0.40
25
vs boards won of 31 shared

Gemma 3 12B or GLM 4.7 Flash: 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 2.5x cheaper ($0.1625 vs $0.40 per million) and work measured by Terminal-Bench Hard (Artificial Analysis run) or LMArena Text: coding, where it leads.

Shared results
31
Gemma 3 12B only
10
GLM 4.7 Flash only
12
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 Flash not benchmarked.
Widest category
Agentic work, 88.0 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Gemma 3 12B 10.8% against GLM 4.7 Flash 98.8%, 88.0 points apart on a 0 to 100 scale.
Output price
Gemma 3 12B $0.1625 against GLM 4.7 Flash $0.40 per million output tokens, 2.5x apart.
Context window
Gemma 3 12B takes 131K tokens, GLM 4.7 Flash 200K.

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.7 FlashTies
Coding03
Intelligence01
Agentic work01
Reasoning06
Math03
Knowledge31
General310
All shared boards625
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for Gemma 3 12B and GLM 4.7 Flash
BenchmarkGemma 3 12BGLM 4.7 FlashLeader
AA Coding Index5.8Not measuredOnly Gemma 3 12B measured
LiveCodeBench (Artificial Analysis run)13.7%Not measuredOnly Gemma 3 12B measured
SciCode16.4%Not measuredOnly Gemma 3 12B measured
Terminal-Bench Hard (Artificial Analysis run)0.8%22.0%GLM 4.7 Flash
LMArena Text: coding12811382GLM 4.7 Flash
LMArena Text: software and IT13131389GLM 4.7 Flash
Neither model has a result on the other 32 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemma 3 12B and GLM 4.7 Flash
BenchmarkGemma 3 12BGLM 4.7 FlashLeader
AA Intelligence Index3.814.9GLM 4.7 Flash
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.7 Flash
BenchmarkGemma 3 12BGLM 4.7 FlashLeader
AA Agentic Index0.1Not measuredOnly Gemma 3 12B measured
τ²-Bench Telecom10.8%98.8%GLM 4.7 Flash
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for Gemma 3 12B and GLM 4.7 Flash
BenchmarkGemma 3 12BGLM 4.7 FlashLeader
GPQA Diamond (Artificial Analysis run)34.9%58.1%GLM 4.7 Flash
Humanity's Last Exam (Artificial Analysis run)4.2%7.6%GLM 4.7 Flash
GPQA Diamond (Epoch AI run)39.5%60.5%GLM 4.7 Flash
LMArena Text: hard prompts13091356GLM 4.7 Flash
LMArena Text: expert12481357GLM 4.7 Flash
LMArena Text: hard prompts in English13181369GLM 4.7 Flash
Neither model has a result on the other 15 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Gemma 3 12B and GLM 4.7 Flash
BenchmarkGemma 3 12BGLM 4.7 FlashLeader
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%58.3%GLM 4.7 Flash
LMArena Text: math13071355GLM 4.7 Flash
LMArena Text: mathematical work13361369GLM 4.7 Flash
Neither model has a result on the other 8 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index31
Knowledge benchmarks for Gemma 3 12B and GLM 4.7 Flash
BenchmarkGemma 3 12BGLM 4.7 FlashLeader
MMLU Pro (Artificial Analysis run)59.5%Not measuredOnly Gemma 3 12B measured
LMArena Text: science13661358Gemma 3 12B
LMArena Text: medicine and healthcare13341343GLM 4.7 Flash
LMArena Text: legal and government13811357Gemma 3 12B
LMArena Text: business and finance13761343Gemma 3 12B
Neither model has a result on the other 12 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.7 Flash
BenchmarkGemma 3 12BGLM 4.7 FlashLeader
Design Arena: websitesNot measured1194Only GLM 4.7 Flash measured
Design Arena: UI componentsNot measured1208Only GLM 4.7 Flash measured
Design Arena: game devNot measured1135Only GLM 4.7 Flash measured
Design Arena: data vizNot measured1123Only GLM 4.7 Flash measured
Design Arena: 3DNot measured1121Only GLM 4.7 Flash measured
Design Arena: all code categoriesNot measured1178Only GLM 4.7 Flash measured
Design Arena: SVGNot measured1038Only GLM 4.7 Flash measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index310
General benchmarks for Gemma 3 12B and GLM 4.7 Flash
BenchmarkGemma 3 12BGLM 4.7 FlashLeader
IFBench36.7%60.8%GLM 4.7 Flash
Long context reasoning (AA-LCR)8.3%41.7%GLM 4.7 Flash
DTBench48.8%Not measuredOnly Gemma 3 12B measured
LMCA4.5%Not measuredOnly Gemma 3 12B measured
LMArena Text13341351GLM 4.7 Flash
LMArena Text: instruction following12991327GLM 4.7 Flash
LMArena Text: creative writing13311296Gemma 3 12B
LMArena Text: English13491373GLM 4.7 Flash
LMArena Text: non-English13181330GLM 4.7 Flash
LMArena Text: ChineseNot measured1403Only GLM 4.7 Flash measured
LMArena Text: German13701336Gemma 3 12B
LMArena Text: KoreanNot measured1283Only GLM 4.7 Flash measured
LMArena Text: FrenchNot measured1332Only GLM 4.7 Flash measured
LMArena Text: SpanishNot measured1350Only GLM 4.7 Flash measured
LMArena Text: Russian13351333Gemma 3 12B
LMArena Text: PolishNot measured1291Only GLM 4.7 Flash measured
LMArena Text: multi-turn13341342GLM 4.7 Flash
LMArena Text: longer queries13171345GLM 4.7 Flash
LMArena Text: writing and language13071320GLM 4.7 Flash
LMArena Text: entertainment and media12971304GLM 4.7 Flash
Neither model has a result on the other 26 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 Flash
BenchmarkGemma 3 12BGLM 4.7 FlashLeader
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 Flash$0.0003Fits 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 Flash$0.0045Fits 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 Flash$0.017Exceeds 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 Flash
SpecificationGoogle Gemma 3 12BZ.ai GLM 4.7 Flash
MakerGoogleZ.ai
WeightsOpen weightsOpen weights
ReleasedMarch 13, 2025January 19, 2026
Context window131K200K
Input $/Mtok$0.075$0.0653
Output $/Mtok$0.1625$0.40
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.7 Flash for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 3 12B for output tokens 2.5x cheaper ($0.1625 vs $0.40 per million) and work measured by Terminal-Bench Hard (Artificial Analysis run) or LMArena Text: coding, where it leads.

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

Gemma 3 12B costs $0.075 per million input tokens and $0.1625 per million output tokens; GLM 4.7 Flash costs $0.0653 and $0.40. Cost per solved task is known for neither of them.

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

GLM 4.7 Flash, with 200K tokens against 131K.

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

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

Compare next