Enter opens the highlighted result. Esc closes.

Gemma 3 4B vs Hy4 preview

Gemma 3 4B costs 33.3x less per output token than Hy4 preview ($0.075 vs $2.501 per million). Updated October 22, 2026; no benchmark has tested both models yet.

Gemma 3 4BGoogle
Coding
No data
Overall
22.6
Output $/M
$0.075
Hy4 previewTencent
Coding
44.3
Overall
No data
Output $/M
$2.501
vs $0.075 vs $2.501 per 1M output tokens. Gemma 3 4B is 33.3x cheaper.

Gemma 3 4B or Hy4 preview: which to pick

Only Hy4 preview has a coding score, 44.3 on the Vibe Coding Index; Gemma 3 4B has none, so the two cannot be ranked on coding.

Pick Gemma 3 4B for output tokens 33.3x cheaper ($0.075 vs $2.501 per million).

No benchmark has tested both yet. Gemma 3 4B has results on AA Coding Index, LiveCodeBench (Artificial Analysis run) and Terminal-Bench Hard (Artificial Analysis run); Hy4 preview on LMArena WebDev, Terminal-Bench 4 (Vals AI) and Vibe Code Bench (Vals AI). Compare them on price and context instead.

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 4B not benchmarked, Hy4 preview 44.3 from 3 benchmarks.
Widest category
None yet: no category has been tested on both models.
Widest single gap
None yet: no benchmark has tested both models.
Output price
Gemma 3 4B $0.075 against Hy4 preview $2.501 per million output tokens, 33.3x apart.
Context window
Gemma 3 4B takes 131K tokens, Hy4 preview 1.05M.

Benchmark by benchmark

Every board either model has a result on, a category to a fold; bars are each result on a 0 to 100 scale. Only one model is measured on each, so no row names a leader.

CodingDirectional onlySix of these boards feed the Vibe Coding Index16 boards measured
Coding benchmarks for Gemma 3 4B and Hy4 preview
BenchmarkGemma 3 4BHy4 previewLeader
LMArena WebDevNot measured1631Only Hy4 preview measured
AA Coding Index2.7Not measuredOnly Gemma 3 4B measured
Terminal-Bench 4 (Vals AI)Not measured8.1%Only Hy4 preview measured
Vibe Code Bench (Vals AI)Not measured77.5%Only Hy4 preview measured
Code migration (Vals AI)Not measured47.4%Only Hy4 preview measured
ProgramBench (Vals AI)Not measured0.0%Only Hy4 preview measured
IOI (Vals AI)Not measured59.3%Only Hy4 preview measured
Terminal-Bench 2.1 (Vals AI)Not measured55.1%Only Hy4 preview measured
CyberBench (Vals AI)Not measured65.4%Only Hy4 preview measured
LiveCodeBench (Artificial Analysis run)11.2%Not measuredOnly Gemma 3 4B measured
Terminal-Bench Hard (Artificial Analysis run)0.8%Not measuredOnly Gemma 3 4B measured
LMArena Text: coding1230Not measuredOnly Gemma 3 4B measured
LMArena Text: software and IT1269Not measuredOnly Gemma 3 4B measured
LMArena WebDev: ReactNot measured1653Only Hy4 preview measured
LMArena WebDev: HTMLNot measured1620Only Hy4 preview measured
SciCode0.0%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 23 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
Intelligence benchmarks for Gemma 3 4B and Hy4 preview
BenchmarkGemma 3 4BHy4 previewLeader
AA Intelligence Index4.8Not measuredOnly Gemma 3 4B measured
Epoch Capabilities Index115.9Not measuredOnly Gemma 3 4B measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index10 boards measured
Agentic work benchmarks for Gemma 3 4B and Hy4 preview
BenchmarkGemma 3 4BHy4 previewLeader
SREBench (Vals AI)Not measured2.3%Only Hy4 preview measured
Finance Agent (Vals AI)Not measured55.1%Only Hy4 preview measured
Tax Agent Bench (Vals AI)Not measured32.6%Only Hy4 preview measured
Legal Research Bench (Vals AI)Not measured45.2%Only Hy4 preview measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured8.8%Only Hy4 preview measured
Excel Modeling Benchmark (Vals AI)Not measured58.1%Only Hy4 preview measured
BioMysteryBench (Vals AI)Not measured69.3%Only Hy4 preview measured
Terminal-Bench-Science (Vals AI)Not measured1.4%Only Hy4 preview measured
τ²-Bench Telecom5.0%Not measuredOnly Gemma 3 4B measured
Berkeley Function Calling Leaderboard (BFCL)19.6%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 31 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Reasoning benchmarks for Gemma 3 4B and Hy4 preview
BenchmarkGemma 3 4BHy4 previewLeader
GPQA Diamond (Artificial Analysis run)29.1%Not measuredOnly Gemma 3 4B measured
Humanity's Last Exam (Artificial Analysis run)5.3%Not measuredOnly Gemma 3 4B measured
GPQA Diamond (Epoch AI run)23.2%Not measuredOnly Gemma 3 4B measured
LMArena Text: hard prompts1253Not measuredOnly Gemma 3 4B measured
LMArena Text: expert1223Not measuredOnly Gemma 3 4B measured
LMArena Text: hard prompts in English1253Not measuredOnly Gemma 3 4B measured
Kagi LLM Benchmark25.2%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 15 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Math benchmarks for Gemma 3 4B and Hy4 preview
BenchmarkGemma 3 4BHy4 previewLeader
AA Math Index12.7Not measuredOnly Gemma 3 4B measured
AIME 2025 (Artificial Analysis run)12.7%Not measuredOnly Gemma 3 4B measured
OTIS Mock AIME7.5%Not measuredOnly Gemma 3 4B measured
ProofBenchNot measured75.0%Only Hy4 preview measured
LMArena Text: math1239Not measuredOnly Gemma 3 4B measured
LMArena Text: mathematical work1256Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Knowledge benchmarks for Gemma 3 4B and Hy4 preview
BenchmarkGemma 3 4BHy4 previewLeader
LegalBench (Vals AI)Not measured83.8%Only Hy4 preview measured
MedCode (Vals AI)Not measured43.3%Only Hy4 preview measured
MMLU Pro (Artificial Analysis run)41.7%Not measuredOnly Gemma 3 4B measured
LMArena Text: science1306Not measuredOnly Gemma 3 4B measured
LMArena Text: medicine and healthcare1342Not measuredOnly Gemma 3 4B measured
LMArena Text: legal and government1327Not measuredOnly Gemma 3 4B measured
LMArena Text: business and finance1311Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 11 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index18 boards measured
General benchmarks for Gemma 3 4B and Hy4 preview
BenchmarkGemma 3 4BHy4 previewLeader
Vals IndexNot measured53.2%Only Hy4 preview measured
Public Benefits Bench (Vals AI)Not measured68.6%Only Hy4 preview measured
MedScribe (Vals AI)Not measured83.6%Only Hy4 preview measured
IFBench28.3%Not measuredOnly Gemma 3 4B measured
Long context reasoning (AA-LCR)6.7%Not measuredOnly Gemma 3 4B measured
DTBench50.9%Not measuredOnly Gemma 3 4B measured
LMCA2.8%Not measuredOnly Gemma 3 4B measured
LMArena Text1291Not measuredOnly Gemma 3 4B measured
LMArena Text: instruction following1239Not measuredOnly Gemma 3 4B measured
LMArena Text: creative writing1270Not measuredOnly Gemma 3 4B measured
LMArena Text: English1300Not measuredOnly Gemma 3 4B measured
LMArena Text: non-English1273Not measuredOnly Gemma 3 4B measured
LMArena Text: German1281Not measuredOnly Gemma 3 4B measured
LMArena Text: Russian1294Not measuredOnly Gemma 3 4B measured
LMArena Text: multi-turn1255Not measuredOnly Gemma 3 4B measured
LMArena Text: longer queries1273Not measuredOnly Gemma 3 4B measured
LMArena Text: writing and language1288Not measuredOnly Gemma 3 4B measured
LMArena Text: entertainment and media1233Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 28 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 4B$0.0001Fits in one request
Hy4 preview$0.0021Fits in one request

Gemma 3 4B costs less

Repository review

50K input + 3K output tokens

Gemma 3 4B$0.0025Fits in one request
Hy4 preview$0.049Fits in one request

Gemma 3 4B costs less

Agent loop

200K input + 10K output tokens

Gemma 3 4B$0.0097Exceeds the context window
Hy4 preview$0.192Fits in one request

Gemma 3 4B 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 4B and Hy4 preview
SpecificationGoogle Gemma 3 4BTencent Hy4 preview
MakerGoogleTencent
WeightsOpen weightsOpen weights
ReleasedMarch 13, 2025August 28, 2026
Context window131K1.05M
Input $/Mtok$0.045$0.834
Output $/Mtok$0.075$2.501
Coding indexNot benchmarked44.3
Independent measurements behind it03
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 4B better than Hy4 preview for coding?

Only Hy4 preview has a coding score, 44.3 on the Vibe Coding Index; Gemma 3 4B has none, so the two cannot be ranked on coding. Pick Gemma 3 4B for output tokens 33.3x cheaper ($0.075 vs $2.501 per million).

Which is cheaper, Gemma 3 4B or Hy4 preview?

Gemma 3 4B costs $0.045 per million input tokens and $0.075 per million output tokens; Hy4 preview costs $0.834 and $2.501. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemma 3 4B or Hy4 preview?

Hy4 preview, with 1.05M tokens against 131K.

Has any benchmark tested both Gemma 3 4B and Hy4 preview?

No benchmark has tested both yet. Gemma 3 4B has results on AA Coding Index, LiveCodeBench (Artificial Analysis run) and Terminal-Bench Hard (Artificial Analysis run); Hy4 preview on LMArena WebDev, Terminal-Bench 4 (Vals AI) and Vibe Code Bench (Vals AI). Compare them on price and context instead. Data as of October 22, 2026.

Compare next