Gemma 4 31B
Active45.1BasicGemma 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...
Intelligence Index
45.1/ 100
Basicweighted across 4 benchmarks
- Reasoning
- 69.7
- Instruction following
- 47.0
- Long context
- 18.5
Computed as the mean of per-category averages across MMLU, GPQA, SWE-bench, HumanEval, MATH, GSM8K, AIME, Aider Polyglot and more. See each benchmark for methodology.
Overview
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...
History
Gemma 4 31B became available via the Google API on 2026-04-02.
Training & availability
Google has not released the underlying model weights — access is via their hosted API only.
Capabilities
-
Context window: 262K tokens.
-
Input modalities: image, text, video.
Recommended for: vision, long-context, cheap.
Pricing
- Input: $0.1300 per 1M tokens
- Output: $0.3800 per 1M tokens
Use the cost calculator above to estimate monthly spend for your workload.
Quick start
Minimal example using the google API. Copy, paste, replace the key.
from google import genai
client = genai.Client(api_key="...")
resp = client.models.generate_content(
model="gemma-4.31b-it",
contents="Explain quantum computing in one sentence.",
)
print(resp.text)Cost calculator
Estimate your monthly bill. Presets are typical workload sizes.
Popularity
Signals from open-source communities — not a quality measure, but useful for gauging adoption among developers.
Benchmarks
| Benchmark | Score | Source |
|---|---|---|
| GPQA DiamondReasoning | 69.7% accuracy | Third-party llm-stats.com |
| LongBench v2Long context | 3.89% | Third-party llm-stats.com |
| MRCR v2Long context | 33.17% | Third-party llm-stats.com |
Integrations & tooling support
- Tool calling
- Not supported
- Structured outputs
- Not supported
Price vs quality
Competent capability at a low price.
- Quality percentile
- 51%
- Effective price
- $0.318/1M
- Pricing breakdown
- $0.13/1M in
$0.38/1M out
Community ratings
Rate Gemma 4 31B
Sign in to rate and review.
Comments
Sign in to leave a comment.