Gemma 3 4B is 83.3× cheaper per million tokens (blended). Gemma 3 4B has the larger context window (131,072 vs 128,000 tokens). Gemma 3 4B is open-weights; the other is not.
Gemma 3 4B vs GPT-4o
Live catalog fields. Best-in-row is highlighted.
Gemma 3 4Bopen
Google · google__gemma-3-4b-it
GPT-4o
OpenAI · openai__gpt-4o
Identity
| Field | google__gemma-3-4b-it | openai__gpt-4o |
|---|---|---|
| Provider | OpenAI | |
| Slug | google__gemma-3-4b-it | openai__gpt-4o |
| Status | live | live |
| Open weights | Yes | No |
| License | — | — |
| HuggingFace | google/gemma-3-4b-it | — |
Quality
| Field | google__gemma-3-4b-it | openai__gpt-4o |
|---|---|---|
| Quality index (0–100) | — | — |
Cost
| Field | google__gemma-3-4b-it | openai__gpt-4o |
|---|---|---|
| Input $ / 1M tokens | $0.05 | $2.50 |
| Cached input $ / 1M | — | $1.25 |
| Output $ / 1M tokens | $0.10 | $10.00 |
Context
| Field | google__gemma-3-4b-it | openai__gpt-4o |
|---|---|---|
| Max context tokens | 131,072 | 128,000 |
| Max output tokens | 16,384 | 16,384 |
Modalities
| Field | google__gemma-3-4b-it | openai__gpt-4o |
|---|---|---|
| Input | text, image | text, image, file |
| Output | text | text |