Google·Updated Nov 2026
Gemma 4 31B IT logo

Gemma 4 31B IT

Google · Compare per-1M input/output rates, prompt cache discounts, and context windows.

Lowest Effective ($100)
$0.21
5 providers · Vercel
Input / 1M
$0.20
Output / 1M
$0.40
Cache Read
$0.20-0%
Context / Max Output
262K / 131K
5m Cache Write $0.20/1MInput Modalities: Image · Text · Video
1 verified $0.00 free API route:OpenRouter

Verified Provider Routes (Gemma 4 31B IT)

Rank model × provider routes by effective $/1M cost after top-up fees.

Providers Directory
$10 – $100,000
$
Value Ranking · Net Purchasing Power

Tokens Bought per $100 Out-of-Pocket

Gemma 4 31B IT (75% / 25%)

Top pick yields +101.1% more tokens than highest-cost route
#1
Command Code Plans (GOAT / Pro / Max) logo
Command Code
PlanCapped· Best Value
Pro $20/mo ($110 pool) + $80 rollover · 5h & weekly rolling caps
760.0M tokens
$0.13/1M blended
Visit
#2
Vercel AI Gateway logo
Vercel
Gateway
+$3.20 card fee · $96.80
472.2M tokens
$0.21/1M blended
Visit
0% fee · $100.00
400.0M tokens
$0.25/1M blended
#4
+$4.70 card fee · $95.30
381.2M tokens
$0.26/1M blended
Visit
#5
OpenRouter logo
OpenRouter
Gateway
+$5.50 card fee · $94.50
378.0M tokens
$0.26/1M blended
Visit

Flat-Rate Coding Plans Including Gemma 4 31B IT

Subscription tiers apply rolling 5h/weekly caps unlike unlimited PAYG APIs; saturated estimates divide seat fee by published pool.

6 coding plans
Pro $20/mo
Up to $110 mixed frontier + open pool
5h & weekly rolling caps$0.045–$0.13/1M
Cursor logoCursor$8/mo
Plus $8 · Premium $30 · Ultra $200/mo
Shared IDE usage pool (4x Premium / 50x Ultra)
Monthly pooled creditsPooled credits
Trae logoTrae$20/mo
Pro $20 · Pro+ $60 · Ultra $200/mo
1:1 dollar token balance + unlimited autocomplete
Monthly dollar allowancePooled credits
Pro $10 · Business $19 · Ent $39/mo
Pooled monthly GitHub AI Credits
Monthly credit pool + unlimited IDE completionsPooled credits
Free $0 · Pro $20 · Max $200/mo
Daily & weekly usage quotas + unlimited Tab (Teams $80 + $40/seat)
Daily & weekly rolling allowance capsPooled credits
Pro $10–$20 · Ultimate $30–$60/mo
10–70 monthly AI credits (1 credit = $1 USD)
30-day renewal + unlimited local completionsPooled credits

Checkout Fee & Rate Breakdown

Comparing Providers For: Gemma 4 31B IT · $100

6 routes
ProviderTypeListFees & Discounts ($100)Eff. Input / Eff. OutputtokensConfidenceNotesOfficial docs
Plan$0.20 / $0.40$20.00 (0.0%)$0.11 / $0.21
760.0M tokens
+101.1%
VerifiedPro $20/mo ($110 pool) + $80 rollover · 5h & weekly rolling capsOfficial docs
Gateway$0.14 / $0.40$3.20 (3.2%)$0.14 / $0.41
472.2M tokens
+24.9%
VerifiedCache Read $0.14/1MOfficial docs
Direct$0.20 / $0.40$0.00 (0.0%)$0.20 / $0.40
400.0M tokens
+5.8%
VerifiedCache Read $0.20/1MOfficial docs
Cloud$0.20 / $0.40$0.00 (0.0%)$0.20 / $0.40
400.0M tokens
+5.8%
VerifiedCache Read $0.20/1MOfficial docs
Gateway$0.20 / $0.40$4.70 (4.7%)$0.21 / $0.42
381.2M tokens
+0.8%
Pass-ThroughCache Read $0.20/1MOfficial docs
Gateway$0.20 / $0.40$5.50 (5.5%)$0.21 / $0.42
378.0M tokens
VerifiedCache Read $0.20/1MOfficial docs
VERIFIED $0.00 FREE API ROUTES

Free Ways to Call Gemma 4 31B IT ($0/token)

All Free LLM APIs →
google/gemma-4-31b-it:free
$0.00
Quota: Verified $0/token endpoint
No CardLogs Prompts
Open Free Endpoint ↗
Runs locally · 262K context
Open BPE token visualizer
Estimated Tokens
45
Characters
243
Context Window (262K)0.02%
Input cost (1 call)
$0.000009
Total w/ 400 out tokens
$0.0002
10,000 calls (uncached)
$1.69
10,000 calls (cached input)
$1.69

Billing Tiers, Long-Context & Off-Peak Rate Bands

Verified upstream rate cards separated from the standard baseline — including async batch, flex, priority throughput, fine-tuned inference, prompt-depth tiers, and UTC off-peak schedules.

ProviderRaw Model IDBilling TierInput / 1MOutput / 1MContext / Time Brackets
google/gemma-4-31b-it:freefree$0.00$0.00
Flat per-1M rate

Comparable Alternatives (Gemma 4 31B IT)

Model Catalog
ModelVendorInput / 1MOutput / 1MCache ReadContext
Google logoGoogle$0.20$0.40$0.20262K
OpenAI logoOpenAI$0.20$1.25$0.02400KCompare →
Mistral logoMistral$0.20$0.20$0.02262KCompare →
Mistral logoMistral$0.20$0.20$0.02262KCompare →
Mistral logoMistral$0.20$0.20$0.02262KCompare →

Frequently Asked Questions

Where is the cheapest place to run Gemma 4 31B IT API?

On a $100 card deposit at a 3:1 input/output ratio, Vercel offers the lowest effective cost for Gemma 4 31B IT at $0.21 per 1M blended tokens across 5 tracked providers (list rate $0.20 input / $0.40 output).

How much does Gemma 4 31B IT cost per 1M tokens?

Gemma 4 31B IT lists at $0.20 per 1M input tokens and $0.40 per 1M output tokens ($0.25 blended at 3:1). Effective provider rates after payment fees range from $0.21 to $0.26 per 1M.

What is the context window and max output of Gemma 4 31B IT?

Gemma 4 31B IT supports a 262K context window and up to 131K output tokens per request.

Does Gemma 4 31B IT support prompt caching or open-weight deployment?

Prompt cache reads are billed at $0.20/1M (0% off list input). Proprietary weights available via official APIs, clouds, and AI gateways.

Related Head-to-Head Matchups

Comparisons