Open Gemma instruction model for efficient chat and self-hosted deployments
Gemma 4 31B by google is offered by 7 providers on this page. Public prices are shown for 6 of them. Its reference price is $0.40 per 1M input tokens and $1.00 per 1M output tokens. The lowest paid channel is CoreWeave at $0.10 / $0.34 per 1M, about 4.0× below the reference price. It also has 1 free ($0) channel; free tiers usually carry rate limits, and subscription-covered access bills $0 per token only after the subscription fee.
Artificial Analysis rates it 14.7 on the Intelligence Index, with 43.4 for coding and 4.2 for agentic tasks. Against its lowest blended price of $0.16 per 1M, that is roughly 92 index points per dollar, which is the value ratio the leaderboards rank on. Median output speed is 36 tokens per second, with 1.12s to the first token.
The context window is 262,144 tokens at the reference host, but hosts report different limits, from 262,128 to 262,144, so the usable window depends on the provider you pick. It supports reasoning, tool use, and structured output. Accepted input modalities are Text, Image, and Video. The weights are open, so it can also be self-hosted or served through a gateway of your choice. Providers report the capability flags inconsistently, so verify a specific feature against the host you plan to use. Its training knowledge cuts off at 2025-01.
Quality is independently evaluated by Artificial Analysis. Speed/latency are model-level medians.
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| Poe | Gateway | Free | — | — | 262,144 | 8,192 | ||
| CoreWeave google/gemma-4-31B-it | Cloud | $0.10 | $0.34 | $0.10 | — | 262,144 | 262,144 | |
| NanoGPT google/gemma-4-31b-it | Gateway | $0.10 | $0.45 | $0.05 | — | 262,144 | 131,072 | |
| NovitaAI google/gemma-4-31b-it | Gateway | $0.14 | $0.40 | — | — | 262,144 | 131,072 | |
| Ollama Cloud gemma4:31b | Cloud | $0.14 | $0.40 | $0.05 | — | 262,144 | 262,144 | |
| Neuralwatt | Gateway | $0.14 | $0.42 | $0.014 | — | 262,128 ⚠ | 16,384 | |
| NanoGPT TEE/gemma4-31b | Gateway | $0.40 | $1.00 | $0.40 | — | 262,144 | 131,072 |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.
Interleaved thinking (reasoning between tool calls) is declared by 1 of 7 providers.
1 more channels offer $0 (Poe); free tiers usually have rate limits and no SLA, excluded from ranking.
Individual evaluations run by Artificial Analysis, on the same reasoning tier as the intelligence score above. Each benchmark has its own task set and harness, so rows are not comparable with one another. The Intelligence Index above draws on a different, newer set of evaluations.