google

Google: Gemma 4 31B

Gemma 4 31B from Google is an advanced AI model that excels in handling text, images, and video inputs, with a context length of up to 262,144 tokens. It supports both reasoning and the use of tools, making it versatile for complex tasks. While it offers structured output capabilities, these are not specified in detail. This model is suitable for users requiring broad AI functionalities, particularly those working with multimedia data or needing robust reasoning abilities. At a price point of $0.1 per million input tokens and $0.34 per million output tokens, Gemma 4 remains competitive, especially considering its benchmark blended score of 56.7 across four independent evaluations. For projects demanding a well-rounded AI solution with a focus on text, images, and videos, Gemma 4 stands out as a practical choice.

Quality Score
100/100
price + capability + benchmarks
Input Price
$0.10
per 1M tokens
Output Price
$0.34
per 1M tokens
Context Window
262,144
tokens

Benchmark results

Independent, published benchmarks. Blended score 56.7 across 4 benchmarks, last refreshed 2026-08-13. How scoring works →

BenchmarkMeasuresScore
AI Index broad capability composite 49.0
AI Index Coding software engineering tasks 71.7
AI Index Agentic multi-step tool-using tasks 23.7
EQ-Bench emotional understanding in dialogue 70.8
Model ID
google/gemma-4-31b-it
Vendor
google
Released
April 2026
Tokenizer
Gemma
Input Modalities
image, text, video
Output Modalities
text
Max Output
262,144 tokens
Tool Calling
✓ supported
Structured Output
✓ supported
Reasoning Mode
✓ supported
Vision
✓ accepts images
Audio
no
Moderated
no

What it costs in practice

Computed from the current $0.10/M input and $0.34/M output rates. Run your own numbers →

JobTokensCost
Summarize a 50-page report 30k in / 1.5k out under $0.01
Classify 1,000 customer emails 500k in / 50k out $0.07
A month of a busy support chatbot 5M in / 2M out $1.18

Price & spec history

Tracked daily by PicksByModel since 2026-07-17.

DateInput /MOutput /MContext
2026-07-30 $0.10 $0.34 262,144
2026-07-25 $0.14 $0.40 262,144
2026-07-24 $0.10 $0.35 262,144
2026-07-23 $0.12 $0.35 262,144
2026-07-21 $0.12 $0.37 262,144
2026-07-17 $0.22 $0.55 262,144

Category rankings

Where Google: Gemma 4 31B places across the 10 categories it ranks in. How we rank →

#CategoryScore
#6 Real-Time ChatLatency · of 25 ranked 118
#7 Self-Hosted / LocalCost · of 25 ranked 117
#11 Cheap Bulk InferenceCost · of 25 ranked 137
#16 Social Media PostsWriting · of 25 ranked 119
#16 Voice Assistant BackendVoice · of 25 ranked 123
#20 Video SummarizationVideo · of 25 ranked 151
#21 Video Auto-TaggingVideo · of 25 ranked 123
#22 Bulk Data LabelingData · of 25 ranked 133
#25 Short-Form SummarizationWriting · of 25 ranked 129
#25 Chat CompanionPersonal · of 25 ranked 129

Similar models

Quick answers

How much does Google: Gemma 4 31B cost?
$0.10 per million input tokens and $0.34 per million output tokens.
What is Google: Gemma 4 31B's context window?
262,144 tokens, roughly 393 pages of text in a single request.
Does Google: Gemma 4 31B support tool calling?
It supports tool calling, structured output, a reasoning mode.
Can Google: Gemma 4 31B process images?
Yes, it accepts image input.