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
Supported Parameters
This model supports the following parameters:
Features
This model supports the following features:
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
|
|
Released | Params | Context |
|
Speed | Ability | Cost |
|---|---|---|---|---|---|---|---|
| Google: Gemma 4 31B Unavailable | Apr 02, 2026 | 31B | 262K |
Text input
Image input
Video input
Text output
|
★★ | ★★★★★ | $$ |
| Google: Lyria 3 Pro Preview | Mar 30, 2026 | — | 1M |
Text input
Image input
Text output
Audio output
|
— | — | $ |
| Google: Lyria 3 Clip Preview | Mar 30, 2026 | — | 1M |
Text input
Image input
Text output
Audio output
|
— | — | $ |
| Google: Gemini 3.1 Flash Lite Preview | Mar 02, 2026 | — | 1M |
File input
Text input
Image input
Audio input
Video input
Text output
|
★★★★★ | ★★★★ | $$$ |
| Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) Unavailable | Feb 26, 2026 | — | 65K |
Text input
Image input
Text output
Image output
|
★★ | ★★★★★ | $$$$$ |
| Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) | Feb 26, 2026 | — | 65K |
Text input
Image input
Text output
Image output
|
★★ | ★★★★★ | $$$$$ |
| Google: Gemini 3.1 Pro Preview Custom Tools | Feb 25, 2026 | — | 1M |
File input
Text input
Image input
Audio input
Video input
Text output
|
★★ | ★★★★★ | $$$$$ |
| Google: Gemini 3.1 Pro Preview | Feb 19, 2026 | — | 1M |
File input
Text input
Image input
Audio input
Video input
Text output
|
★★ | ★★★★★ | $$$$$ |
| Google: Gemini 3 Flash Preview | Dec 17, 2025 | — | 1M |
File input
Text input
Image input
Audio input
Video input
Text output
|
★★★★★ | ★★★★★ | $$$$ |
| Google: Nano Banana Pro (Gemini 3 Pro Image Preview) | Nov 20, 2025 | — | 65K |
Text input
Image input
Text output
Image output
|
— | ★ | $$$$$ |
| Google: Gemini 3 Pro Preview Unavailable | Nov 18, 2025 | — | 1M |
File input
Text input
Image input
Audio input
Video input
Text output
|
★ | ★★★★★ | $$$$$ |
| Google: Nano Banana (Gemini 2.5 Flash Image) | Oct 07, 2025 | — | 32K |
Text input
Image input
Text output
Image output
|
— | — | $$$$ |
| Google: Gemini 2.5 Flash Preview 09-2025 Unavailable | Sep 25, 2025 | — | 1M |
File input
Text input
Image input
Audio input
Video input
Text output
|
★★★★ | ★★★★ | $$$$ |
| Google: Gemini 2.5 Flash Lite Preview 09-2025 | Sep 25, 2025 | — | 1M |
File input
Text input
Image input
Audio input
Video input
Text output
|
★★★★★ | ★★★ | $$$ |
| Google: Gemini 2.5 Flash Image Preview (Nano Banana) Unavailable | Aug 26, 2025 | — | 32K |
Text input
Image input
Text output
Image output
|
— | — | $$$$ |
| Google: Gemini 2.5 Flash Lite | Jul 22, 2025 | — | 1M |
File input
Text input
Image input
Audio input
Video input
Text output
|
★★★★★ | ★★★ | $$$ |
| Google: Gemini 2.5 Flash Lite Preview 06-17 Unavailable | Jun 17, 2025 | — | 1M |
File input
Text input
Image input
Audio input
Text output
|
★★★★ | ★★★ | $$$ |
| Google: Gemini 2.5 Flash | Jun 17, 2025 | — | 1M |
File input
Text input
Image input
Audio input
Video input
Text output
|
★★★★ | ★★★★ | $$$$ |
| Google: Gemini 2.5 Pro | Jun 17, 2025 | — | 1M |
File input
Text input
Image input
Audio input
Video input
Text output
|
★ | ★★★★★ | $$$$$ |
| Google: Gemini 2.5 Pro Preview 06-05 | Jun 05, 2025 | — | 1M |
File input
Text input
Image input
Audio input
Text output
|
★★ | ★★★★★ | $$$$$ |
| Google: Gemma 1 2B Unavailable | May 28, 2025 | 2B | 8K |
Text input
Text output
|
— | — | $$ |
| Google: Gemma 3n 4B | May 20, 2025 | 4B | 32K |
Text input
Text output
|
★★★ | ★★ | $ |
| Google: Gemini 2.5 Flash Preview 05-20 Unavailable | May 20, 2025 | — | 1M |
File input
Text input
Image input
Text output
|
★★★★ | ★★★★ | $$$ |
| Google: Gemini 2.5 Pro Preview 05-06 | May 06, 2025 | — | 1M |
File input
Text input
Image input
Audio input
Video input
Text output
|
★ | ★★★★★ | $$$$$ |
| Google: Gemini 2.5 Flash Preview 04-17 Unavailable | Apr 17, 2025 | — | 1M |
File input
Text input
Image input
Text output
|
★★★★★ | ★★★★★ | $$$ |
| Google: Gemini 2.5 Pro Experimental Unavailable | Mar 25, 2025 | — | 1M |
File input
Text input
Image input
Text output
|
— | — | $ |
| Google: Gemma 3 4B | Mar 13, 2025 | 4B | 131K |
Text input
Image input
Text output
|
★★★ | ★ | $$ |
| Google: Gemma 3 12B | Mar 13, 2025 | 12B | 131K |
Text input
Image input
Text output
|
★★★ | ★★ | $$ |
| Google: Gemma 3 27B | Mar 11, 2025 | 27B | 131K |
Text input
Image input
Text output
|
★★★ | ★★★ | $$ |
| Google: Gemini 2.0 Flash Lite | Feb 25, 2025 | — | 1M |
File input
Text input
Image input
Audio input
Video input
Text output
|
★★★★★ | ★★ | $$ |
| Google: Gemini 2.0 Flash | Feb 05, 2025 | — | 1M |
File input
Text input
Image input
Audio input
Video input
Text output
|
★★★★★ | ★★★ | $$ |
| Google: Gemini 1.5 Flash 8B Unavailable | Oct 02, 2024 | ~500B | 1M |
Text input
Image input
Text output
|
★★★★★ | ★★ | $ |
| Google: Gemma 2 27B | Jul 12, 2024 | 27B | 8K |
Text input
Text output
|
★★★★ | ★★ | $$$ |
| Google: Gemma 2 9B | Jun 27, 2024 | 9B | 8K |
Text input
Text output
|
★★★ | ★ | $$ |
| Google: Gemini 1.5 Flash Unavailable | May 13, 2024 | ~500B | 1M |
Text input
Image input
Text output
|
★★★★★ | ★★★ | $$ |
| Google: Gemini 1.5 Pro Unavailable | Apr 08, 2024 | ~1T | 2M |
Text input
Image input
Text output
|
★★★★ | ★★★ | $$$$ |