Gemma 4 31B is the dense instruction-tuned model in Google DeepMind's open-weight Gemma 4 family, with about 30.7B parameters. It takes text and image input and produces text output, with a 256K-token context window, configurable thinking, native function calling and pretraining on over 140 languages.
Modalities
In / out price
$0.20 / $0.40per 1M
Context
262K
Max output
16K
Updated
Oct 22, 2026
Providers
4 routesCompare providers by price, privacy, and speed.
Privacy
3 / 4Hardware-isolated routing
TEE tier
- Anonymous
- Private
- TEE
- E2EE
Inference runs inside a hardware-isolated, attestable environment. TEE protects processing, but does not by itself mean the client encrypted the request end to end. Learn more
Features
5Streaming
Tool calling
Vision
Reasoning
Confidential compute
Uptime
FAQ
Common questions about Gemma 4 31B.