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
Google's Gemma 4 31B Instruct model demonstrates a strong overall performance profile, particularly excelling in reliability and cost-effectiveness. It consistently provides usable responses, achieving a perfect 100% success rate across all benchmarks, indicating exceptional stability. The model offers competitive pricing, ranking in the 73rd percentile for cost across various tasks. While its speed performance is competitive, ranking in the 41st percentile, it is not among the fastest models available. Key strengths include perfect accuracy in Hallucinations (Baseline) and Ethics (Baseline), where it also stands out as the most accurate model at its price point and speed. It shows impressive accuracy in Instruction Following (93rd percentile), Email Classification (90th percentile), and Mathematics (95th percentile), often being the most accurate among models of comparable speed. The model also performs very well in Coding (89th percentile). Its ability to handle a 256K token context window, support multimodal input, and offer configurable reasoning modes further enhances its versatility. While its General Knowledge and Reasoning scores are solid, they are not as high-ranking as its other top performances.
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 | 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
|
★★★★ | ★★★ | $$$$ |