Model tracker / Google
Gemma 4 31B
Open-weight 31B dense model taking text and images, for GPUs and workstations
Gemma 4 31B is a fast open-weight model from Google, released 31 March 2026. At CoreWeave it costs $0.10 per million input tokens and $0.34 per million output tokens, with a 262K-token context window. 7 providers serve it; the cheapest is CoreWeave at $0.10 input and $0.34 output; SambaNova charges 3.6× that.
- Made by
- Alphabet (Google, Google DeepMind, Google Cloud)
- Released
- 2026-03-31
- Status
- Generally available
- Tier
- Fast
- Weights
- Open
- Memory to run
- About 75 GB (BF16)
- Context window
- 262,144 tokens
- Input
- text, image
- API id
google/gemma-4-31B-it
Gemma 4 31B price at 7 providers
US dollars per million tokens. Blended is 3 input tokens for every output token, one number to compare on. The cheapest blended price is highlighted.
| Provider | Input | Output | Cached input | Blended | Batch | Checked |
|---|---|---|---|---|---|---|
| CoreWeave | $0.10 | $0.34 | $0.10 | $0.16 | – | 2026-11-28 |
| AWS · google.gemma-4-31b | $0.14 | $0.40 | – | $0.205 | – | 2026-11-28 |
| Novita AI · google/gemma-4-31b-it | $0.14 | $0.40 | – | $0.205 | – | 2026-11-27 |
| DeepInfra | $0.20 | $0.40 | – | $0.25 | – | 2026-11-28 |
| DigitalOcean · gemma-4-31B-it | $0.18 | $0.50 | $0.036 | $0.26 | – | 2026-11-27 |
| Together AI | $0.39 | $0.97 | – | $0.535 | – | 2026-11-27 |
| SambaNova · gemma-4-31B-it | $0.38 | $1.15 | – | $0.573 | – | 2026-11-28 |
- CoreWeave: CoreWeave Forge Serverless Inference (formerly W&B Inference). CoreWeave lists a cache-hit price equal to the input price ($0.1), so caching gives no discount.
- AWS: Amazon Bedrock, US East (N. Virginia), Standard tier. Europe (Frankfurt): $0.17 / $0.48.
- Novita AI: Deprecated: on 2026-11-27 the model was no longer in Novita's serverless pricing table or its public model list, and its model page (novita.ai/models/model-detail/google-gemma-4-31b-it) returned 404. Last listed price shown.
- DigitalOcean: DigitalOcean ended serverless support for Gemma 4 on 2026-11-10 (Model Support Policy; recommended replacement GLM-5.3 Flash). Last listed price shown.
- Together AI: Together removed google/gemma-4-31B-it from serverless on 2026-09-15 (deprecations page); it is no longer in the serverless pricing table (fine-tuning only).
- SambaNova: Preview model on SambaCloud.
Gemma 4 31B benchmarks
| Benchmark | Score | What it measures | Reported by |
|---|---|---|---|
| GPQA Diamond | 84.3% | graduate-level science questions answered correctly | |
| LMArena text score | 1453 | Elo-style score from people voting between answers | Independent |
Scores reported by a model's maker aren't independently checked.
Gemma 4 31B price changes
- Until 2026-10-05 at DeepInfra: $0.15 input, $0.40 output per million tokens.
Can you run Gemma 4 31B yourself?
Yes. Google publishes the weights on Hugging Face as google/gemma-4-31B-it, under Apache 2.0: 31.3B parameters, 63 GB in BF16.
Running it takes about 75 GB of GPU memory: one 80 GB data-centre GPU, or a Mac with comfortably more unified memory than that. That's the weight files plus 20% for working memory with short inputs; long contexts need more, and fitting in memory doesn't make it fast.
Google also publishes a smaller 4-bit (quantisation-aware trained) version, google/gemma-4-31B-it-qat-w4a16-ct, at 23 GB: about 28 GB to run, so a single GPU with at least 28 GB of memory, or a Mac with comfortably more than 28 GB.
Models like Gemma 4 31B
Other fast models closest in price, at each maker's own price or the cheapest provider.
| Model | Input | Output | Context | Weights |
|---|---|---|---|---|
| Gemma 4 31B | $0.10 | $0.34 | 262K | Open |
| NVIDIA Nemotron 3 Super NVIDIA | $0.075 | $0.40 | 262K | Open |
| Llama 3.3 70B Meta | $0.10 | $0.32 | 131K | Open |
| Ministral 3 8B Mistral AI | $0.15 | $0.15 | 256K | Open |
| Seed 2.0 Mini ByteDance | $0.10 | $0.40 | 262K | Closed |
| MiMo-V2.6 Flash Xiaomi | $0.14 | $0.28 | 1M | Open |
Compare them all in the model tracker →
Gemma 4 31B FAQ
How much does Gemma 4 31B cost?
Gemma 4 31B costs $0.10 per million input tokens and $0.34 per million output tokens at CoreWeave, and $0.10 per million cached input tokens. Prices are list prices in US dollars, last checked 28 November 2026.
What is Gemma 4 31B's context window?
Gemma 4 31B takes up to 262,144 tokens in one request.
Is Gemma 4 31B open weight?
Yes. Google publishes the weights, so you can run Gemma 4 31B yourself or at any host that serves it.
Can I run Gemma 4 31B locally?
Gemma 4 31B's weights are 63 GB in BF16, so it needs about 75 GB of GPU memory: one 80 GB data-centre GPU, or a Mac with comfortably more unified memory than that. Google also publishes a 4-bit (quantisation-aware trained) version that needs about 28 GB.
Where can I use Gemma 4 31B?
Gemma 4 31B is available from CoreWeave, AWS, Novita AI, DeepInfra, DigitalOcean, Together AI and SambaNova. At CoreWeave, call it as google/gemma-4-31B-it.