Deprecated on Sep 15, 2026. 15 providers still list it at the prices below.
Context
262K
Max output
262K
Serving providers
15
Cheapest input
$0.10 /1M
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand

Input pricing runs from $0.10 to $0.40 per 1M tokens across 14 providers, so the dearest route costs 300% more than the cheapest for the same model.

Serving providerInput /1MOutput /1MEndpoints
Wandb Cheapest$0.10$0.341
Standardwandb/google/gemma-4-31B-it
ComponentUnitStandard
Text input/1M tok$0.10
Text output/1M tok$0.34
Aihubmix $0.14$0.401
Friendliai $0.14$0.401
Gmi $0.14$0.401
Novita $0.14$0.401
Tensormesh $0.14$0.561
Vercel Reseller quote$0.14$0.401
Libertai $0.15$0.401
Sail is dearest at $0.40 / $0.60

Price history

listed seller prices, input and output per 1M tokens
Input Output
Input down 29% since first tracked
$0.00$0.20$0.40$0.60Jun 10Aug 28Sep 22Nov 5$0.34$0.10

Cost calculator

estimate your monthly spend on this model
$0
estimated / month

Model IDs

copy the exact identifier for your platform
google/gemma-4-31b-it:freegemini/gemma-4-31b-itwandb/google/gemma-4-31B-ittensormesh/google/gemma-4-31B-itnovita/google/gemma-4-31b-itfriendliai/google/gemma-4-31B-itaihubmix/gemma-4-31b-itgoogle/gemma-4-31b-itgmi/google/gemma-4-31b-itlibertai/gemma-4-31b-itaiand/google/gemma-4-31b-itgoogle/gemma-4-31b-itdeepinfra/google/gemma-4-31B-itsambanova/gemma-4-31B-itgoogle/gemma-4-31b-it:batchtogether_ai/google/gemma-4-31B-itsail/google/gemma-4-31B-it

Frequently asked questions

Gemma 4 31B pricing, context and availability

Is Gemma 4 31B still available?

Gemma 4 31B was deprecated on 2026-09-15, but 15 serving providers still list it.

How much does Gemma 4 31B cost?

Gemma 4 31B costs $0.10 per 1M input tokens from Wandb, and $0.34 per 1M output tokens from Wandb. Across 14 serving providers, input prices range from $0.10 to $0.40 per 1M tokens.

What is the context window of Gemma 4 31B?

Gemma 4 31B accepts up to 262K tokens of context and can return up to 262K output tokens.

Which providers serve Gemma 4 31B?

Gemma 4 31B is available from 15 serving providers, each with its own pricing and model ID. Wandb is currently the cheapest.

What can Gemma 4 31B do?

Gemma 4 31B supports image input (vision), tool use, reasoning, prompt caching and structured output.

Other Google models

compare pricing across the Google lineup
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Nov 28, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI