Gemma API pricing
Google's open-weight models. Gemma 4 comes as a 31B dense model and a 26B mixture-of-experts model with 3.8B active parameters.
Gemma 4 26B-A4B
What it costs in practice
Gemma 4 26B-A4B at list prices, no batch discount.
| 1,000 chat replies1,500 tokens in and 300 out each | $0.17 |
|---|---|
| Summarising 100 long reports20,000 tokens in and 800 out each | $0.15 |
| A month of a coding agent400 tasks, 85% of input cached | $52.43 |
The coding-agent example assumes 85% of input is served from cache, typical for agents that resend the same context each step. Model your own workload
Details
gemma-4-26b-a4b-itCheapest host listed on OpenRouter. Prices vary by host.
Checked 27 Sep 2026 against OpenRouter listing .
Other Gemma models
Prices are the cheapest listed on OpenRouter; hosts vary.
| Model | Input / 1M | Output / 1M | Cached input | Context | Released |
|---|---|---|---|---|---|
Open weights · via OpenRouter |
$0.090 | $0.34 | — | 256K | 2 Apr 2026 |
Gemma 4 31B details
Gemma 4 31B
$0.090 / $0.34 per 1M tokens256K context
Cheapest host listed on OpenRouter. Prices vary by host.
Checked 27 Sep 2026 against OpenRouter listing .
Compare Gemma 4 26B-A4B
No ready-made comparisons for this family yet.
Price history
All changesNo price changes recorded since we began tracking in June 2026.
Google pricing rules
- Batch requests cost 50% less.
- Gemini 3.1 Pro charges a higher rate for prompts above 200K tokens.
- Gemini 3.8 Flash is on a promotional price until 31 December 2026.
Questions
How much does Gemma 4 26B-A4B cost?
As of 27 Sep 2026, Gemma 4 26B-A4B costs $0.0675 per million input tokens and $0.225 per million output tokens. Prices checked 27 Sep 2026.
What is Gemma 4 26B-A4B's context window?
256K tokens.