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.14 / $0.42per 1M
Cached price
$0.104per 1M
Context
256K
Max output
16K
Providers
6 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.