token.app โ€บ Google โ€บ Gemma 4 31B

Gemma 4 31B pricing & benchmarks

Gemma 4 31B is available from Google at $0.200 per million input tokens and $0.400 per million output tokens ($0.250 blended at 3:1). It accepts up to 262,144 tokens of context. Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...

Pricing
Per million tokens ยท OpenRouter
Input$0.200
Output$0.400
Blended (3:1)$0.250
Specification
google/gemma-4-31b-it
Context window262K
Max output16K
ReleasedApr 2026
LicenceOpen weights
Modalitiesin:text, in:image, in:video, out:text
Benchmarks
Independently run โ€” not vendor self-reports. Every score links its source.
BenchmarkScoreConfigRunSource
GPQA Diamond 75.8% ยฑ3.1 minimal effort 2026-08-06 Independently run ยท Epoch AI
OTIS Mock AIME 73.3% ยฑ6.7 minimal effort 2026-08-06 Independently run ยท Epoch AI
Scores published by Epoch AI, 'AI Benchmarking Hub', used under CC BY 4.0.
Cheaper models that score at least as well on GPQA Diamond
Strictly lower blended price AND an equal-or-higher GPQA Diamond score. One benchmark is one dimension โ€” a model that wins here may still be weaker at your specific task.
ModelProviderBlended $/1MGPQA Diamond
Qwen3.7 Flash Alibaba $0.055 (โˆ’78%) 82.3% Compare โ†’
Qwen3.5-Flash Alibaba $0.114 (โˆ’54%) 82.3% Compare โ†’
Where to run Gemma 4 31B
15 options across 12 providers ยท 5.1ร— between cheapest and dearest. Blended at 3:1. โš  marks an option serving less context than the best available, or re-pricing above a prompt-length threshold. Bracketed labels are the provider's own service tier or region.
HostBlended $/1MIn / OutContextWeightsUptime 24h
CoreWeave $0.160 $0.100 / $0.340 262K fp4 100.0%
Venice $0.180 $0.120 / $0.360 256K fp4 98.1%
Chutes
โš  131K context, not 262K
$0.182 $0.120 / $0.370 131K fp4 96.3%
DeepInfra (fp8/flex) $0.200 $0.160 / $0.320 262K fp8 92.7%
Crusoe $0.205 $0.140 / $0.400 262K bf16 99.2%
Friendli $0.205 $0.140 / $0.400 262K โ€” 100.0%
Novita $0.205 $0.140 / $0.400 262K bf16 76.6%
Parasail $0.212 $0.150 / $0.400 262K fp8 100.0%
DeepInfra (turbo) $0.229 $0.135 / $0.510 262K fp4 99.9%
DeepInfra $0.250 $0.200 / $0.400 262K fp8 98.7%
DeepInfra (fp8/priority) $0.375 $0.300 / $0.600 262K fp8 92.4%
Io Net $0.544 $0.361 / $1.09 262K โ€” 93.1%
SambaNova
โš  131K context, not 262K
$0.573 $0.380 / $1.15 131K โ€” 99.6%
ModelRun $0.813 $0.750 / $1.00 262K fp4 100.0%
SiliconFlow $0.813 $0.750 / $1.00 262K fp8 95.0%
Host prices and uptime from OpenRouter, synced 2026-10-22. Lower-precision weights (fp4, fp8) can cost less and score worse than the same model at bf16 โ€” the score above is not host-specific.
Compare Gemma 4 31B
FAQ
How much does Gemma 4 31B cost?
Gemma 4 31B costs $0.200 per million input tokens and $0.400 per million output tokens on OpenRouter. At a 3:1 input:output mix that blends to $0.250 per million tokens.
What is Gemma 4 31B's context window?
Gemma 4 31B accepts up to 262,144 tokens of context, and can generate up to 16,384 output tokens.
How good is Gemma 4 31B on benchmarks?
Gemma 4 31B scores 75.8% on GPQA Diamond, independently run and published by Epoch AI. 2 benchmark results are listed on this page, each with its run date and source.
Is there a cheaper model as good as Gemma 4 31B?
Yes โ€” 2 models in our catalogue cost less per token than Gemma 4 31B and score at least as high on the same benchmark. The cheapest is Qwen3.7 Flash at $0.055 per million tokens blended.