by Google DeepMind

Google: Gemma 3 12B.

multimodal open weights laptop+ 12B params 131K ctx
Cheapest input
$0.05/M
on DeepInfra
Cheapest output
$0.15/M
on DeepInfra
Smallest GPU
1× Nvidia GeForce RTX 3060Ti LHR
API pricing

What it costs per month across providers.

Estimate your monthly bill for Google: Gemma 3 12B across every host that publishes per-token pricing. Slide your token volumes; the chart + table re-rank cheapest-first.

Cheapest
$0.8
DeepInfra
$/M input
$0.05
per million tokens
$/M output
$0.15
per million tokens
Providers
2
with priced rows
100,000 1,000,000,000
100,000 500,000,000
Monthly bill

Cheapest provider on the left.

Total monthly cost — input + output tokens combined.

Loading...
Per provider

Bill breakdown.

Provider Monthly total
$0.8 Sign up ↗
$0.8 Sign up ↗
Self-host alternative

Rent the GPU instead of paying per token.

Full breakdown →

For an open-weights model like Google: Gemma 3 12B, you can rent a GPU and serve inference yourself. The math: cheapest GPU rental × 730 hours/month + your electricity rate × power draw.

GPU rental
$37.16
1× Nvidia GeForce RTX 4060 @ $0.051/hr
Electricity
—
Self-host total
$37.16
per month
API beats self-host
+$36.36
API is cheaper here

Assumes the GPU runs 24/7 at ~85% utilisation. If your traffic is bursty, you'll pay less for the API and probably more for the GPU (idle hours still cost rental). The breakeven analysis lives on the Self-host vs API breakeven tool.

Full calculator
Want to compare token volumes across other models too? Open the standalone API pricing tool →