Skip to content

Gemma 4 31B

Last updated: 41m ago

by Google · Pricing

High confidence

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...

80
Overall Score1
Rank #45 of 317 in Coding
Top 14% · Methodology v3
Score Trend
14-day history
API Pricing
$0.12/M in
$0.35/M out
Context Window
262.1K
262.1K max output
31B parameters
262.1K token context
Released 2026-04-02
#45range #29-#61Top 14%
#1#317

Signal Overview

Benchmarks86Capabilities83Pricing100Recency100Context77Output90

Score Breakdown

SignalStrengthWeightImpact
Benchmarksjust now
86
30%+25.8
Capabilitiesjust now
83
20%+16.7
Recencyjust now
100
15%+15.0
Pricingjust now
100
15%+14.9
Output Capacityjust now
90
10%+9.0
Context Windowjust now
77
10%+7.7

Benchmark Performance

Benchmark Scores(6 benchmarks + Arena Elo)

LMSYS Arena Elo

1451

Vision Elo

1255

Percentile

91.8

Weight

30%

View all benchmarks

Capabilities

Reasoning
Vision
Function Calling
JSON Mode
Streaming
Web Search
Image Output

Modalities

Input
image
text
video
Output
text

Recent Google releases

View this model against the provider’s recent shipping cadence.

Reviews

Community and practitioner feedback adds real-world signal on top of benchmarks and pricing.

Reviews

Be the first to review this model

Share your experience with Gemma 4 31B and help the community make better decisions.

Frequently Asked Questions

Gemma 4 31B by Google excels in the Coding category, where it ranks #45 with a composite score of 80/100. 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... It is particularly strong in areas highlighted by its top benchmark performance and adoption metrics, making it suitable for both individual developers and enterprise teams looking for a reliable coding solution.
Gemma 4 31B is priced at $0.12 per million input tokens and $0.35 per million output tokens (USD). Contact the provider for volume discounts and enterprise pricing. Pricing is competitive within the coding category and reflects the model's quality-to-cost ratio.
In the Coding category, Gemma 4 31B holds rank #45 out of 317 models tracked. Its quality rank is #45 and adoption rank is #45. You can use our comparison tool at /compare to see detailed side-by-side metrics with specific alternatives. Key differentiators include its composite scoring across benchmarks, community sentiment, and real-world adoption rates.
Gemma 4 31B has been evaluated across 6 different signals. Its strongest areas include Capabilities (83/100), Benchmarks (86/100), Pricing (100/100). These scores are derived from industry-standard benchmarks, community ratings, and real-world performance metrics. The composite score of 80/100 reflects a weighted combination of all tracked signals.
Gemma 4 31B is a paid model, though some providers may offer trial credits or limited free tiers for evaluation. Check Google's website for current free tier availability and promotional offers.
Gemma 4 31B supports a 262K token context window (262,144 tokens total). That translates to roughly 196,608 words in a single prompt. This is large enough to process entire codebases, research papers, or long conversation histories in one shot.
Gemma 4 31B can generate up to 262K output tokens (262,144 tokens) per response. That is roughly 196,608 words. This is enough for generating complete code files, detailed reports, or long-form content in a single response.
Gemma 4 31B supports image understanding (vision), function/tool calling, structured JSON output, extended reasoning/chain-of-thought, streaming responses. Function calling lets you integrate it with external APIs and tools programmatically. Vision support means it can analyze images, screenshots, and diagrams alongside text. These capabilities determine which workflows and integrations the model can handle natively.
Yes, Gemma 4 31B is an open-source model. You can download the weights, run it locally, fine-tune it for your use case, or deploy it on your own infrastructure. Many cloud providers also offer hosted versions if you prefer not to manage the infrastructure yourself. Self-hosting gives you full control over data privacy and eliminates per-token API costs.
Gemma 4 31B was developed by Google. It was released on April 2, 2026. You can access it through Google's API or download the model weights directly. Check our provider page for all models from Google and how they compare against each other.
Pick Gemma 4 31B when you need top-tier performance and can justify the cost for quality-critical tasks like production code generation, complex reasoning, or enterprise deployments. If your task is straightforward text completion or classification, a cheaper model might give you 90% of the quality at a fraction of the price. Run a quick benchmark on your actual use case before committing.
You can access Gemma 4 31B through Google's API using standard HTTP requests or their official SDK. Most providers support OpenAI-compatible endpoints, so switching between models often requires changing just the model name in your API call. Streaming is supported for real-time token-by-token output. For production use, implement proper error handling, rate limiting, and cost monitoring.

Key Info

ProviderGoogle
CategoryCoding
Max Output262.1K tokens
LicenseOpen Source
Statusstable
HuggingFacegemma-4-31B-it
Data updated: Jul 4, 2026Benchmarks: Jul 4, 2026Status: Jul 4, 2026

Pricing Tools

Pricingper 1M tokens
Best value
96% cheaper than category average
Input
$0.12
-95% vs avg
Output
$0.35
-97% vs avg

Cost Estimator

Input: 70%Output: 30%
Est. monthly cost$1.89
Category average$48.98

You save $47.09/month vs category average

Access & Availability

Hosted APIAvailable
PlaygroundAvailable
Open weightsYes
Hugging FaceWeights

Why This Rank

+Benchmarks
+Capabilities
+Recency
+Pricing

Similar Models

View all