# Gemma 4 31B (Google)

Chat, code and image reading.

- Commercial use: Allowed (Apache 2.0) — Any use is allowed, paid products included; no fee and no credit line is required to use it.
- On your machine: 32 GB of memory (31.3B parameters, ~18.8 GB at 4-bit) — Our estimate: about 0.6 GB per billion parameters at 4-bit, with room for the context.
- Through an API: $0.1 / $0.34 (per 1M tokens, CoreWeave) — Cheapest live provider with tool calling, as the provider reports its price.
- Tool calling: 10 of 10 providers (10 providers, 10 with tool calling) — Providers whose API supports tool calling for this model, as each reports it.

- Maker: Google
- Task: Text and agents
- Pipeline: image-text-to-text
- On Hugging Face since: Mar 11, 2026
- License: Apache 2.0
- Parameters: 31.3B
- Context: 262K tokens
- Hugging Face: google/gemma-4-31B-it

## What Gemma 4 31B does
Gemma 4 31B is an open text and image model by Google DeepMind that chats, writes code, reasons step by step and reads pictures, documents and screenshots. It is the largest dense size of the Gemma 4 family. The model files are on Hugging Face, free to use in paid products under the Apache 2.0 license.

## Gemma 4 31B popularity
As reported by Hugging Face, checked Nov 26, 2026. Downloads include automated ones; some repositories report none.

## Where to run Gemma 4 31B
Provider | $ per 1M in / out | Tools | Context
CoreWeave (99.6% up, 24h) | $0.1 / $0.34 | Yes | 262K
Venice (99.8% up, 24h) | $0.12 / $0.36 | Yes | 256K
NextBit (100% up, 24h) | $0.125 / $0.34 | Yes | 262K
Crusoe (100% up, 24h) | $0.14 / $0.4 | Yes | 260K
Parasail (100% up, 24h) | $0.15 / $0.4 | Yes | 262K
PrimeIntellect (95.2% up, 24h) | $0.186 / $0.312 | Yes | 262K
DeepInfra (99.8% up, 24h) | $0.2 / $0.4 | Yes | 262K
OpenRouter | $0.2 / $0.4 | Yes | 262K
Modal (100% up, 24h) | $0.34 / $0.1 | Yes | 131K
ModelRun (100% up, 24h) | $0.75 / $1 | Yes | 262K
As reported by each provider via Hugging Face Inference Providers and OpenRouter, checked Nov 26, 2026.
- Parameters: 31.3B
- Memory at 4-bit: about 18.8 GB (Our estimate: 0.6 GB per billion parameters, with room for the context.)
- GGUF builds: 57 on Hugging Face (For llama.cpp, Ollama and LM Studio; e.g. ggml-org/gemma-4-31B-it-GGUF)
- MLX builds: 15 on Hugging Face (For Apple silicon)

## Gemma 4 31B license
Free to use, change and sell inside paid products under Apache 2.0. If you pass the model files on, include a copy of the license and mark the files you changed.
- In a paid product: Yes (Any use is allowed, paid products included; no fee and no credit line is required to use it.)
- Ship the weights to users: With conditions (Shipping the weights or a fine-tuned copy needs a copy of the Apache 2.0 license and a note on changed files.)
- Work for clients: Yes (You may build and deliver client projects with it under the same Apache 2.0 terms.)

## Alternatives

## Get started
- OpenRouter: google/gemma-4-31b-it (OpenAI-compatible: base URL https://openrouter.ai/api/v1)
- Hugging Face router: google/gemma-4-31B-it (OpenAI-compatible: base URL https://router.huggingface.co/v1)
- Local (GGUF): ggml-org/gemma-4-31B-it-GGUF (A community GGUF build on Hugging Face; read its card before use.)

## Questions

Hand-checked from 4 official pages on Nov 23, 2026; numbers refresh daily.
