LLMcompare

Search

Search for a command to run...

A · open · Gemma

Gemma 3 4B

Google

B · open · Gemma

Gemma 4 26B

Google

0:7

overall capability wins (1 ties across 8 scored). Gemma 4 26B leads overall.

  • Reasoning0:3
  • Coding0:1
  • Arena0:1
  • Pricing3:0
  • Speed2:0
  • Specs0:2

Verdict

Gemma 4 26B leads coding (widest gap: +64.5 on LiveCode); Gemma 4 26B ranks higher on LMArena (+135 Elo); Gemma 4 26B offers ~2.0x larger context (256K vs 128K).

  • Gemma 4 26B leads coding (widest gap: +64.5 on LiveCode)
  • Gemma 4 26B ranks higher on LMArena (+135 Elo)
  • Gemma 4 26B offers ~2.0x larger context (256K vs 128K)
  • Gemma 3 4B is ~5.2x cheaper on a blended token basis than Gemma 4 26B

Cost for 1M in + 250K out

Illustrative chat workload at primary-provider list prices.

Gemma 3 4B
$0.06
Gemma 4 26B
$0.30

Gemma 3 4B is about 5.0x cheaper on this workload.

Price per 1M tokens

Full comparison

Organization

Google

Google

Family

Gemma

Gemma

License

Gemma

Apache 2.0

Open weights

Yes

Yes

Release

Mar 12, 2025

Apr 8, 2026

Knowledge cutoff

-

-

API / provider

Together / Fireworks (ref.)

Google AI / self-host

Modalities

text, image → text

text, image → text

Specs

Context window

128K

256K

B +128K

Max output

8K

8K

tie

Parameters

4B

26B (3.8B act.)

B +22

Pricing

Input $/1M

$0.04

$0.15

A +$0.11

Output $/1M

$0.08

$0.60

A +$0.52

Blended $/1M (3∶1)

$0.05

$0.26

A +$0.21

Speed

tok/s

160

95

A +65

TTFT (s)

0.18

0.28

A +0.10

Reasoning

MMLU-Pro

43.6

82.6

B +39.0 pts

GPQA Diamond

29.1

82.3

B +53.2 pts

Humanity's Last Exam

5.3

8.7

B +3.4 pts

AIME 2025

12.7

—

—

MATH-500

76.6

—

—

Humanity's Last Exam (with tools)

—

—

—

AA-Omniscience Accuracy

7.7

—

—

AA-LCR v1.1

6.7

—

—

CritPt

—

—

—

MMMU-Pro

29.9

—

—

IFBench

28.3

—

—

Chartography

—

—

—

Chartography (With Tools)

—

—

—

Coding

SWE-bench Verified

—

—

—

SWE-bench Pro

—

—

—

SWE-bench Multilingual

—

—

—

LiveCodeBench

12.6

77.1

B +64.5 pts

Terminal-Bench 2.1

0.4

—

—

Aider Polyglot

—

—

—

Terminal-Bench 3

—

—

—

BigCodeBench

—

—

—

SciCode

7.3

—

—

CursorBench

—

—

—

SWE-Rebench

—

—

—

NL2Repo-Bench

—

—

—

DeepSWE

—

—

—

WebDev Arena

—

1,362

—

Terminal-Bench 4.0

—

—

—

CursorBench 4.0

—

—

—

FrontierCode v1.1 (Main)

—

—

—

Arena

LMArena Elo

1,303

1,438

B +135 Elo

Gemma 3 4B

Context
128K / 8K out
Parameters
4B
Price
$0.04 / $0.08
Speed
160 tok/s · 0.18s TTFT
Modalities
text, image → text
License
Gemma

Small multimodal Gemma 3 with long context — strong on-device and edge deployment option.

Gemma 4 26B

Context
256K / 8K out
Parameters
26B (3.8B act.)
Price
$0.15 / $0.60
Speed
95 tok/s · 0.28s TTFT
Modalities
text, image → text
License
Apache 2.0

Open Gemma 4 mid-size instruct model available via Google Cloud Agent Platform and self-host.

Benchmark charts

Winner bars are emphasized. Per-benchmark deltas sit above each chart.

Reasoning & knowledge

MMLU-Pro: B +39.0GPQA: B +53.2HLE: B +3.4

Coding

LiveCode: B +64.5

Arena

Arena Elo: B +135

Pick a different pair · Back to catalog