Gemma 4 31B IT API Pricing

Google · released Apr 2, 2026 · 262K context · API model ID gemma-4-31b-it

Gemma 4 31B IT by Google API pricing: free input and free output (provider list price via models.dev, Nov 24, 2026).

Prices

Gemma 4 31B IT prices, USD per 1M tokens
PriceUSD per 1M tokens
InputFree
OutputFree
Cache readNot published
Cache writeNot published

Google's list price for its own API, as compiled by models.dev and checked Nov 24, 2026, 04:16 UTC. Prices on cloud platforms and resellers can differ. Provider documentation

Estimated monthly cost

$0

per month

per day
$0
per request
$0

Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.

Compare this workload across models

Monthly cost by workload

WorkloadPer month
Chatbot1,000 in / 500 out tokens, 10,000 requests a day$0/mo
RAG8,000 in / 500 out tokens, 5,000 requests a day$0/mo
Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input$0/mo

Context and capabilities

Context
262,144 tokens
Max output
32,768 tokens
Input
text, image
Output
text
Knowledge cutoff
Not published
Open weights
Yes
Tool calling
Yes
Reasoning
Yes
Structured outputs
Yes

Capabilities and limits as listed by models.dev.

Similarly priced models

Price history

Questions

How much does Gemma 4 31B IT cost per month?
For a chatbot handling 10,000 requests a day with 1,000 input and 500 output tokens each, Gemma 4 31B IT costs about $0 per month at Google's list prices (free input, free output).
Does Gemma 4 31B IT support prompt caching?
No cache read price is published for Gemma 4 31B IT.
How long is Gemma 4 31B IT's context window?
Gemma 4 31B IT accepts up to 262,144 tokens (262K) of context and returns up to 32,768 tokens per response.