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

38 tok/s

Latency (TTFT)

874ms

Max Output

262K 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
LiveBench Coding60.3100.0Contamination-free benchmark with objective ground-truth answers
AA Coding Index43.4100.0Artificial Analysis official API
SciCode43.0100.0

Data Analysis

BenchmarkScoreMaximumMethodology
LiveBench Data Analysis58.8100.0Contamination-free benchmark with objective ground-truth answers

Language

BenchmarkScoreMaximumMethodology
LiveBench Language71.3100.0Contamination-free benchmark with objective ground-truth answers

Long Context

BenchmarkScoreMaximumMethodology
AA-LCR62.0100.0

Math

BenchmarkScoreMaximumMethodology
LiveBench Math73.9100.0Contamination-free benchmark with objective ground-truth answers

overall

BenchmarkScoreMaximumMethodology
LMArena Elo1451.02000.0Crowdsourced blind pairwise comparisons
LiveBench Global61.6100.0Contamination-free benchmark with objective ground-truth answers
AA Intelligence Index29.4100.0Artificial Analysis official API

Reasoning

BenchmarkScoreMaximumMethodology
GPQA Diamond86.0100.0Artificial Analysis official API
IFBench76.0100.0
LiveBench Reasoning59.4100.0Contamination-free benchmark with objective ground-truth answers
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 16 different benchmarks, covering categories like Agentic, Coding, Data Analysis, Language, Long Context, Math, overall, Reasoning, Tool Use. Results show exceptional 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, LiveBench Coding: 60.33/100, AA Coding Index: 43.4/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: July 17, 2026 View methodology →