
Gemma 3 12B API pricing
Made by Google
12 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is DeepInfra at $38.40 a month; the dearest costs $174.00, 4.5× as much.
- Input from
- $0.04
- Output from
- $0.10
- Context up to
- 131K tokens
- Batch rates
- 1 route
Every route, cheapest first
Prices per 1M tokens. Month is the sample workload: 300,000 requests, 2,000 tokens in and 400 out per request, half the input cached. Cache writes are not counted.
ProviderInputOutputCache readCache writeBatch in / outContextMonth
NovitaLiteLLM$0.05$0.10———131K$42.00 DeepInfrabf16 · OpenRouter$0.075$0.225———131K$72.00 CrusoeLiteLLM$0.10$0.10———131K$72.00 Amazon BedrockLiteLLM$0.09$0.29——$0.05 / $0.15128K$88.80 Amazon BedrockLiteLLM$0.0927$0.299———128K$91.46 Amazon BedrockLiteLLM$0.108$0.348———128K$106.56 Amazon Bedrockap-south-1, eu-south-1, eu-west-1 · LiteLLM$0.11$0.34———128K$106.80 Amazon Bedrockap-northeast-1, sa-east-1 · LiteLLM$0.11$0.35———128K$108.00 Amazon Bedrockeu-west-2 · LiteLLM$0.14$0.45———128K$138.00 NextBitint4 · OpenRouter$0.35$0.45$0.05——131K$174.00 Other Gemma models