Skip to content

Gemma 4 31B IT

Gemma 4 31B IT is Google's open-weight dense model with 31B parameters, all active during inference. Built on the Gemini 3 architecture, it targets higher output quality than its MoE sibling, with support for function-calling, structured JSON output, native vision, and 140+ languages.

Tool UseVision (Image)File Input
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'google/gemma-4-31b-it',
prompt: 'Why is the sky blue?'
})

More models by Google

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
Providers
ZDR
No Training
Release Date
1M
2.2s
273tps
$1.50/M$9.00/M
Read:$0.15/M
Write:
$14.00/K
+ input costs
+4
google logo
vertex logo
05/19/2026
1M
0.7s
241tps
$0.25/M$1.50/M
Read:$0.03/M
Write:
$14.00/K
+ input costs
+4
google logo
vertex logo
03/03/2026
1M
4.2s
315tps
$2.00/M
$12.00/M
Read:
$0.2/M
Write:
$14.00/K
+ input costs
+4
google logo
vertex logo
02/19/2026
1M
0.8s
167tps
$0.50/M
$3.00/M
Read:
$0.05/M
Write:
$14.00/K
+ input costs
+4
google logo
vertex logo
12/17/2025
1M
0.3s
259tps
$0.10/M$0.40/M
Read:$0.01/M
Write:
$35.00/K
+ input costs
+4
google logo
vertex logo
06/17/2025
1M
1.7s
128tps
$1.25/M
$10.00/M
Read:
$0.13/M
Write:
$35.00/K
+ input costs
+4
google logo
vertex logo
03/20/2025