# Gemma 4 31B

> Canonical: https://www.overmindlab.ai/models/gemma-4-31b-it

Strongest dense Gemma 4 — max quality at 256K.

| Property | Value |
| --- | --- |
| Model ID | google/gemma-4-31B-it |
| Provider | Google |
| Group | Gemma 4 |
| Parameters | 31B |
| Tier | Large |
| Context window | 256K |
| Max training context | 256K |
| Tool calling | Yes |
| Training methods | — |
| Training cost | from $2.50 |
| Serving cost (per 1M output tokens) | from $10.00 |

## Overview

Gemma 4 31B is the flagship dense instruct model. Pick it when quality beats MoE speed and you can afford H100-class train/serve (QLoRA recommended).

Google DeepMind Gemma 4 open models: hybrid thinking, 140+ languages, dense and MoE sizes from edge to server.

## Good for

- Maximum-quality coding and reasoning LoRA
- Long-context multimodal document work
- Evals where 26B-A4B leaves quality on the table

Train this model on your agent's data: https://docs.overmindlab.ai/models/training.md

## Related models

- [Gemma 4 E4B](https://www.overmindlab.ai/models/gemma-4-e4b-it): E4B (~8B), 128K context
- [Gemma 4 E2B](https://www.overmindlab.ai/models/gemma-4-e2b-it): E2B (~5.1B), 128K context
- [Gemma 4 12B](https://www.overmindlab.ai/models/gemma-4-12b-it): 12B, 256K context
- [Gemma 4 26B-A4B](https://www.overmindlab.ai/models/gemma-4-26b-a4b-it): 26B (4B active), 256K context