Google: Gemma 4 31B

Text input Image input Video input Text output
Author's Description

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 calling, and multilingual support across 140+ languages. Strong on coding, reasoning, and document understanding tasks. Apache 2.0 license.

Key Specifications
Cost
$$
Context
262K
Parameters
31B
Released
Apr 02, 2026
Speed
Ability
Reliability
Supported Parameters

This model supports the following parameters:

Seed Frequency Penalty Top P Reasoning Temperature Stop Presence Penalty Include Reasoning Max Tokens
Features

This model supports the following features:

Reasoning
Performance Summary

Gemma 4 31B Instruct, Google DeepMind's 30.7B dense multimodal model, demonstrates strong overall performance, particularly in reliability and cost-effectiveness. While its speed ranking indicates longer response times, placing it in the 15th percentile, it consistently provides cost-effective solutions, ranking in the 75th percentile for price. The model exhibits exceptional reliability with a 99% success rate across benchmarks, indicating minimal technical failures. Analysis of benchmark results reveals key strengths in hallucination prevention and ethical reasoning, achieving perfect 100% accuracy in both categories. It also excels in instruction following (88.7% accuracy, 95th percentile) and coding (93.9% accuracy, 85th percentile), aligning with its description as strong in these areas. General knowledge (98.7%) and email classification (98.9%) also show robust performance. While reasoning (82.2%) and mathematics (93.2%) are solid, they represent areas with slightly more room for improvement compared to its top-tier performances. The model's multimodal capabilities and extensive context window (256K tokens) further enhance its versatility.

Model Pricing

Current Pricing

Feature Price (per 1M tokens)
Prompt $0.14
Completion $0.4

Price History

Available Endpoints
Provider Endpoint Name Context Length Pricing (Input) Pricing (Output)
Novita
Novita | google/gemma-4-31b-it-20260402 262K $0.14 / 1M tokens $0.4 / 1M tokens
Parasail
Parasail | google/gemma-4-31b-it-20260402 262K $0.14 / 1M tokens $0.4 / 1M tokens
Benchmark Results
Benchmark Category Reasoning Strategy Free Executions Accuracy Cost Duration
Other Models by google