Google: Gemma 4 31B
GoogleOpen weights
Google: Gemma 4 31B by Google costs $0.09 per 1M input tokens and $0.34 per 1M output tokens, with a 262K-token context window.
Pricing
Input (per 1M tokens)
$0.09
Output (per 1M tokens)
$0.34
Cached input (per 1M)
$0.05
Specifications
- Provider
- Context window
- 262K tokens
- Parameters
- —
- Released
- Apr 2026
- Open weights
- Yes
- Frontier model
- No
- Hugging Face
- google/gemma-4-31B-it
Benchmarks
- LMArena Vision Elo
- 1276.8
- LMArena WebDev Elo
- 1366.1
Speed & latency
Time to first token
0.38s
Output speed
34 tok/s
Fastest host: deepinfra (via hf-router).
Compare Google: Gemma 4 31B with…
Google: Gemma 4 31B vs Google: Gemini 4 Argon$10.00/1MGoogle: Gemma 4 31B vs Google: Gemini 4 Argon (batch)$5.00/1MGoogle: Gemma 4 31B vs Google: Nano Banana 2.1$7.50/1MGoogle: Gemma 4 31B vs Google: Gemini 3.5 Transcribe$12.00/1MGoogle: Gemma 4 31B vs Google: Gemini 3.8 Flash Lite TTS$6.00/1MGoogle: Gemma 4 31B vs Google: Gemini 3.8 Flash TTS$9.00/1M
FAQ
How much does Google: Gemma 4 31B cost?
Google: Gemma 4 31B is priced at $0.09 per 1M input tokens and $0.34 per 1M output tokens. Output tokens cost more than input.
What is Google: Gemma 4 31B's context window?
Google: Gemma 4 31B supports a context window of 262K tokens — the maximum prompt plus response length it can handle in a single request.
Is Google: Gemma 4 31B open weight?
Yes — Google: Gemma 4 31B has openly available weights.
Data as of 2026-10-14. Source: Pricing via OpenRouter API, openrouter.ai. Pricing is per 1M tokens (USD); confirm with the provider before production use.