Input Cost
$0.05/1M
Output Cost
$0.10/1M
Context Window
131K
Gemma 3 4B by Google demonstrates competitive pricing. View detailed benchmark data including scores across coding, math, reasoning, speed, and cost metrics.
Coding Benchmarks
AA Coding Index
2.796th of 96
Artificial Analysis composite coding score
Artificial Analysis (via OpenRouter)Cost Benchmarks
Context Benchmarks
Available from 2 providers
The same model costs different amounts depending on who serves it.
| Provider | Input / 1M | Output / 1M | Cached in | Context | Your key |
|---|---|---|---|---|---|
| Merge Gateway | $0.04 | $0.08 | — | 128K | — |
| Pioneer | $0.15 | $0.15 | $0.15 | 33K | — |
Gemma 3 4B — 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. This makes it one of the more affordable models.
What is the context window of Gemma 3 4B?
Gemma 3 4B has a context window of 131K tokens. This determines how much text, conversation history, and code the model can process in a single request.
Who created Gemma 3 4B?
Gemma 3 4B was created by Google. It is classified as a open source model in our catalogue.
Is Gemma 3 4B open source?
Yes, Gemma 3 4B is an open-source model. The model weights are publicly available for download and self-hosting.