Gemma 4 31B pricing and cost calculator
Gemma 4 31B from Google costs $0.20 per million input tokens and $0.40 per million output tokens, with a context window of 262,144 tokens. It was released on Apr 2, 2026.
- Input price
- $0.20
- Output price
- $0.40
- Context window
- 262,144
- Released
- Apr 2, 2026
Token cost calculator
| Model | Per request | Per day | Per month (30 days) |
|---|---|---|---|
| Gemma 4 31B | $0.0004 | $0.40 | $12.00 |
| Claude Haiku 5.5 | $0.00035 | $0.35 | $10.50 |
≈ 0 tokens
Token estimate: about 4 characters per token for English, about 1 token per character for Chinese, Japanese and Korean. Exact counts depend on each model's tokenizer.
Price and specs
| Input price | $0.20 / 1M |
|---|---|
| Output price | $0.40 / 1M |
| Context window | 262,144 |
| Max output | 16,384 |
| Accepts | images, text, video |
| Produces | text |
| Reasoning mode | Yes |
| Tool / function calling | Yes |
| Structured (JSON) output | Yes |
| Open weights | Yes |
| Released | Apr 2, 2026 |
What typical workloads cost
| 1,000 chat replies (1,000 input + 500 output tokens each) | $0.40 |
|---|---|
| Summarise a 100-page document (≈50,000 input + 1,000 output tokens) | $0.01 |
| 1 million input + 1 million output tokens | $0.60 |
Prices are list prices in USD per 1 million tokens from OpenRouter's public model list, refreshed daily. Direct provider prices, batch discounts and regional pricing may differ.
Cheaper models with at least the same context window
- Claude Haiku 5.5$0.10 / $0.50
- Muse Ember$0.10 / $0.50
- DeepSeek V4.1 Flash 1017$0.03 / $0.20
- Qwen3.8 Flash$0.15 / $0.47
- GPT-6 Luna$0.10 / $0.50
- GLM 5.3 Flash$0.12 / $0.38
Similarly priced models from other providers
- MiniMax M3.1 Flash$0.15 / $0.60
- Mistral Small 4$0.15 / $0.60
- Qwen3 VL 30B A3B Instruct$0.15 / $0.60
- Command R (08-2024)$0.15 / $0.60
- GPT-4o-mini$0.15 / $0.60
- GPT-4o-mini (2024-07-18)$0.15 / $0.60
More Google models
- Gemini 4 Neon$3 / $15
- Gemini 4 Hydrogen$1.50 / $7.50
- Gemini 4 Carbon$2 / $10
- Gemini Omni 1.2 Flash$1.50 / $9
- Gemini Omni 1.1 Flash$1.50 / $9
- Gemini 4 Argon$2 / $10
- Nano Banana 2.1$1.50 / $7.50
- Gemini 3.8 Flash$0.825 / $4.13
About Gemma 4 31B
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...
Gemma 4 31B FAQ
- How much does Gemma 4 31B cost?
- Gemma 4 31B costs $0.20 per 1M input tokens and $0.40 per 1M output tokens. 1,000 replies with 1,000 input and 500 output tokens each cost about $0.40.
- What is the context window of Gemma 4 31B?
- Gemma 4 31B accepts up to 262,144 tokens of context and can return up to 16,384 tokens in one response.
- Can Gemma 4 31B read images?
- Yes. Gemma 4 31B accepts images, text, video as input.
- What is a cheaper alternative to Gemma 4 31B?
- Cheaper models with at least the same context window include Claude Haiku 5.5, Muse Ember, DeepSeek V4.1 Flash 1017.