LiteLLMLiteLLM/ MODELS

Gemma 4 12B IT API Pricing

By Google · 1 providersail/google/gemma-4-12B-itCompare
Input / output
$0.30 / $2.00 per 1M tokens
Cache read
$0.15 / 1M
Context
16K tokens
Max output
16K tokens

As of November 24, 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.

Prices updated Checked

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.

Gemma 4 12B IT prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputCache readContext
Sailsail/google/gemma-4-12B-it$0.30$2.00$0.1516K

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 cost calculator

At Sail's price ($0.30 input, $2.00 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $13.00 a day, about $390 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.0013
Per day
$13.00
Per month (30 days)
$390

Gemma 4 12B IT features

Input: text. Output: text.

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.

Python SDK
from litellm import completion

response = completion(
    model="sail/google/gemma-4-12B-it",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: gemma-4-12b-it
    litellm_params:
      model: sail/google/gemma-4-12B-it
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -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. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:

LiteLLM docs: Sail.

Provider pages: Sail.