Gemma 3 4B vs GPT-5.1-Codex
Google vs OpenAI — benchmarks, pricing, and capabilities side by side.
- •GPT-5.1-Codex has the higher intelligence index (88.2 vs 45.8)
- •Gemma 3 4B is cheaper ($0.04 vs $1.25 per 1M input)
- •GPT-5.1-Codex is faster
- •GPT-5.1-Codex has a larger context window (400K)
| Gemma 3 4B | GPT-5.1-Codex | |
|---|---|---|
| Intelligence index | 45.8 | 88.2 |
| Developer | OpenAI | |
| Type | Multimodal | Multimodal |
| Access | Open weights | API only |
| Context window | 131,072 tokens | 400,000 tokens |
| Input price | $0.04 / 1M | $1.25 / 1M |
| Output price | $0.08 / 1M | $10.00 / 1M |
| Speed | 33 tok/s | 188 tok/s |
| Released | March 13, 2025 | November 13, 2025 |
| Parameters | — | — |
| Input modalities | Text, Image | Text, Image |
| Output modalities | Text | Text |
Shared benchmarks
Gemma 3 4B
GPT-5.1-Codex
GPQA Diamond
30.8
86
LiveCodeBench
12.6
84.9
MMLU-Pro
43.6
86