Gemma 4 12B IT API Pricing
As of October 10, 2026, Gemma 4 12B IT costs $0.30 per 1M input tokens and $2.00 per 1M output tokens on Sail, with cache reads at $0.15 per 1M tokens. It has a 16,384-token context window and returns up to 16,384 tokens per response.
- Input
- $0.30 / 1M tokens
- Output
- $2.00 / 1M tokens
- Cache read
- $0.15 / 1M tokens
- Context window
- 16,384 tokens
- Max output
- 16,384 tokens
- Providers
- 1
- Added to LiteLLM
- September 26, 2026
Gemma 4 12B IT pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Context |
|---|---|---|---|---|---|
| Sail | sail/google/gemma-4-12B-it | $0.30 | $2.00 | $0.15 | 16K |
Other Gemma 4 12B IT prices on Sail
| Flex input | $0.05 per 1M tokens |
| Flex output | $1.00 per 1M tokens |
What Gemma 4 12B IT costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Sail | $1.60 |
Gemma 4 12B IT features
- Function calling
- Structured output
- Reasoning
- Prompt caching
Use Gemma 4 12B IT with LiteLLM
Call Gemma 4 12B IT through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="sail/google/gemma-4-12B-it",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: gemma-4-12b-it
litellm_params:
model: sail/google/gemma-4-12B-it
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "gemma-4-12b-it",
"messages": [{"role": "user", "content": "Hello!"}]
}'Gemma 4 12B IT FAQ
How much does Gemma 4 12B IT cost?
Gemma 4 12B IT costs $0.30 per 1M input tokens and $2.00 per 1M output tokens on Sail, with cache reads at $0.15 per 1M tokens.
What is the context window of Gemma 4 12B IT?
Gemma 4 12B IT has a 16,384-token context window and returns up to 16,384 tokens per response.
Which providers offer Gemma 4 12B IT?
Gemma 4 12B IT is available from Sail through LiteLLM, using the model name sail/google/gemma-4-12B-it.
How do I call Gemma 4 12B IT with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="sail/google/gemma-4-12B-it", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does Gemma 4 12B IT support?
Gemma 4 12B IT supports function calling, structured output, reasoning and prompt caching.
When did LiteLLM add Gemma 4 12B IT?
Gemma 4 12B IT was added to LiteLLM's model price file on September 26, 2026.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
LiteLLM docs: Sail.
Provider pages: Sail.
