Gemma 4 31B
Google's current-generation open-weight model, available across inference gateways for self-hosted and low-cost deployment.
Source: Gemini API models, Gemini API pricing
Pricing
Every billing leg from the live catalog, in USD per 1M tokens.
| Billing leg | Rate |
|---|---|
| Input | $0.28 / M |
| Output | $0.86 / M |
Cost calculator
Billing-grade math over the rate card above, including the thinking tokens most estimates miss.
Compare providers
The same model, priced across every platform that serves it. Lowest combined in/out rate is flagged.
| Platform | Input / M | Output / M | Cache read / M | Batch | Access |
|---|---|---|---|---|---|
Together AI | $0.28 | $0.86 | — | — | Direct |
WandbLowest | $0.12 | $0.35 | $0.09 | — | via OpenRouter |
Venice | $0.12 | $0.36 | $0.09 | — | via OpenRouter |
Chutes | $0.12 | $0.37 | $0.06 | — | via OpenRouter |
DeepInfra | $0.13 | $0.38 | — | — | via OpenRouter |
SiliconFlow | $0.13 | $0.4 | — | — | via OpenRouter |
AWS Bedrock | $0.14 | $0.4 | — | ✓ | Direct |
Novita | $0.14 | $0.4 | — | — | via OpenRouter |
AWS Bedrock · Regional | from$0.14 | $0.4 | — | ✓ | Direct |
Parasail | $0.15 | $0.4 | $0.06 | — | via OpenRouter |
Phala | $0.15 | $0.46 | $0.075 | — | via OpenRouter |
Modelrun | $0.22 | $0.55 | $0.12 | — | via OpenRouter |
Together AI | $0.28 | $0.86 | — | — | Direct |
Together AI | $0.39 | $0.97 | — | — | via OpenRouter |
Together AI | $0.39 | $0.97 | — | — | Direct |
SambaNova | $0.38 | $1.15 | — | — | via OpenRouter |
Regional deployments are priced per region; the lowest available region rate is shown.
Price history
Has this model gotten cheaper or more expensive?
More from Google
Other models from the same provider.
Stop estimating. Track it.
SuperPenguin meters every Gemma 4 31B call your team makes, prices it with this exact rate card, and shows spend by feature, customer, and team.
Rates are generated from SuperPenguin's live pricing catalog.


