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... Built by Google.
Prices updated
Input price
$0.20
per 1M tokens · Standard
Output price
$0.40
per 1M tokens · Standard
Input limit
262K
tokens
Output limit
16K
tokens
Input formats
Output formats
Gemma 4 31B price history
8 price records since 9/25/2026 · 6 changes
Gemma 4 31B cost calculator
$6.00/month
Standard pricing
Overview
What is Gemma 4 31B?
Gemma 4 31B is a text & reasoning and vision model from Google priced at $0.20 input and $0.40 output per 1M tokens, with a 262K context window. Its low input price suits high-volume work and it scores 14.7 on AA Intelligence.
Benchmarks
Gemma 4 31B benchmarks & speed
How Gemma 4 31B scores on standardized evaluations, and where it lands among every model we track.
14.7
Intelligence Index
36tok/s
Output speed
Reasoning
GPQA Diamond
85.7%
Graduate-level scientific reasoning · top 41%
HLE
23.6%
Humanity's Last Exam · top 46%
Coding
SciCode
45.5%
Python for scientific computing · top 68%
Latency & design
- Time to first token
- 1.12s
Independent scores from Artificial Analysis and DesignArena · updated 10/5/2026. Higher is better; ranks compare against every model we track with that score.
Rates
Gemma 4 31B pricing
Pricing is based on token usage. Provider-specific caching, batch, regional, and tool charges may affect the final cost.
Input · Standard
$0.20
Per 1M tokens
Cached input · Standard
$0.10
Per 1M tokens
Capabilities
Gemma 4 31B Tools
Tools available when using Gemma 4 31B through supported provider APIs.
Function calling
Supported
Structured outputs
Supported
JSON mode
Supported
Reasoning
Supported
Built-in web search
Not listed
Log probabilities
Supported
Deterministic seed
Supported
Parallel tool calls
Not listed
Prompt caching
Not listed
Where to run it
Gemma 4 31B API providers
18 providers serve Gemma 4 31B. Prices are per 1M tokens; uptime is the last 24 hours.
| Provider | Input | Output | Cached | Context | Uptime |
|---|---|---|---|---|---|
| OpenInferencebf16 | $0.10 | $0.34 | $0.10 | 66K | 19.93% |
| KT | $0.10 | $0.34 | $0.10 | 262K | 98.47% |
| CoreWeavefp4 | $0.10 | $0.34 | $0.10 | 262K | 100% |
| Venicefp4 | $0.12 | $0.36 | $0.05 | 256K | 99.93% |
| Chutesfp4 | $0.12 | $0.37 | $0.01 | 131K | 99.51% |
| NextBitfp4 | $0.13 | $0.34 | $0.07 | 262K | 100% |
| DeepInfrafp4 | $0.14 | $0.51 | $0.07 | 262K | 100% |
| Crusoe | $0.14 | $0.40 | $0.14 | 260K | 100% |
| Friendli | $0.14 | $0.40 | — | 262K | 99.51% |
| Parasailfp8 | $0.15 | $0.40 | $0.06 | 262K | 100% |
| DeepInfrafp8 | $0.16 | $0.32 | — | 262K | 100% |
| PrimeIntellectfp8 | $0.20 | $0.34 | $0.10 | 262K | 90.74% |
| DeepInfrafp8 | $0.20 | $0.40 | — | 262K | 99.93% |
| DeepInfrafp8 | $0.30 | $0.60 | — | 262K | 99.92% |
| Modal | $0.34 | $0.10 | $0.10 | 131K | 99.86% |
| SambaNova | $0.38 | $1.15 | — | 131K | 92.72% |
| ModelRunfp4 | $0.75 | $1.00 | $0.20 | 262K | 100% |
| SiliconFlowfp8 | $0.75 | $1.00 | $0.25 | 262K | 95.21% |
- Input
- $0.10
- Output
- $0.34
- Cached
- $0.10
- Context
- 66K
- Uptime
- 19.93%
- Input
- $0.10
- Output
- $0.34
- Cached
- $0.10
- Context
- 262K
- Uptime
- 98.47%
- Input
- $0.10
- Output
- $0.34
- Cached
- $0.10
- Context
- 262K
- Uptime
- 100%
- Input
- $0.12
- Output
- $0.36
- Cached
- $0.05
- Context
- 256K
- Uptime
- 99.93%
- Input
- $0.12
- Output
- $0.37
- Cached
- $0.01
- Context
- 131K
- Uptime
- 99.51%
- Input
- $0.13
- Output
- $0.34
- Cached
- $0.07
- Context
- 262K
- Uptime
- 100%
- Input
- $0.14
- Output
- $0.51
- Cached
- $0.07
- Context
- 262K
- Uptime
- 100%
- Input
- $0.14
- Output
- $0.40
- Cached
- $0.14
- Context
- 260K
- Uptime
- 100%
- Input
- $0.14
- Output
- $0.40
- Cached
- —
- Context
- 262K
- Uptime
- 99.51%
- Input
- $0.15
- Output
- $0.40
- Cached
- $0.06
- Context
- 262K
- Uptime
- 100%
- Input
- $0.16
- Output
- $0.32
- Cached
- —
- Context
- 262K
- Uptime
- 100%
- Input
- $0.20
- Output
- $0.34
- Cached
- $0.10
- Context
- 262K
- Uptime
- 90.74%
- Input
- $0.20
- Output
- $0.40
- Cached
- —
- Context
- 262K
- Uptime
- 99.93%
- Input
- $0.30
- Output
- $0.60
- Cached
- —
- Context
- 262K
- Uptime
- 99.92%
- Input
- $0.34
- Output
- $0.10
- Cached
- $0.10
- Context
- 131K
- Uptime
- 99.86%
Showing 15 of 18
Strengths and limitations
Strengths
- Price rank 78 of 330 tracked models (1 = cheapest, by blended price).
- Blended price at 3 input : 1 output is $0.25 per 1M tokens.
- 1M input + 250K output tokens costs about $0.30.
- Context window 262K vs a median of 262K (1.0× larger).
Limitations
- Real-world cost still depends on prompt length, response length and provider-specific billing rules.
- Large context capacity does not guarantee consistent retrieval across the entire prompt.
- Benchmarks are directional; test accuracy, latency and reliability on your own workload before committing.
Public listed prices, checked Dec 4, 2026. Benchmarks as published by their sources. Confirm with the provider.
Same provider
