Google
Google

Gemma 4 31B pricing & price history

visionvideoreasoningtoolsgoogle/gemma-4-31b-it

Gemma 4 31B by Google costs $0.20 per 1M input tokens and $0.40 per 1M output tokens, with a 262K token context window.

$0.20Input / 1M tokens
$0.40Output / 1M tokens
262KContext window
4.4Intelligence index · coding 43.4

Price history

$0.000$0.230$0.460 2026-09-24today input /1M output /1M
DateInputOutput
2026-10-26$0.10 → $0.20 +100%$0.34 → $0.40 +18%
2026-10-26$0.20 → $0.10 -50%$0.40 → $0.34 -15%
2026-10-14$0.09 → $0.20 +122%$0.34 → $0.40 +18%

Cost calculator

Cheaper alternatives to Gemma 4 31B

ModelInputOutputContextIntel.
FreeFree1M—compare
FreeFree1M—compare
Scaledown
Summarize
Scaledown
$0.04Free1M—compare
Scaledown
Extract
Scaledown
$0.04Free1M—compare
$0.025$0.10262K—compare
Z.ai (Zhipu)
GLM 5.3 Flash
Z.ai (Zhipu)
$0.0399$0.07841M27.8compare
Qwen (Alibaba)
Qwen3.7 Flash
Qwen (Alibaba)
$0.03$0.131M—compare
$0.05$0.10131K—compare

Using a relay or third-party API?

Check for free whether it really serves Gemma 4 31B: output fingerprint, tokenizer and billing evidence, results in 1–3 minutes.

Check authenticity →

About Gemma 4 31B

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...

FAQ

How much does Gemma 4 31B cost?

Gemma 4 31B by Google costs $0.20 per 1M input tokens and $0.40 per 1M output tokens, with a 262K token context window. A typical request with 2,000 input and 500 output tokens costs about $0.0006.

What is the context window of Gemma 4 31B?

Gemma 4 31B supports up to 262,144 tokens of context and up to 16,384 output tokens per request.

Has Gemma 4 31B’s price changed?

Yes. ModelBank recorded 3 price changes; the latest on 2026-10-26.

Is Gemma 4 31B being deprecated?

No retirement date has been announced for Gemma 4 31B as of 2026-11-12.

What are cheaper alternatives to Gemma 4 31B?

Cheaper options include Lyria 3 Pro Preview (Free/Free), Lyria 3 Clip Preview (Free/Free), Summarize ($0.04/Free), Extract ($0.04/Free).