Gemma 3 4B
A Google model. 1 prices across 1 channels side by side, each with its source and check date – plus specs, licence, speed and benchmarks.
- Official in/out per 1M
- —
- Lowest (DeepInfra)
- $0.05 / $0.1
- Context
- 131K
- AA index
- 4.8
Prices checked 2026-10-22Official sources linked on every rowNo estimatesCheapest LLM APIs →
01Specs at a glance
Official values first; gaps filled from OpenRouter’s API where the vendor page is silent.
| Vendor | |
|---|---|
| Context window | 131K (131,072 tokens) |
| Max output | 16K |
| Input | Text · Image |
| Output | Text |
| Tool calling / JSON | No / Yes |
| Weights & licence | Open weights · Gemma Terms · Hugging Face gated – request access |
| Parameters | 4.3B (from weight files) |
| Released | Mar 13, 2025 |
| Model IDs | google/gemma-3-4b-it |
02Prices on 1 channels
Per 1M tokens, in the currency each source publishes (1 USD = 6.7 CNY for the blended column). Sorted: official first, then cheapest.
| Channel | Source | Input | Output | Cache hit | Blended $ | Context | Notes |
|---|---|---|---|---|---|---|---|
| DeepInfra · bf16 Via OpenRouter / provider listed there | OpenRouter 10-22 | $0.05 | $0.1 | — | 0.063 | 131K | DeepInfra price as listed on OpenRouter (pass-through; quantization=bf16; discount field=0); not checked against DeepInfra's own page |
“Official” = vendor pricing page; “Platform” = the platform’s own pricing page; “OpenRouter” = price listed on OpenRouter, not checked on the platform’s site. Click a source tag to open the original page.
03Where you can use it
Derived only from the price sources above. Country restrictions are set by each vendor – check their terms before you sign up.
- Via OpenRouter / provider listed there
DeepInfra - Self-host the open weights
GPU / VRAM sizing and build plans→
04Performance
All results →Speed and AA index from Artificial Analysis public leaderboards (not our own tests); benchmark scores from our benchmark library, best result per benchmark.
- AA indexGemma 3 4B Instruct
- 4.8
- AA index per $ (blended)
- 77.35
| Benchmark | Best score | Source | Date |
|---|---|---|---|
| LMArena Text | 1303 | official | 2026-10-08 |
| GPQA Diamond | 23.2% | independent | 2026-08-28 |
| MMLU-Pro | 43.6% | vendor | 2026-03-11 |
| AIME (OTIS Mock AIME 2024–2025) | 7.5% | independent | 2026-08-28 |
| BFCL v4 (function calling) | 19.6% | official | 2026-10-17 |
05Price changes we recorded
All price changes →From our daily re-checks of the sources above.
No price change recorded since we started tracking (2026-10-10).
06More from Google
FAQ
How much does the Gemma 3 4B API cost?
There is no official pay-as-you-go price in our data. The lowest listed price is $0.05 / $0.1 on DeepInfra.
What is the context window of Gemma 3 4B?
131K tokens of context, up to 16K output tokens. Platforms may cap it lower – see the table.
Is Gemma 3 4B open source?
Yes, the weights are published on Hugging Face (google/gemma-3-4b-it). Licence: Gemma Terms.