Gemma 4 31B API Pricing / Price per 1M tokens
Gemini(Google) • API Price Comparison
Also known as: gemma-4-31b · gemma431b · gemma4-31b · gemma4 31b
API pricing and token costs at a glance
Updated on · Published currencies / per 1M tokens; cheapest ranked by input
| Channel | Input / 1M | Output / 1M | Cache read / 1M | Updated / verified on |
|---|---|---|---|---|
| Official | No official quote recorded | |||
| OpenRouterLowest input | USD 0.2 | USD 0.4 | — | 2026-11-30 |
Metered API cost = input tokens / 1M × input rate + output tokens / 1M × output rate. At the lowest-input-rate channel, 1M input plus 250K output tokens costs approximately USD 0.3. This excludes caching, tools, retries and other service fees; the lowest input rate does not guarantee the lowest total bill.
— means the price or date is not recorded. Cross-currency ranking uses exchange rates.
Gemma 4 31B is a large language model by Gemini(Google) with a 8K-token context window. Across the 1 API channels tracked here, input pricing ranges from $0.20 per 1M input tokens; the cheapest is OpenRouter at $0.20 per 1M input tokens. It is also available through subscription plans such as Gemini Free, Gemini Code Assist Individual, Google AI Plus, Google AI Pro. Its Agent Arena net-improvement score is approximately -23.7%. Prices are collected daily from official provider pages and every tracked channel, then cross-checked by a data-accuracy audit.
Model performance benchmarks
Scores retain their original benchmark, version and metric. We do not combine them into a site-wide score; results from different versions are not directly comparable.
💳 Subscription Plans
Plans from Gemini(Google) come first, followed by linked third-party plans; each group is organized by product line.
Official plans
These are the model producer’s plans. A plan may not include this exact model; check the official site for current model availability and allowances.
💬 Chat subscriptions
5 plansMonthly access to the assistant apps and their model line-up.
- Plan price: S$0.00/month
- Payment methods: Credit card / Debit card / Google Pay
Conditions and details
- Currency SGD, unit per month
- Published free tier
- EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
- Does the subscription allowance cover third-party models?: Unknown
- Plan price: $4.99/month
Conditions and details
- Currency USD, unit per month
- EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
- Does the subscription allowance cover third-party models?: Unknown
- Google AI Plus US monthly price $4.99 (cut from $7.99 on 2026-06-08; ).
- Verified 2026-11-05.
- Plan price: $19.99/month
Conditions and details
- Currency USD, unit per month
- EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
- Does the subscription allowance cover third-party models?: Unknown
- Google AI Pro US monthly price $19.99.
- Verified 2026-11-05.
- Plan price: $99.99/month
- Payment methods: Credit card / Debit card / Google Pay
Conditions and details
- Currency USD, unit per month
- EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
- Does the subscription allowance cover third-party models?: Unknown
- US consumer tier.
- Plan price: $199.99/month
Conditions and details
- Currency USD, unit per month
- EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
- Does the subscription allowance cover third-party models?: Unknown
- US consumer tier.
⌨️ Coding plans
3 plansEditor and CLI coding agents, metered in prompts rather than tokens.
- Recorded plan allowance: 1000 requests per day
- Plan price: $0.00/month
Conditions and details
- Currency USD, unit per month
- Published free tier
- EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
- Does the subscription allowance cover third-party models?: Unknown
- Free.
- 6000 code completions + 240 chats/day.
- Gemini 2.5 now, Gemini 3 waitlist.
- IDE plugin (VSCode/JetBrains/Android Studio).
- Recorded plan allowance: 1500 requests per day
- Plan price: $22.80/month
- Billed annually $228.00
Conditions and details
- Currency USD, unit per month
- EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
- Does the subscription allowance cover third-party models?: Unknown
- Per-user.
- $22.80/mo month-to-month or $19/mo annual.
- 1500 model requests/day shared CLI+Agent.
- Gemini 2.5 + Gemini 3 waitlist.
- Recorded plan allowance: 2000 requests per day
- Plan price: $54.00/month
- Billed annually $540.00
Conditions and details
- Currency USD, unit per month
- EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
- Does the subscription allowance cover third-party models?: Unknown
- Per-user.
- $54/mo month-to-month or $45/mo annual.
- 2000 model requests/day.
- Private repo customization (GitHub/GitLab/Bitbucket) + Apigee.
Which plan is right for you?
💬 Chat subscriptions: Monthly access to the assistant apps and their model line-up.
⌨️ Coding plans: Editor and CLI coding agents, metered in prompts rather than tokens.
| Channel | Type | Input / 1M | Output / 1M | Rate Limit | vs Official | ||
|---|---|---|---|---|---|---|---|
OpenRouter16 variants💰 Best Price | Aggregator | $0.20 | $0.40 | - | - | ||
Show all price variants for this channelOpenRouter Auto / default routeDefault $0.20 / $0.40 per 1M default_route Cheapest endpoint: KT $0.10 / $0.34 per 1M cheapest_endpoint KT | google/gemma-4-31b-it-20260402 $0.10 / $0.34 per 1M upstream_provider CoreWeave | google/gemma-4-31b-it-20260402 $0.10 / $0.34 per 1M upstream_provider Venice | google/gemma-4-31b-it-20260402 $0.12 / $0.36 per 1M upstream_provider Chutes | google/gemma-4-31b-it-20260402 $0.12 / $0.37 per 1M upstream_provider NextBit | google/gemma-4-31b-it-20260402 $0.13 / $0.34 per 1M upstream_provider DeepInfra | google/gemma-4-31b-it-20260402 $0.14 / $0.51 per 1M upstream_provider Crusoe | google/gemma-4-31b-it-20260402 $0.14 / $0.40 per 1M upstream_provider Friendli | google/gemma-4-31b-it-20260402 $0.14 / $0.40 per 1M upstream_provider Parasail | google/gemma-4-31b-it-20260402 $0.15 / $0.40 per 1M upstream_provider DeepInfra | google/gemma-4-31b-it-20260402 $0.16 / $0.32 per 1M upstream_provider PrimeIntellect | google/gemma-4-31b-it-20260402 $0.18 / $0.30 per 1M upstream_provider DeepInfra | google/gemma-4-31b-it-20260402 $0.20 / $0.40 per 1M upstream_provider ModelRun | google/gemma-4-31b-it-20260402 $0.75 / $1.00 per 1M upstream_provider SiliconFlow | google/gemma-4-31b-it-20260402 $0.75 / $1.00 per 1M upstream_provider | |||||||
| Usage Level | Tokens/Month | OpenRouter |
|---|---|---|
| 🐣 Light | 0.1M in + 0.1M out | $0.04 |
| 📊 Medium | 1.0M in + 0.5M out | $0.40 |
| 🚀 Heavy | 10.0M in + 5.0M out | $4.00 |
| 🏢 Enterprise | 100.0M in + 50.0M out | $40.00 |
Frequently asked questions about gemma-4-31b
How much does the Gemma 4 31B API cost?
The lowest input rate is USD 0.2 per 1M tokens; output on that channel is USD 0.4 per 1M tokens.
Which channel has the cheapest Gemma 4 31B API?
OpenRouter has the lowest input rate: USD 0.2 per 1M tokens. Cross-currency ranking uses exchange rates; compare output and cache prices separately.
What is the Gemma 4 31B cache-read price?
No cache-read rate is recorded; missing prices do not imply free caching.
When was Gemma 4 31B pricing last updated?
Updated on 2026-11-30. This is the latest recorded price update or verification; see the table for individual channel dates.
Is there a free Gemma 4 31B API?
No available recorded channel lists both input and output at zero. Missing prices, free cache reads or a free chat tier do not establish a free API; check provider terms for trial credits.
How do I calculate Gemma 4 31B token costs and monthly spend?
Metered API cost = input tokens / 1M × input rate + output tokens / 1M × output rate. At the lowest-input-rate channel, 1M input plus 250K output tokens costs approximately USD 0.3. This excludes caching, tools, retries and other service fees; the lowest input rate does not guarantee the lowest total bill.