Gemma 4 12b API Pricing
Gemma 4 12b costs $0.1 per 1M input tokens and $0.3 per 1M output tokens on Google's API. Prices are provider list prices in USD, refreshed as sources update; see the Gemma 4 12b model profile for capability scores.
Price List
| Rate | Price (USD) | Notes |
|---|---|---|
| Input | $0.1 | per 1M tokens |
| Output | $0.3 | per 1M tokens |
| Blended input + output | $0.4 | 1M in + 1M out at list price |
| Context window | 256K tokens |
What a Workload Costs
Computed straight from the list prices above — token counts are illustrative workload sizes, not measurements of Gemma 4 12b.
| Workload | Cost | Tokens |
|---|---|---|
| Short chat turn | $0.00025 | 1K in / 500 out |
| Summarize a long document | $0.011 | 100K in / 2K out |
| Agentic coding session | $0.080 | 500K in / 100K out |
| 1M input + 1M output tokens | $0.400 | 1M in / 1M out |
Effective Cost
In AI IQ's scoring, Gemma 4 12b's list price is adjusted by a token-usage multiplier of 0.715, giving an effective cost of $0.2859 per 1M input + output tokens. That places it #4 of 117 models on the effective-cost ranking (lower is cheaper). Some models spend far more tokens than others on the same task, so effective cost compares what a unit of work really costs. Method details are on the methodology page; see all models on the cost charts and the falling cost of intelligence over time.
Cheaper Alternatives at Similar Capability
Models with a lower effective cost that score within a few IQ points of Gemma 4 12b (IQ 98), or better.
| Model | Provider | IQ | Effective Cost / 1M |
|---|---|---|---|
| gpt-oss-20b | OpenAI | 100 | $0.1937 |
| nemotron-3-nano | US (Other) | 96 | $0.2732 |