API pricing per million tokens
gemma-3-12b-it Open weightsChecked 8h ago
- Input
- $0.05
- per 1M, DeepInfra (bf16)
- Output
- $0.15
- per 1M tokens
- Cached input
- n/a
- no batch tier listed
- Context
- 131K
- 16K max output
Where to buy it (1)
DeepInfrabf16, bf16$0.05 / $0.15$0.075 blended
Through a gateway
Your own numbers100M input and 20M output tokens a month: $8.00 direct.
Helicone$8.00+0%
Kong AI Gateway$8.00+0%
LiteLLM$8.00+0%
Vercel AI Gateway$8.00+0%
AWS Bedrock$8.00+0%
Azure AI Foundry$8.00+0%
Google Vertex AI$8.00+0%
Databricks Mosaic AI$8.00+0%
Hugging Face Inference$8.00+0%
Cloudflare AI Gateway$8.40+5%
Requesty$8.40+5%
Eden AI$8.44+5.5%
OpenRouter$8.44+5.5%
Snowflake Cortex AI$9.60+20%
Martian Gatewayn/a
Portkeyn/a
TrueFoundry AI Gatewayn/a
IBM watsonx.ain/a
OCI Generative AIn/a
BigQuery MLn/a
Cloudflare Workers AIn/a
NVIDIA NIMn/a
Related models
ModelInputOutputCachedContextReleased
Gemini 3.8 FlashGoogle Gemini API · 1M$0.75 / $3.75in / out per 1M$0.75$3.75$0.0751MSep 2, 2026
Gemini 3.7 FlashGoogle Gemini API · 1M$0.75 / $3.75in / out per 1M$0.75$3.75$0.0751MAug 13, 2026
Gemini 3.5 Flash LiteGoogle Gemini API · 1M$0.3 / $2.5in / out per 1M$0.3$2.5$0.031MJul 21, 2026
Gemini 3.6 FlashGoogle Gemini API · 1M$0.75 / $3.75in / out per 1M$0.75$3.75$0.0751MJul 21, 2026
Muse Spark 1.3 ContributorMeta · 1M$0.1 / $0.2in / out per 1M$0.1$0.2$0.0021MSep 2, 2026
GLM 5.3 FlashZ.ai · via InferenceNet (fp4) · 1.31M$0.045 / $0.14in / out per 1M$0.045$0.14$0.011.31MAug 26, 2026
Muse Spark 1.2 ContributorMeta · 1M$0.1 / $0.2in / out per 1M$0.1$0.2$0.0021MAug 21, 2026
DeepSeek V4 Flash 0731DeepSeek · via StreamLake (fp8) · 1.31M$0.053 / $0.158in / out per 1M$0.053$0.158$0.00171.31MJul 31, 2026
About Gemma 3 12B
Gemma 3 introduces multimodality, supporting vision-language input and text outputs.
Takes text, image in and returns text. First listed Sep 23, 2026. Blended price $0.075 per 1M tokens at 3 input to 1 output.
Questions
How much does Gemma 3 12B cost?
$0.05 per million input tokens and $0.15 per million output tokens.
What is the context window of Gemma 3 12B?
131K tokens, with up to 16K tokens of output.
List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.