All models

Gemma 3n 4B vs Qwen3 30B A3B Instruct 2507

Gemma 3n 4B at $0.069 in and $0.138 out and Qwen3 30B A3B Instruct 2507 at $0.055 in and $0.222 out — per million tokens, from the same wallet.

Gemma 3n 4B

Google

0.05¢

for a client proposal

$0.069 in · $0.138 out / 1M

33K context · released May 2025

Full page →
Q

Qwen3 30B A3B Instruct 2507

Qwen

0.05¢

for a client proposal

$0.055 in · $0.222 out / 1M

128K context · released July 2025

Full page →

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

At a glance

  • Cheapest input: Qwen3 30B A3B Instruct 2507 at $0.055 per million tokens.
  • Cheapest output: Gemma 3n 4B at $0.138 per million tokens.
  • Largest context: Qwen3 30B A3B Instruct 2507 at 128K tokens — about 180 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 3n 4B
0.02¢
Qwen3 30B A3B Instruct 2507
0.02¢

Draft a client proposal from notes

5K in · 800 out
Gemma 3n 4B
0.05¢
Qwen3 30B A3B Instruct 2507
0.05¢

Context-heavy session (Alyph workspace)

155K in · 4K out
Gemma 3n 4B
needs 155K ctx
Qwen3 30B A3B Instruct 2507
needs 155K ctx

Analyze a 50-page legal contract

35K in · 1K out
Gemma 3n 4B
needs 35K ctx
Qwen3 30B A3B Instruct 2507
0.22¢

Large architecture refactor

250K in · 3K out
Gemma 3n 4B
needs 250K ctx
Qwen3 30B A3B Instruct 2507
needs 250K ctx

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
free4.4¢$0.090 tokens250k500k750k1000k
Gemma 3n 4B
Qwen3 30B A3B Instruct 2507

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

Pricing

Gemma 3n 4B
Qwen3 30B A3B Instruct 2507
Input / 1M tokens
$0.069
$0.055
Output / 1M tokens
$0.138
$0.222

Specs

Gemma 3n 4B
Qwen3 30B A3B Instruct 2507
Provider
Released
May 2025
July 2025
Context window
33K
128K
Max output
32K
Input
Text
Text
Output
Text
Text
Reasoning
Answers directly
Answers directly
Knowledge cutoff
2024-08-31
2025-06-30

Try it with real numbers

2K tokens in · 500 tokens out.

Gemma 3n 4B

Google

0.02¢

for this task

67% input · 33% output

Full pricing →

Qwen3 30B A3B Instruct 2507

Qwen

0.02¢

for this task

50% input · 50% output

Full pricing →

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

Your $5 welcome credit covers about 11,672 of these.

Which should you pick?

For long documents, Qwen3 30B A3B Instruct 2507 has the largest context window here — 128K tokens.

On price, Qwen3 30B A3B Instruct 2507 is the cheapest of the two on a typical task, at about 0.05¢.

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

Questions, answered

Which is cheaper, Gemma 3n 4B or Qwen3 30B A3B Instruct 2507?

On a typical client proposal (5K tokens in, 800 out): Qwen3 30B A3B Instruct 2507 at 0.05¢; Gemma 3n 4B at 0.05¢. Long prompts can change the order when long-context rates apply.

Which has the largest context window?

Qwen3 30B A3B Instruct 2507 — 128K tokens, about 180 pages.

Can I run Gemma 3n 4B and Qwen3 30B A3B Instruct 2507 side by side on Alyph?

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

Ask both at once

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