Google·Updated Nov 2026
Gemma 3 4B logo

Gemma 3 4B

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

Lowest Effective ($100)
$0.063
5 providers · Google AI Studio (+1)
Input / 1M
$0.05
Output / 1M
$0.10
Cache Read
$0.05-0%
Context / Max Output
131K / 16K
5m Cache Write $0.05/1MInput Modalities: Text · Image

Verified Provider Routes (Gemma 3 4B)

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 3 4B (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
3,040.0M tokens
$0.033/1M blended
Visit
0% fee · $100.00
1,600.0M tokens
$0.063/1M blended
#3
Vercel AI Gateway logo
Vercel
Gateway
+$3.20 card fee · $96.80
1,548.8M tokens
$0.065/1M blended
Visit
#4
+$4.70 card fee · $95.30
1,524.8M tokens
$0.066/1M blended
Visit
#5
OpenRouter logo
OpenRouter
Gateway
+$5.50 card fee · $94.50
1,512.0M tokens
$0.066/1M blended
Visit

Flat-Rate Coding Plans Including Gemma 3 4B

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.011–$0.031/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 3 4B · $100

6 routes
ProviderTypeListFees & Discounts ($100)Eff. Input / Eff. OutputtokensConfidenceNotesOfficial docs
Plan$0.050 / $0.10$20.00 (0.0%)$0.026 / $0.053
3,040.0M tokens
+101.1%
VerifiedPro $20/mo ($110 pool) + $80 rollover · 5h & weekly rolling capsOfficial docs
Direct$0.050 / $0.10$0.00 (0.0%)$0.050 / $0.10
1,600.0M tokens
+5.8%
VerifiedCache Read $0.050/1MOfficial docs
Cloud$0.050 / $0.10$0.00 (0.0%)$0.050 / $0.10
1,600.0M tokens
+5.8%
VerifiedCache Read $0.050/1MOfficial docs
Gateway$0.050 / $0.10$3.20 (3.2%)$0.052 / $0.10
1,548.8M tokens
+2.4%
Pass-ThroughCache Read $0.050/1MOfficial docs
Gateway$0.050 / $0.10$4.70 (4.7%)$0.052 / $0.10
1,524.8M tokens
+0.8%
Pass-ThroughCache Read $0.050/1MOfficial docs
Gateway$0.050 / $0.10$5.50 (5.5%)$0.053 / $0.11
1,512.0M tokens
VerifiedCache Read $0.050/1MOfficial docs
Runs locally · 131K context
Open BPE token visualizer
Estimated Tokens
45
Characters
243
Context Window (131K)0.03%
Input cost (1 call)
$0.000002
Total w/ 400 out tokens
$0.000042
10,000 calls (uncached)
$0.42
10,000 calls (cached input)
$0.42

Comparable Alternatives (Gemma 3 4B)

Model Catalog
ModelVendorInput / 1MOutput / 1MCache ReadContext
Google logoGoogle$0.05$0.10$0.05131K
Meta logoMeta$0.05$0.08$0.025131KCompare →
Meta logoMeta$0.05$0.33$0.05131KCompare →
Mistral logoMistral$0.05$0.08$0.0533KCompare →
OpenAI logoOpenAI$0.05$0.40$0.005400KCompare →

Frequently Asked Questions

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

On a $100 card deposit at a 3:1 input/output ratio, Google AI Studio (+1) offers the lowest effective cost for Gemma 3 4B at $0.063 per 1M blended tokens across 5 tracked providers (list rate $0.05 input / $0.10 output).

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

Gemma 3 4B lists at $0.05 per 1M input tokens and $0.10 per 1M output tokens ($0.063 blended at 3:1). Effective provider rates after payment fees range from $0.063 to $0.066 per 1M.

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

Gemma 3 4B supports a 131K context window and up to 16K output tokens per request.

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

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

Related Head-to-Head Matchups

Comparisons