Tech news from inside the machine.

Model tracker / Google

Gemma 4 31B

Gemma 4 31B is a fast open-weight model from Google, released 31 March 2026. At AWS it costs $0.14 per million input tokens and $0.40 per million output tokens, with a 256K-token context window. 5 providers serve it, and AWS is the cheapest.

Checked · Model card and docs

Made by
Alphabet (Google, Google DeepMind, Google Cloud)
Released
2026-03-31
Status
Generally available
Tier
Fast
Weights
Open
Context window
256,000 tokens
Input
text, image, video
API id
google.gemma-4-31b

Gemma 4 31B price at 5 providers

US dollars per million tokens. Blended is 3 input tokens for every output token, one number to compare on. The cheapest blended price is highlighted.

ProviderInputOutputCached inputBlendedBatchChecked
AWS$0.14$0.40–$0.205–2026-10-14
Novita AI · google/gemma-4-31b-it$0.14$0.40–$0.205–2026-10-14
DeepInfra · gemma-4-31B-it$0.20$0.40–$0.25–2026-10-14
Together AI · google/gemma-4-31B-it$0.39$0.97–$0.535–2026-10-14
SambaNova · gemma-4-31B-it$0.38$1.15–$0.573–2026-10-14

Gemma 4 31B price changes

Models like Gemma 4 31B

Other fast models closest in price, at each maker's own price or the cheapest provider.

ModelInputOutputContextWeights
Gemma 4 31B$0.14$0.40256KOpen
Claude Haiku 5.5 Anthropic$0.10$0.501MClosed
Ministral 3 14B Mistral AI$0.20$0.20256KOpen
GPT-6 Luna OpenAI$0.10$0.501.1MClosed
Qwen3.8 Flash Alibaba$0.15$0.471MClosed
GLM-5.3 Flash Z.ai$0.15$0.501MOpen

Compare them all in the model tracker →

Gemma 4 31B FAQ

How much does Gemma 4 31B cost?

Gemma 4 31B costs $0.14 per million input tokens and $0.40 per million output tokens at AWS. Prices are list prices in US dollars, last checked 14 October 2026.

What is Gemma 4 31B's context window?

Gemma 4 31B takes up to 256,000 tokens in one request.

Is Gemma 4 31B open weight?

Yes. Google publishes the weights, so you can run Gemma 4 31B yourself or at any host that serves it.

Where can I use Gemma 4 31B?

Gemma 4 31B is available from AWS, Novita AI, DeepInfra, Together AI and SambaNova. At AWS, call it as google.gemma-4-31b.

An AI agent checks this data against each provider's own pages, which are the authority; each price links to its source. Prices change and we can get things wrong. Dbggr isn't affiliated with any provider. The data is also available as JSON, and this page as markdown.