Context
131K
Max output
131K
Serving providers
2
Cheapest input
$0.04 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.
Benchmarks
independent evaluations · source: Artificial AnalysisHeadline indices
Individual benchmarks · click a row for effort variants
| Benchmark | Best score | Effort | Cost / task | |
|---|---|---|---|---|
| CritPt | 0% | default | — | |
| EvalComputeProxy | 5.9 | default | — | |
| GPQA Diamond | 29% | default | — | |
| Humanity's Last Exam | 5% | default | — | |
| IFBench | 28% | default | — | |
| LiveCodeBench | 11% | default | — | |
| Long-Context Reasoning | 6% | default | — | |
| MMLU-Pro | 42% | default | — | |
| MMMU-Pro | 30% | default | — | |
| Omniscience | -83.3 | default | — | |
| SciCode | 7% | default | — | |
| TerminalBench Hard | 1% | default | — | |
| TerminalBench v2.1 | 0% | default | — | |
| τ-bench Banking | 0% | default | — | |
| τ²-bench | 5% | default | — |
Pricing by serving provider
standard tier · per 1M tokens · click a provider to expand| Serving provider | Input /1M | Output /1M | Endpoints | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DeepInfraCheapest | $0.04 | $0.08 | 1 | ||||||||||||||||
| |||||||||||||||||||
| Amazon BedrockCheapest | $0.04 | $0.08 | 1 | ||||||||||||||||
| |||||||||||||||||||
Price history
input + output $/1M since we started tracking Input Output
Cost calculator
estimate your monthly spend on this model$14
estimated / month
Model IDs
copy the exact identifier for your platformdeepinfra/google/gemma-3-4b-itgoogle.gemma-3-4b-it
Frequently asked questions
Gemma 3 4B pricing, context and availabilityHow much does Gemma 3 4B cost?
Gemma 3 4B costs $0.04 per 1M input tokens and $0.08 per 1M output tokens at its cheapest provider via DeepInfra.
What is the context window of Gemma 3 4B?
Gemma 3 4B accepts up to 131K tokens of context and can return up to 131K output tokens.
Which providers serve Gemma 3 4B?
Gemma 3 4B is available from 2 serving providers, each with its own pricing and model ID. DeepInfra is currently the cheapest.
What can Gemma 3 4B do?
Gemma 3 4B supports image input (vision) and tool use.
Other Google models
compare pricing across the Google lineupGemini 2.5 Flash$0.15/1M · 8 providersGemma 3 27B$0.00/1M · 7 providersGemini 2.5 Pro$1.25/1M · 7 providersGemini 3 Flash Preview$0.50/1M · 5 providersGemini 3 Pro Preview$2.00/1M · 5 providersGemma 3 12B$0.05/1M · 4 providersGemini 2.0 Flash 001$0.10/1M · 4 providersGemini 3.1 Pro Preview$2.00/1M · 4 providers
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI