Compare/Gemma 3n E2B Instruct vs GPT-5.4 nano (medium)

Gemma 3n E2B InstructvsGPT-5.4 nano (medium)

Side-by-side comparison of pricing, 12 benchmarks, and generation speed.

Google

Gemma 3n E2B Instruct

Input
$0/M
Output
$0/M
Speed
43 tok/s
TTFT
0.40s
OpenAI

GPT-5.4 nano (medium)

Input
$0.2/M
Output
$1.25/M
Speed
171 tok/s
TTFT
2.38s

Winner by Category

Cheaper
Gemma 3n E2B Instruct
Faster (tok/s)
GPT-5.4 nano (medium)
Lower Latency
Gemma 3n E2B Instruct
Benchmarks (5-7)
GPT-5.4 nano (medium)

Pricing Comparison

MetricGemma 3n E2B InstructGPT-5.4 nano (medium)
Input ($/M tokens)$0$0.2
Output ($/M tokens)$0$1.25
Cost for 1M input + 100K output tokens:
Gemma 3n E2B Instruct$0.00
GPT-5.4 nano (medium)$0.33

Speed Comparison

Output Speed (tokens/s) — higher is better
Gemma 3n E2B Instruct
43 tok/s
GPT-5.4 nano (medium)
171 tok/s
Time to First Token (seconds) — lower is better
Gemma 3n E2B Instruct
0.40s
GPT-5.4 nano (medium)
2.38s

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
4.838.1
Coding Index
2.235.0
Math Index
10.3
GPQA Diamond
22.9%76.1%
MMLU-Pro
37.8%
LiveCodeBench
9.5%
AIME 2025
10.3%
MATH-500
69.1%
Humanity's Last Exam
4.0%14.7%
SciCode
5.2%38.4%
IFBench
22.0%64.4%
TerminalBench
0.8%33.3%
Gemma 3n E2B Instruct5 wins
7 winsGPT-5.4 nano (medium)

Frequently Asked Questions

Which is cheaper, Gemma 3n E2B Instruct or GPT-5.4 nano (medium)?

Gemma 3n E2B Instruct is cheaper overall. Its blended price (3:1 input/output ratio) is $0.00/M tokens vs $0.46/M for GPT-5.4 nano (medium).

Which model performs better on benchmarks?

GPT-5.4 nano (medium) wins 7 out of 12 benchmarks compared to 5 for Gemma 3n E2B Instruct. See the detailed benchmark chart above for per-category results.

Which is faster for real-time applications?

GPT-5.4 nano (medium) generates tokens faster at 171 tok/s vs 43 tok/s. Gemma 3n E2B Instruct also has lower time-to-first-token (0.40s vs 2.38s).

When should I use Gemma 3n E2B Instruct vs GPT-5.4 nano (medium)?

Choose based on your priorities: Gemma 3n E2B Instruct for lower cost, GPT-5.4 nano (medium) for stronger benchmark performance, and GPT-5.4 nano (medium) for faster generation. For latency-sensitive apps, check the TTFT comparison above.