Google Gemma 4 31B Instruct
About this model
Gemma 4 31B Instruct is the dense flagship of Google DeepMind's Gemma 4 family, a 30.7B-parameter multimodal model that accepts text and image input (and can process video as sequences of frames) while generating text output. It offers a 256K-token context window, native function calling, and configurable thinking modes, aimed at running reasoning, coding, and multimodal tasks under an Apache 2.0 license.
Architecturally it is a dense transformer paired with a vision encoder, using a hybrid attention scheme that interleaves local sliding-window layers with full global attention and Proportional RoPE (p-RoPE) for efficient long-context handling; quantization-aware and w4a16 checkpoints are published for smaller-footprint deployment.
Relative to the sibling Gemma 4 26B A4B Instruct, a Mixture-of-Experts variant with fewer active parameters, this 31B is dense—trading that inference efficiency for the family's highest-quality tier. Against the previous generation Gemma 3 27B, Google DeepMind highlights Gemma 4's built-in reasoning with configurable thinking, native system-prompt and function-calling support, and coding improvements.
Google DeepMind publishes instruction-tuned results in the official Gemma 4 31B model card, spanning reasoning, coding, vision, long-context, and safety tasks, and states the models undergo the same safety evaluations as its proprietary Gemini models.
This About section is AI-generated from public sources (Claude Opus 4.8), with no human editing. It may contain inaccuracies — verify critical details against the sources listed above.
Research & Papers
Primary reference paper for this model family, sourced from the HuggingFace model card.
Data sources: Venice API · HuggingFace · Wikipedia · arXiv — enrichment updated 4d ago