Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs Hy4 preview

Gemma 2 27B costs 3.5x less per output token than Hy4 preview ($0.65 vs $2.2509 per million). Updated October 21, 2026; 1 benchmarks have a result for both.

Gemma 2 27BGoogle
Coding
No data
Overall
No data
Output $/M
$0.65
0
Hy4 previewTencent
Coding
44.3
Overall
No data
Output $/M
$2.2509
1
vs boards won of 1 shared

Gemma 2 27B or Hy4 preview: which to pick

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

Pick Gemma 2 27B for output tokens 3.5x cheaper ($0.65 vs $2.2509 per million).

Shared results
1
Gemma 2 27B only
35
Hy4 preview only
23
Like-for-like categories
1 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 2 27B not benchmarked, Hy4 preview 44.3 from 3 benchmarks.
Widest category
Knowledge, 15.8 points apart on average over 1 shared benchmark.
Widest single gap
LegalBench (Vals AI): Gemma 2 27B 68.0% against Hy4 preview 83.8%, 15.8 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against Hy4 preview $2.2509 per million output tokens, 3.5x apart.
Context window
Gemma 2 27B takes 8K tokens, Hy4 preview 1.05M.

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 2 27BBarsHy4 previewTies
Knowledge01
All shared boards01
CodingDirectional onlySix of these boards feed the Vibe Coding Index12 boards, none shared
Coding benchmarks for Gemma 2 27B and Hy4 preview
BenchmarkGemma 2 27BHy4 previewLeader
LMArena WebDevNot measured1631Only Hy4 preview 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
LMArena Text: coding1211Not measuredOnly Gemma 2 27B measured
LMArena Text: software and IT1228Not measuredOnly Gemma 2 27B measured
LMArena WebDev: ReactNot measured1653Only Hy4 preview measured
LMArena WebDev: HTMLNot measured1620Only Hy4 preview measured
Neither model has a result on the other 27 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Intelligence benchmarks for Gemma 2 27B and Hy4 preview
BenchmarkGemma 2 27BHy4 previewLeader
Epoch Capabilities Index122.1Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Agentic work benchmarks for Gemma 2 27B and Hy4 preview
BenchmarkGemma 2 27BHy4 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
Neither model has a result on the other 33 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
Reasoning benchmarks for Gemma 2 27B and Hy4 preview
BenchmarkGemma 2 27BHy4 previewLeader
GPQA Diamond (Epoch AI run)36.5%Not measuredOnly Gemma 2 27B measured
LMArena Text: hard prompts1198Not measuredOnly Gemma 2 27B measured
LMArena Text: expert1171Not measuredOnly Gemma 2 27B measured
LMArena Text: hard prompts in English1206Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 18 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Math benchmarks for Gemma 2 27B and Hy4 preview
BenchmarkGemma 2 27BHy4 previewLeader
OTIS Mock AIME1.4%Not measuredOnly Gemma 2 27B measured
ProofBenchNot measured75.0%Only Hy4 preview measured
MATH level 527.9%Not measuredOnly Gemma 2 27B measured
LMArena Text: math1212Not measuredOnly Gemma 2 27B measured
LMArena Text: mathematical work1221Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 8 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index01
Knowledge benchmarks for Gemma 2 27B and Hy4 preview
BenchmarkGemma 2 27BHy4 previewLeader
LegalBench (Vals AI)68.0%83.8%Hy4 preview
MedCode (Vals AI)Not measured43.3%Only Hy4 preview measured
MMLU75.7%Not measuredOnly Gemma 2 27B measured
LMArena Text: science1228Not measuredOnly Gemma 2 27B measured
LMArena Text: medicine and healthcare1198Not measuredOnly Gemma 2 27B measured
LMArena Text: legal and government1241Not measuredOnly Gemma 2 27B measured
LMArena Text: business and finance1208Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 11 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for Gemma 2 27B and Hy4 preview
BenchmarkGemma 2 27BHy4 previewLeader
Neither model has a result on 9 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index22 boards, none shared
General benchmarks for Gemma 2 27B and Hy4 preview
BenchmarkGemma 2 27BHy4 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
DTBench48.0%Not measuredOnly Gemma 2 27B measured
LMCA7.1%Not measuredOnly Gemma 2 27B measured
LMArena Text1231Not measuredOnly Gemma 2 27B measured
LMArena Text: instruction following1206Not measuredOnly Gemma 2 27B measured
LMArena Text: creative writing1240Not measuredOnly Gemma 2 27B measured
LMArena Text: English1242Not measuredOnly Gemma 2 27B measured
LMArena Text: non-English1217Not measuredOnly Gemma 2 27B measured
LMArena Text: Chinese1221Not measuredOnly Gemma 2 27B measured
LMArena Text: German1209Not measuredOnly Gemma 2 27B measured
LMArena Text: Japanese1175Not measuredOnly Gemma 2 27B measured
LMArena Text: Korean1174Not measuredOnly Gemma 2 27B measured
LMArena Text: French1248Not measuredOnly Gemma 2 27B measured
LMArena Text: Spanish1228Not measuredOnly Gemma 2 27B measured
LMArena Text: Russian1234Not measuredOnly Gemma 2 27B measured
LMArena Text: Polish1277Not measuredOnly Gemma 2 27B measured
LMArena Text: multi-turn1224Not measuredOnly Gemma 2 27B measured
LMArena Text: longer queries1230Not measuredOnly Gemma 2 27B measured
LMArena Text: writing and language1249Not measuredOnly Gemma 2 27B measured
LMArena Text: entertainment and media1212Not measuredOnly Gemma 2 27B measured
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 2 27B and Hy4 preview
BenchmarkGemma 2 27BHy4 previewLeader
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 2 27B$0.0010Fits in one request
Hy4 preview$0.0019Fits in one request

Gemma 2 27B costs less

Repository review

50K input + 3K output tokens

Gemma 2 27B$0.034Exceeds the context window
Hy4 preview$0.044Fits in one request

Gemma 2 27B costs less

Agent loop

200K input + 10K output tokens

Gemma 2 27B$0.137Exceeds the context window
Hy4 preview$0.173Fits in one request

Gemma 2 27B 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 2 27B and Hy4 preview
SpecificationGoogle Gemma 2 27BTencent Hy4 preview
MakerGoogleTencent
WeightsOpen weightsOpen weights
ReleasedJuly 13, 2024August 28, 2026
Context window8K1.05M
Input $/Mtok$0.65$0.7506
Output $/Mtok$0.65$2.2509
Coding indexNot benchmarked44.3
Independent measurements behind it03
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 2 27B better than Hy4 preview for coding?

Only Hy4 preview has a coding score, 44.3 on the Vibe Coding Index; Gemma 2 27B has none, so the two cannot be ranked on coding. Pick Gemma 2 27B for output tokens 3.5x cheaper ($0.65 vs $2.2509 per million).

Which is cheaper, Gemma 2 27B or Hy4 preview?

Gemma 2 27B costs $0.65 per million input tokens and $0.65 per million output tokens; Hy4 preview costs $0.7506 and $2.2509. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemma 2 27B or Hy4 preview?

Hy4 preview, with 1.05M tokens against 8K.

How many benchmarks is the Gemma 2 27B vs Hy4 preview comparison based on?

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

Compare next