Gemma 3 4B
Gemma 3 introduces multimodality, supporting vision-language input and text outputs.
At a glance
- Input / 1M
- $0.05
- Output / 1M
- $0.10
- Context
- 131K
- Max output
- 16K
- Intelligence
- 4.8
- Released
- Mar 2025
Pricing
Gemma 3 4B API pricing
Per-token rates, plus what common tasks actually cost.
| Input tokensPer 1M tokens | $0.05 |
|---|---|
| Output tokensPer 1M tokens | $0.10 |
| Cached input (read)Per 1M tokens | Not available |
| Cache writePer 1M tokens | Not available |
Chat message
2K in, 500 out
$0.15
per 1,000 requests
Coding task
30K in, 4K out
$1.90
per 1,000 requests
Long document summary
150K in, 2K out
$7.70
per 1,000 requests
Benchmarks
Gemma 3 4B benchmark scores
Independent scores from Artificial Analysis. Higher is better.
Intelligence index
4.8
Coding index
2.7
Agentic index
Not available
Specs
Context window and capabilities
What it can read, what it can write, and which API features it supports.
- Context window
- 131K tokens
- Max output
- 16K tokens
- Input types
- Image, Text
- Output types
- Text
- Reasoning effort
- Not available
- Release date
- March 13, 2025
- Knowledge cutoff
- August 31, 2024
- Tool calling
- Structured outputs
- JSON mode
- Reasoning
- Temperature
- Stop sequences
- Deterministic seed
- Verbosity control
Compare
Gemma 3 4B vs other models
See how Gemma 3 4B stacks up head to head on price, benchmarks, and features.
Gemma 3 4B vs Gemma 3 27B
Google vs Google
See comparisonGemma 3 4B vs Llama 3.1 8B Instruct
Google vs Meta
See comparisonGemma 3 4B vs Mistral Small 3
Google vs Mistral
See comparisonGemma 3 4B vs Nova Micro 1.0
Google vs Amazon
See comparisonGemma 3 4B vs Phi 4
Google vs Microsoft
See comparisonGemma 3 4B vs Ministral 3 8B 2512
Google vs Mistral
See comparisonAlternatives
Gemma 3 4B alternatives
Similar models worth considering, and where each one has the edge.
Meta
Llama 3.1 8B Instruct
Mistral
Mistral Small 3
Microsoft
Phi 4
Want to learn about other models? Browse all models
FAQ
Frequently asked questions
How much does Gemma 3 4B cost?
Gemma 3 4B costs $0.05 per 1M input tokens and $0.10 per 1M output tokens through the API. A typical chat message costs about $0.15 per 1,000 messages.
What is the context window of Gemma 3 4B?
Gemma 3 4B accepts up to 131K tokens of input and can write up to 16K tokens in a single response.
What is the best alternative to Gemma 3 4B?
Llama 3.1 8B Instruct from Meta is a strong alternative. It offers: 1.3x cheaper output, higher intelligence score.
Can I use Gemma 3 4B alongside other models?
Yes. Shortcut Chat sends one prompt to Gemma 3 4B and any other models you pick at the same time, so you can compare answers side by side.
Try Gemma 3 4B next to every other model.
Use Gemma 3 4B alongside all the other models. Use one at a time, or multiple together. Get the best answer from every AI.