Curated models for your best work
Join the waitlistGemma 3 12B
- Vision
- JSON schema
- Streaming
- Open weights
- Runs on DeepInfra
- Context window
- 131K
- tokens
- Input price
- $0.05
- per 1M tokens
- Output price
- $0.10
- per 1M tokens
- Max output
- Provider
- no narrower limit
Provider list price
Pricing
USD / 1M tokens
| Input | $0.05 / M tokens |
| Output | $0.10 / M tokens |
| Context window | 131K tokens |
| Routing | Free |
Provider list price. BYOK bills your provider; managed credits draw down at these rates. No markup or request fee. Every request is metered per engineer and joined to shipped work.
Registry 2026-10-21.3 · effective 9/17/2026 · Private rate card. Source withheld.
Providers
Gemma 3 12B runs on DeepInfra at $0.05 in / $0.15 out per 1M tokens.
Registry contract
Capabilities
- Protocols
- 3
- Chat · Responses · Messages · streaming
- Tools
- None
- Not supported
- JSON Schema
- 2
- Chat · Responses
- Vision
- Yes
- Chat · Responses · Messages
- Reasoning
- None
- No public control
- Output limit
- Provider
- No narrower TokenSpend limit
canonical google/gemma-3-12b · revision google/gemma-3-12b · aliases gemma-3-12b, google/gemma-3-12b-it
First request
Run it
from tokenspend import TokenSpend
client = TokenSpend()
resp = client.chat.completions.create(
model="google/gemma-3-12b",
messages=[{"role": "user", "content": "hello"}],
)import { TokenSpend } from "@tokenspend/sdk";
const client = new TokenSpend();
const resp = await client.chat.completions.create({
model: "google/gemma-3-12b",
messages: [{ role: "user", content: "hello" }]
});curl https://api.tokenspend.dev/v1/chat/completions \
-H "content-type: application/json" \
-H "Authorization: Bearer $TOKENSPEND_API_KEY" \
-d '{"model":"google/gemma-3-12b","messages":[{"role":"user","content":"hello"}]}'export ANTHROPIC_BASE_URL=https://api.tokenspend.dev export ANTHROPIC_API_KEY=$TOKENSPEND_API_KEY export ANTHROPIC_MODEL=google/gemma-3-12b
One request shape reaches every model. Claude Code connects as an integration with two environment variables. TokenSpend never stores prompts or responses.
Questions
Who runs Gemma 3 12B?
DeepInfra runs it, at $0.05 per 1M input and $0.15 per 1M output tokens. A request that fails there fails with an error, because there is no second provider to move to.
What does Gemma 3 12B cost?
$0.05 per 1M input tokens and $0.10 per 1M output tokens. TokenSpend adds no markup and no per-request fee. If you pay with managed credits, buying them carries a 5% fee.
What can I do with Gemma 3 12B through TokenSpend?
Chat and streaming, plus JSON schema output (Chat, Responses) and image input (Chat, Messages). It does not support tool calling here. Tool calling and JSON schema are enabled per provider, only after that provider passes our tests, so a provider chosen by hand may lack them.
How long can my prompt be?
131K tokens of context, prompt and reply together.
How current is this pricing?
It follows rate card 2026-10-21.3, effective 9/17/2026. Source: Private rate card.