GoogleUpdated 2h ago

Google: Gemma 4 31B API Pricing

Live token cost for Google: Gemma 4 31B from Google. Use the figures below for budgeting, then tune your exact request mix in the interactive calculator. Prices refresh every 24 hours from OpenRouter.

Input
$0.130
/ 1M tokens
Output
$0.380
/ 1M tokens
Cached input
$0.020
/ 1M tokens

Capabilities

262K contextVisionPrompt caching

Google: Gemma 4 31B cost at scale

Estimated monthly cost across common production volumes. Assumes 30-day months and the request shapes shown.

TierRequests / dayIn / out tokens$ / month
Hobby1,000500 / 200$4.23
Startup10,0001,500 / 500$115.50
Growth100,0003,000 / 800$2,082.00
Enterprise1,000,0008,000 / 2,000$54,000.00
Open Google: Gemma 4 31B in interactive calculator →

Compare Google: Gemma 4 31B vs.

Frequently asked questions

How much does Google: Gemma 4 31B cost?

Google: Gemma 4 31B costs $0.13 per 1M input tokens and $0.38 per 1M output tokens, with cached input at $0.02 per 1M tokens. A typical 1,500-token in / 500-token out request costs $0.00039.

Does Google: Gemma 4 31B support cached input?

Yes. Google: Gemma 4 31B supports prompt caching at $0.02 per 1M cached input tokens. Reuse the same system prompt or context across requests to cut input cost dramatically.

What is the Google: Gemma 4 31B context window?

Google: Gemma 4 31B supports a context window of 262,144 tokens (262K).

What is Google: Gemma 4 31B good for?

Google: Gemma 4 31B is a good fit for general-purpose LLM tasks via the Google API — chat, code, writing, summarization. For other use cases, run your specific input/output mix through the interactive calculator to compare against alternative models.