Gemma 4 31B

Gemma 4 31B

GoogleLLM

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

MultimodalAPI AvailableVisionTool CallingReasoning

Specifications

Context Window

262K tokens

Input Price/1M

$0.14

Output Price/1M

$0.40

Parameters

Speed

19 tok/s

Latency (TTFT)

616ms

Max Output

16K tokens

Benchmarks

Gemma 4 31B results on the main AI model evaluation benchmarks. Higher scores indicate better performance.

Agentic

BenchmarkScoreMaximumMethodology
Terminal-Bench Hard36.0100.0

Coding

BenchmarkScoreMaximumMethodology
SciCode43.0100.0
AA Coding Index38.7100.0Artificial Analysis official API

Long Context

BenchmarkScoreMaximumMethodology
AA-LCR62.0100.0

overall

BenchmarkScoreMaximumMethodology
AA Intelligence Index39.2100.0Artificial Analysis official API

Reasoning

BenchmarkScoreMaximumMethodology
GPQA Diamond86.0100.0Artificial Analysis official API
IFBench76.0100.0
HLE23.0100.0

Tool Use

BenchmarkScoreMaximumMethodology
Tau²-Bench65.0100.0

Information

Release date
April 02, 2026
Tool Calling
✅ Supported
Vision
✅ Supported
Audio
❌ Not supported

Full Analysis: Gemma 4 31B

What is Gemma 4 31B?

Gemma 4 31B is an AI model developed by Google, classified as a large language model (LLM). It is a multimodal model, capable of processing text, images, and potentially other media types. As a proprietary model, it is available via Google's cloud API. With a context window of 262K tokens, it is suitable for processing long documents such as contracts, books, and complete codebases.

Pricing & Costs in 2026

Gemma 4 31B is usage-based, priced at $0.14/1M input tokens and $0.4/1M output tokens. For context: 1 million tokens is approximately 750,000 words, or about 10 average-length books. At this aggressive price point, it is one of the most cost-effective options on the market, ideal for high-volume applications like chatbots, bulk document analysis, and automation.

Benchmarks & Performance

Gemma 4 31B was evaluated on 9 different benchmarks, covering categories like Agentic, Coding, Long Context, overall, Reasoning, Tool Use. Results show solid performance across available evaluations.

It's important to note that benchmarks measure specific aspects and don't capture the full user experience. Factors like instruction adherence, behavior in long conversations, and real-world task quality vary significantly between models and aren't always reflected in standard scores.

Recommended Use Cases

Gemma 4 31B is suitable for a wide range of AI applications: long document analysis (contracts, legal proceedings, codebases), automation with tool calling (API integration, databases, external systems), image and visual document analysis (OCR, diagrams, screenshots), multimodal processing combining text and images, high-volume chatbots and automated support, complex reasoning, math problem solving, and logical analysis, text generation, summarization, translation, and general assistance.

Comparison with Alternatives

In the 2026 AI model ecosystem, Gemma 4 31B competes directly with similarly capable models. Key competitors include GPT (OpenAI), Claude (Anthropic), and open source models like Llama (Meta) and Qwen (Alibaba). The choice between models depends on the specific use case, budget, latency requirements, and need for features like multimodality and tool calling.

For a detailed side-by-side comparison, use our comparison tool or check the overall model ranking.

Frequently Asked Questions

What is Gemma 4 31B?

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

How much does Gemma 4 31B cost?

Gemma 4 31B costs $0.14/1M input tokens and $0.4/1M output tokens. For heavy usage (e.g., a chatbot handling 100k messages/month), costs can range from $10 to $1,000 depending on volume.

How does Gemma 4 31B compare with other models?

In available benchmarks, Gemma 4 31B scored: Terminal-Bench Hard: 36/100, SciCode: 43/100, AA Coding Index: 38.7/100. See the full table above for a detailed comparison.

Is Gemma 4 31B open source?

No, Gemma 4 31B is a proprietary model from Google. It is available via cloud API. For open source alternatives, check our open source model ranking.

What is Gemma 4 31B best for?

Gemma 4 31B excels at complex reasoning and problem solving. With its large context window, it handles long documents, codebases, and extended conversations. It supports tool calling for API integrations and automation.

Last updated: June 01, 2026 View methodology →