Google Gemma 4 31B API Pricing
Google Gemma 4 31B API pricing: $0.20 per 1M tokens for input and $0.40 per 1M tokens for output, from OpenRouter. Published Last checked · Source (data) · Methodology
OpenRouter: Amount worked out from the source page: $0.20 per 1M tokens, in USD · as shown in the United States on 9 Nov 2026 · the page does not say whether tax is included; we do not assume it is excluded.
Prices USD per 1M tokens, as listed
- $0.20Input per 1M tokens, through OpenRouter Published
- $0.40Output per 1M tokens, through OpenRouter Published
All prices by channel
| Price per 1M tokens | Provider direct | Through OpenRouter | Previous prices by channel |
|---|---|---|---|
| Input | — | $0.20 Published | — |
| Output | — | $0.40 Published | — |
Input price through OpenRouter, 16 Oct 2026 – 9 Nov 2026
16 Oct 2026$0.20 → $0.10 → $0.209 Nov 2026
OpenRouter providers who serves this model through OpenRouter, at what price
OpenRouter sends a call without a pinned provider to one of these endpoints, and each endpoint has its own price. Prices are USD per 1M tokens, input / output.
Pinned min: input $0.10 · CoreWeave (coreweave/fp4); output $0.10 · Modal (modal)
Unpinned range: input $0.10–$0.75, output $0.10–$1.15 across 19 endpoints of 16 providers (listing shows $0.20 / $0.40).
Models with the widest provider price spread on OpenRouter
Request fragment that pins CoreWeave (coreweave/fp4):
{"provider": {"order": ["coreweave/fp4"], "allow_fallbacks": false}}Request fragment that pins Modal (modal):
{"provider": {"order": ["modal"], "allow_fallbacks": false}}With fallbacks turned off, OpenRouter does not move the call to another provider. A full endpoint tag pins that endpoint; the provider name alone covers all of its endpoints (OpenRouter provider routing).
All endpoints (19), by input price
| Provider | Endpoint tag | Precision | Input | Output | Context, tokens | Status code |
|---|---|---|---|---|---|---|
| CoreWeave | coreweave/fp4 | fp4 | $0.10 | $0.34 | 262,144 | 0 |
| Venice | venice/fp4 | fp4 | $0.12 | $0.36 | 256,000 | 0 |
| Chutes | chutes/fp4 | fp4 | $0.12 | $0.37 | 131,072 | 0 |
| DeepInfra | deepinfra/turbo | fp4 | $0.135 | $0.51 | 262,144 | 0 |
| Crusoe | crusoe/bf16 | bf16 | $0.14 | $0.40 | 262,144 | 0 |
| DekaLLM | dekallm | Not stated | $0.14 | $0.40 | 262,144 | 0 |
| Friendli | friendli | Not stated | $0.14 | $0.40 | 262,144 | 0 |
| Novita | novita/bf16 | bf16 | $0.14 | $0.40 | 262,144 | 0 |
| NextBit | nextbit/fp4 | fp4 | $0.15 | $0.40 | 262,144 | 0 |
| Parasail | parasail/fp8 | fp8 | $0.15 | $0.40 | 262,144 | 0 |
| DeepInfra | deepinfra/fp8/flex | fp8 | $0.16 | $0.32 | 262,144 | 0 |
| DeepInfra | deepinfra/fp8 | fp8 | $0.20 | $0.40 | 262,144 | 0 |
| DeepInfra | deepinfra/fp8/priority | fp8 | $0.30 | $0.60 | 262,144 | 0 |
| Modal | modal | Not stated | $0.34 | $0.10 | 131,072 | 0 |
| Io Net | io-net | Not stated | $0.361 | $1.0925 | 262,144 | 0 |
| SambaNova | sambanova | Not stated | $0.38 | $1.15 | 131,072 | -2 |
| PrimeIntellect | primeintellect/fp4 | fp4 | $0.40 | $0.67 | 262,144 | 0 |
| ModelRun | modelrun/fp4 | fp4 | $0.75 | $1.00 | 262,144 | 0 |
| SiliconFlow | siliconflow/fp8 | fp8 | $0.75 | $1.00 | 262,144 | 0 |
Sorted by input price, then output price. Precision is the quantization field of the endpoints list. Status code is the status field of the endpoints list, as read.
How we got this number
- What we read: the published price on openrouter.ai/api/v1/models
- Checked: ; tracked since 16 Oct 2026
- Shown in: the United States
- Checks so far: 25 checks since 16 Oct 2026
- What changed: the listed price moved between checks since 16 Oct 2026; see the record history
- Page updated:
Other measured facts
| Question | Answer | Checked | Status |
|---|---|---|---|
| How much does Google Gemma 4 31B cost per 1M output tokens on OpenRouter? | $0.40 per 1M tokens | Published | |
| What is the context window of Google Gemma 4 31B on OpenRouter, in tokens? | 262,144 tokens | Published | |
| What is the maximum output length of Google Gemma 4 31B on OpenRouter, in tokens? | 16,384 tokens | Published |
History
The listed price moved between the 25 checks since 16 Oct 2026; every reading is in the record history below.
- — First check: $0.20 per 1M tokens
- Short-lived or unconfirmed moves are not shown as changes.
The source record lists $0.0000002 per token ($0.20 per 1M tokens), fetched on 9 Nov 2026.
The source record, as published
"prompt":"0.0000002"
Latest briefings each price change recalculated as a task cost
- DeepSeek V4 Pro 0813: price rise input $0.115 → $0.111 per 1M tokens (-3 %), output $4.00 → $4.44 per 1M tokens (+11 %)
- DeepSeek V4.1 Flash 1017: price cut input $0.300 → $0.0060 per 1M tokens (-98 %), output $1.20 → $0.500 per 1M tokens (-58 %)
- MoonshotAI Kimi K2.5: price rise input $0.500 → $0.532 per 1M tokens (+6 %), output $2.50 → $3.33 per 1M tokens (+33 %)
Record history — 100 records for 4 questions
- Last record
- Shown in
- the United States
| Time | Value | Status |
|---|---|---|
| 9 Nov 2026 | $0.20 per 1M tokens | Published |
| 8 Nov 2026 | $0.20 per 1M tokens | Published |
| 7 Nov 2026 | $0.20 per 1M tokens | Published |
| 6 Nov 2026 | $0.20 per 1M tokens | Published |
| 5 Nov 2026 | $0.20 per 1M tokens | Published |
| 4 Nov 2026 | $0.20 per 1M tokens | Published |
| 3 Nov 2026 | $0.20 per 1M tokens | Published |
| 2 Nov 2026 | $0.20 per 1M tokens | Published |
| 1 Nov 2026 | $0.20 per 1M tokens | Published |
| 31 Oct 2026 | $0.20 per 1M tokens | Published |
| 30 Oct 2026 | $0.20 per 1M tokens | Published |
| 29 Oct 2026 | $0.20 per 1M tokens | Published |
| 28 Oct 2026 | $0.20 per 1M tokens | Published |
| 27 Oct 2026 | $0.20 per 1M tokens | Published |
| 26 Oct 2026 | $0.10 per 1M tokens | Published |
| Time | Value | Status |
|---|---|---|
| 9 Nov 2026 | $0.40 per 1M tokens | Published |
| 8 Nov 2026 | $0.40 per 1M tokens | Published |
| 7 Nov 2026 | $0.40 per 1M tokens | Published |
| 6 Nov 2026 | $0.40 per 1M tokens | Published |
| 5 Nov 2026 | $0.40 per 1M tokens | Published |
| 4 Nov 2026 | $0.40 per 1M tokens | Published |
| 3 Nov 2026 | $0.40 per 1M tokens | Published |
| 2 Nov 2026 | $0.40 per 1M tokens | Published |
| 1 Nov 2026 | $0.40 per 1M tokens | Published |
| 31 Oct 2026 | $0.40 per 1M tokens | Published |
| 30 Oct 2026 | $0.40 per 1M tokens | Published |
| 29 Oct 2026 | $0.40 per 1M tokens | Published |
| 28 Oct 2026 | $0.40 per 1M tokens | Published |
| 27 Oct 2026 | $0.40 per 1M tokens | Published |
| 26 Oct 2026 | $0.34 per 1M tokens | Published |
| Time | Value | Status |
|---|---|---|
| 9 Nov 2026 | 262,144 tokens | Published |
| 8 Nov 2026 | 262,144 tokens | Published |
| 7 Nov 2026 | 262,144 tokens | Published |
| 6 Nov 2026 | 262,144 tokens | Published |
| 5 Nov 2026 | 262,144 tokens | Published |
| 4 Nov 2026 | 262,144 tokens | Published |
| 3 Nov 2026 | 262,144 tokens | Published |
| 2 Nov 2026 | 262,144 tokens | Published |
| 1 Nov 2026 | 262,144 tokens | Published |
| 31 Oct 2026 | 262,144 tokens | Published |
| 30 Oct 2026 | 262,144 tokens | Published |
| 29 Oct 2026 | 262,144 tokens | Published |
| 28 Oct 2026 | 262,144 tokens | Published |
| 27 Oct 2026 | 262,144 tokens | Published |
| 26 Oct 2026 | 262,144 tokens | Published |
| Time | Value | Status |
|---|---|---|
| 9 Nov 2026 | 16,384 tokens | Published |
| 8 Nov 2026 | 16,384 tokens | Published |
| 7 Nov 2026 | 16,384 tokens | Published |
| 6 Nov 2026 | 16,384 tokens | Published |
| 5 Nov 2026 | 16,384 tokens | Published |
| 4 Nov 2026 | 16,384 tokens | Published |
| 3 Nov 2026 | 16,384 tokens | Published |
| 2 Nov 2026 | 16,384 tokens | Published |
| 1 Nov 2026 | 16,384 tokens | Published |
| 31 Oct 2026 | 16,384 tokens | Published |
| 30 Oct 2026 | 16,384 tokens | Published |
| 29 Oct 2026 | 16,384 tokens | Published |
| 28 Oct 2026 | 16,384 tokens | Published |
| 27 Oct 2026 | 16,384 tokens | Published |
| 26 Oct 2026 | 235,929 tokens | Published |
Showing the latest 60 of 100 records; the full history is in data.json and data.csv.