Home › Providers › google › Google: Gemma 4 31B
Google: Gemma 4 31B API Pricing
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...
How much does Google: Gemma 4 31B cost for a real workload?
At 10M input + 2M output tokens per month, Google: Gemma 4 31B costs about $2.8 ($2 input + $0.8 output). Try your own volumes in the cost calculator.
What are cheaper alternatives to Google: Gemma 4 31B?
- PrismML: Ternary Bonsai 2 27B — $0.075 in / $0.5 out per 1M
- NVIDIA: Nemotron 3 Super — $0.08 in / $0.45 out per 1M
- ByteDance Seed: Seed-2.0-Mini — $0.1 in / $0.4 out per 1M
- Google: Gemini 2.5 Flash Lite — $0.1 in / $0.4 out per 1M
- OpenAI: GPT-4.1 Nano — $0.1 in / $0.4 out per 1M
- Z.ai: GLM 4.7 Flash — $0.0605 in / $0.4 out per 1M
Compare Google: Gemma 4 31B with other models
Google: Gemma 4 31B vs Google: Gemma 4 26B A4B (free)Google: Gemma 4 31B vs Google: Gemma 4 31B (free)Google: Gemma 4 31B vs Google: Lyria 3 Pro PreviewGoogle: Gemma 4 31B vs Google: Lyria 3 Clip PreviewGoogle: Gemma 4 31B vs Google: Gemma 3 4BGoogle: Gemma 4 31B vs Google: Gemma 3 12B
Frequently asked questions
How much does Google: Gemma 4 31B cost?
Google: Gemma 4 31B costs $0.2 per 1M input tokens and $0.4 per 1M output tokens (list price, snapshot October 21, 2026). At 10M input + 2M output tokens per month that is about $2.8.
What is the context window of Google: Gemma 4 31B?
Google: Gemma 4 31B has a context window of 262,144 tokens and can return up to 16,384 output tokens per response.
What are cheaper alternatives to Google: Gemma 4 31B?
Cheaper models include PrismML: Ternary Bonsai 2 27B ($0.075 in / $0.5 out), NVIDIA: Nemotron 3 Super ($0.08 in / $0.45 out), ByteDance Seed: Seed-2.0-Mini ($0.1 in / $0.4 out). See the full list on this page.
Is Google: Gemma 4 31B free to use?
No. Google: Gemma 4 31B is a paid model at $0.2 input / $0.4 output per 1M tokens. 20 free models are listed on the free models page.
Provider: google · Model ID: google/gemma-4-31b-it · Modality: text+image+video->text · Price snapshot October 21, 2026, refreshed daily. How we collect prices