API pricing and cost

Gemma 4 31B pricing

Gemma 4 31B official API pricing is $0.00 per million input tokens and $0.00 per million output tokens. Third-party provider prices are compared below.

Covers the 2026-04-02 Gemma 4 31B release. Supersedes Gemma 3 - 27B (IT).

$0.00

Official input / 1M

Standard tier

$0.00

Official output / 1M

Standard tier

$0.00

Blended / 1M

4:1 input/output

$0.00

Example monthly cost

10K requests, 8K input + 2K output/request

Token charges only; tool calls, taxes, and other non-token fees are excluded.

Official API pricing

USD / 1M text tokens · Standard · Effective from 2026-04-02 · Last verified 2026-11-14

InputStandard text tier, per million tokens
$0.00
OutputStandard text tier, per million tokens
$0.00

Other modalities

  • image input: $0.00 / 1M tokens

    Google Gemini Developer API Free Tier verified 2026-11-13; Free of charge (Paid Tier N/A)

API providers (2)

Published USD text API rates across hosting providers for Gemma 4 31B. Compare listed rates, effective dates, and service-tier notes for the same model.

On the example assistant workload above (10K requests, 8K input + 2K output/request; missing cache rates billed at full input), Amazon lists the lowest flat-rate total at $19.20/month.

Published USD API provider rates for Gemma 4 31B
ProviderInput / 1MCached / 1MOutput / 1MAdditional tiers & notes
Amazon⁠Effective from 2026-11-14$0.14Lowest input—$0.40—
DeepInfra⁠Effective from 2026-11-13$0.20—$0.40—

What Gemma 4 31B costs to run

Four workloads costed at official standard rates. Cached-input share is an estimation assumption, not a provider guarantee; when no cached rate is published, all input is billed at the uncached rate. Non-token fees are excluded.

Estimated monthly cost of four workloads on Gemma 4 31B
WorkloadPer requestMonthly tokensInputOutputPer month
Chatbotshort turns1,500 in · 500 out× 100,000 requests150M in · 50M out$0.00$0.00$0.00$0.00 / request
Assistant8K context · 90% cached8,000 in · 2,000 out× 10,000 requests80M in · 20M out$0.00$0.00$0.00$0.00 / request
RAGlong input, cached · 50% cached24,000 in · 800 out× 20,000 requests480M in · 16M out$0.00$0.00$0.00$0.00 / request
Coding agentlong output · 70% cached15,000 in · 4,000 out× 20,000 requests300M in · 80M out$0.00$0.00$0.00$0.00 / request
Start from

Monthly cost

$0.00

on Gemma 4 31B

Per request

$0.00

80M in · 20M out a month

Split

$0.00 + $0.00

input + output

Gemma 4 31B against comparable models

Benchmark-overlap peers and price-comparable same-type models, costed on the assistant workload above. All figures use the same workload and caching rule; lower price does not imply equivalent capability or service terms.

Blended price and monthly cost of Gemma 4 31B and comparable models
ModelBasisBlended / 1MPer monthvs Gemma 4 31B
Gemma 4 26B A4BGoogle Deep MindSimilar price$0.00$0.00—
Gemma 4 31BGoogle Deep Mind · this modelThis model$0.00$0.00—
Llama3.1-8B-InstructFacebook AI Research LabSimilar price$0.024$2.40—
Nemotron 3.5 Super VLNVIDIAShared benchmark coverage$0.126$12.64—
Muse Glimmer-30BFacebook AI Research LabShared benchmark coverage$0.293$29.28—
Qwen3.8-27BAlibabaShared benchmark coverage$0.712$71.20—
Kimi K3Moonshot AIShared benchmark coverage$3.46$345.60—

Catalog price position: #1 cheapest of 252 active priced models in the LLMLearner catalog (cheaper than 98% at the 4:1 mix; official headline rates).

Gemma 4 31B pricing questions

How much does Gemma 4 31B cost per million tokens?
Gemma 4 31B official API pricing is $0.00 per million input tokens and $0.00 per million output tokens. At the default 4:1 input-to-output mix, that is $0.00 per million blended tokens.
What does Gemma 4 31B cost per month, and what is included?
On the example Assistant workload (10,000 requests/month, 8,000 input and 2,000 output tokens/request), Gemma 4 31B costs about $0.00/month ($0.00/request). This includes token charges at the official rate only; tool calls, off-peak or batch tiers, and taxes are excluded.
Does Gemma 4 31B charge for cached input?
Google Deep Mind publishes no cached-input rate for Gemma 4 31B here, so every input token is estimated at the full $0.00 per million.