All models

Gemma 3 4B vs gpt-oss-120b vs Grok 4.20

Gemma 3 4B at $0.058 in and $0.115 out, gpt-oss-120b at $0.043 in and $0.196 out, and Grok 4.20 at $1.44 in and $2.88 out — per million tokens, from the same wallet.

Gemma 3 4B

Google

0.04¢

for a client proposal

$0.058 in · $0.115 out / 1M

131K context · released March 2025

Full page →

gpt-oss-120b

OpenAI

0.04¢

for a client proposal

$0.043 in · $0.196 out / 1M

131K context · released August 2025

Full page →
x

Grok 4.20

xAI

0.95¢

for a client proposal

$1.44 in · $2.88 out / 1M

2M context · released 4 months ago

Full page →

Asking all three at once — identical prompt, identical context — costs about for a typical client proposal.

At a glance

  • Cheapest input: gpt-oss-120b at $0.043 per million tokens.
  • Cheapest output: Gemma 3 4B at $0.115 per million tokens.
  • Largest context: Grok 4.20 at 2M tokens — about 2,900 pages.

Cost per task

Estimated totals at the rates above. Solid bar is input, lighter bar is output.

Quick code fix

2K in · 500 out
Gemma 3 4B
0.02¢
gpt-oss-120b
0.02¢
Grok 4.20
0.43¢

Draft a client proposal from notes

5K in · 800 out
Gemma 3 4B
0.04¢
gpt-oss-120b
0.04¢
Grok 4.20
0.95¢

Context-heavy session (Alyph workspace)

155K in · 4K out
Gemma 3 4B
needs 155K ctx
gpt-oss-120b
needs 155K ctx
Grok 4.20
$0.23

Analyze a 50-page legal contract

35K in · 1K out
Gemma 3 4B
0.21¢
gpt-oss-120b
0.17¢
Grok 4.20
$0.05

Large architecture refactor

250K in · 3K out
Gemma 3 4B
needs 250K ctx
gpt-oss-120b
needs 250K ctx
Grok 4.20
$0.74

Long-context rate applied at this input size.

Solid part of each bar is input tokens, the lighter part is output. Models that don’t fit a task are marked instead of priced.

Cost vs Token Amount

Drag the slider to adjust the split between input and output workload.

80% Input20% Output
free$1.73$3.450 tokens250k500k750k1000k
Gemma 3 4B
gpt-oss-120b
Grok 4.20

Adjust the ratio slider to change how output tokens influence the final price for equivalent workloads.

Pricing

Gemma 3 4B
gpt-oss-120b
Grok 4.20
Input / 1M tokens
$0.058
$0.043
$1.44
Output / 1M tokens
$0.115
$0.196
$2.88
Cached input / 1M
$0.230
Web search
0.57¢ / search

Specs

Gemma 3 4B
gpt-oss-120b
Grok 4.20
Released
March 2025
August 2025
4 months ago
Context window
131K
131K
2M
Max output
16K
131K
Input
Text and Images
Text
Text, Images, and Files
Output
Text
Text
Text
Reasoning
Answers directly
Shows its thinking
Shows its thinking
Knowledge cutoff
2024-08-31
2024-06-30
2025-09-01

Try it with real numbers

2K tokens in · 500 tokens out.

Gemma 3 4B

Google

0.02¢

for this task

67% input · 33% output

Full pricing →

gpt-oss-120b

OpenAI

0.02¢

for this task

47% input · 53% output

Full pricing →

Grok 4.20

xAI

0.43¢

for this task

67% input · 33% output

Full pricing →

All 3, same prompt and context: 0.47¢. That is the entire cost of the comparison.

Your $5 welcome credit covers about 1,071 of these.

Which should you pick?

For long documents, Grok 4.20 has the largest context window here — 2M tokens.

On price, gpt-oss-120b is the cheapest of the three on a typical task, at about 0.04¢.

For images or files, Gemma 3 4B and Grok 4.20 can read them directly; gpt-oss-120b is text-only.

If you want to watch the model think, gpt-oss-120b and Grok 4.20 show reasoning; the other answers directly.

Or don’t pick. Send the identical prompt to all three, read the answers side by side, and keep the winner. How to run a fair bake-off →

Questions, answered

Which is cheapest — Gemma 3 4B, gpt-oss-120b, or Grok 4.20?

On a typical client proposal (5K tokens in, 800 out): gpt-oss-120b at 0.04¢; Gemma 3 4B at 0.04¢; Grok 4.20 at 0.95¢. Long prompts can change the order when long-context rates apply.

Which has the largest context window?

Grok 4.20 — 2M tokens, about 2,900 pages.

Can I run Gemma 3 4B, gpt-oss-120b, and Grok 4.20 side by side on Alyph?

Yes — that is what Alyph is built for: the identical prompt with identical context to all 3, answers rendered side by side, billed from one wallet. This exact combination costs about 1¢ for a typical task.

Ask all three at once

Identical prompt, identical context, answers side by side — about for a typical client proposal. Free to start, with $5 of credit.