Gemma 4 31B API pricing
Gemma 4 31B by Nextbit costs $0.125 per 1M input tokens and $0.34 per 1M output tokens (1M in + 1M out = $0.465).
- API model id
gemma4:31b- Input / 1M
- $0.125
- Output / 1M
- $0.34
- Cached input / 1M
- $0.075
- Context window
- 262K
- Notes
- Nextbit serverless, USD per 1M tokens (billed from a EUR balance at the ECB reference rate).
- Source
- https://www.nextbit256.com/en/models
- Provider type
- Inference host (HQ: Spain)
- Regions
- Spain (EU)
- EU data residency
- yes — Marked 'EU': available on the EU-only endpoint eu.api.nextbit256.com.
- Last verified
- 2026-11-30
- Added
- 2026-11-13
Cost estimate
| Provider | Model | Cost |
|---|---|---|
| Nextbit | Gemma 4 31B | $0.21 |
Uses standard list prices (no caching, batch or off-peak discounts). €, CHF and ₹ rows are priced in that currency by the provider and not converted, so compare them with care. ₹ rows also show ≈ USD at the RBI reference rate of ₹93.8579 per USD (2026-11-09).
Other Nextbit models
- Gemma 4 26B A4B: $0.09 / $0.30
- deepseek:v4.1-flash: $0.21 / $0.84
- DeepSeek V4 Flash (0731): $0.352 / $1.06
- DeepSeek V4 Pro (0813): $1.06 / $3.17
- DeepSeek V4 Pro: $1.74 / $3.48
- Qwen3 14B: $0.10 / $0.22
- gemma3:12b-it: $0.35 / $0.45
- gemma3:27b: $0.08 / $0.35