LiteLLMLiteLLM/ MODELS

Gemma 3 4B IT API Pricing

By Google · 4 providersgoogle.gemma-3-4b-itCompare
Input / output
$0.04 / $0.08 per 1M tokens
Context
128K tokens
Max output
8K tokens

As of November 24, 2026, Gemma 3 4B IT costs $0.04 per 1M input tokens and $0.08 per 1M output tokens from Amazon Bedrock, the lowest of 4 providers. It has a 128,000-token context window and returns up to 8,000 tokens per response.

Prices updated Checked
Scheduled for deprecation: Amazon Bedrock lists March 30, 2027 as the deprecation date for google.gemma-3-4b-it.

Gemma 3 4B IT pricing by provider

20 listings across 4 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

Gemma 3 4B 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 LiteLLMInputOutputBatch inBatch outContext
Amazon Bedrockgoogle.gemma-3-4b-it$0.04$0.08$0.02$0.04128K
Amazon Bedrock Mantlebedrock_mantle/google.gemma-3-4b-it$0.04$0.08$0.02$0.04128K
DeepInfradeepinfra/google/gemma-3-4b-it$0.05$0.10––128K
Amazon Bedrockap-northeast-1bedrock/ap-northeast-1/google.gemma-3-4b-it$0.05$0.10––128K
Amazon Bedrockap-south-1bedrock/ap-south-1/google.gemma-3-4b-it$0.05$0.09––128K
Amazon Bedrockeu-south-1bedrock/eu-south-1/google.gemma-3-4b-it$0.05$0.09––128K
Amazon Bedrockeu-west-1bedrock/eu-west-1/google.gemma-3-4b-it$0.05$0.09––128K
Amazon Bedrockeu-west-2bedrock/eu-west-2/google.gemma-3-4b-it$0.06$0.12––128K
Amazon Bedrocksa-east-1bedrock/sa-east-1/google.gemma-3-4b-it$0.05$0.10––128K
Amazon Bedrock Mantleap-northeast-1bedrock_mantle/ap-northeast-1/google.gemma-3-4b-it$0.05$0.10––128K
Amazon Bedrock Mantleap-south-1bedrock_mantle/ap-south-1/google.gemma-3-4b-it$0.05$0.09––128K
Amazon Bedrock Mantleap-southeast-2bedrock_mantle/ap-southeast-2/google.gemma-3-4b-it$0.0412$0.0824––128K
Amazon Bedrock Mantleap-southeast-3bedrock_mantle/ap-southeast-3/google.gemma-3-4b-it$0.048$0.096––128K
Amazon Bedrock Mantleeu-central-1bedrock_mantle/eu-central-1/google.gemma-3-4b-it$0.048$0.096––128K
Amazon Bedrock Mantleeu-north-1bedrock_mantle/eu-north-1/google.gemma-3-4b-it$0.048$0.096––128K
Amazon Bedrock Mantleeu-south-1bedrock_mantle/eu-south-1/google.gemma-3-4b-it$0.05$0.09––128K
Amazon Bedrock Mantleeu-west-1bedrock_mantle/eu-west-1/google.gemma-3-4b-it$0.05$0.09––128K
Amazon Bedrock Mantleeu-west-2bedrock_mantle/eu-west-2/google.gemma-3-4b-it$0.06$0.12––128K
Amazon Bedrock Mantlesa-east-1bedrock_mantle/sa-east-1/google.gemma-3-4b-it$0.05$0.10––128K
Lemonadegguflemonade/Gemma-3-4b-it-GGUF$0$0––128K

Other Gemma 3 4B IT prices on Amazon Bedrock

Priority input$0.07 per 1M tokens
Priority output$0.14 per 1M tokens
Flex input$0.02 per 1M tokens
Flex output$0.04 per 1M tokens

What Gemma 3 4B IT costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Amazon Bedrock$0.12
Amazon Bedrock Mantle$0.12
DeepInfra$0.15
Amazon Bedrock batch$0.06

100 long-document requests with 100,000 input and 2,000 output tokens each

Amazon Bedrock$0.416
Amazon Bedrock Mantle$0.416
DeepInfra$0.52

Gemma 3 4B IT cost calculator

At Amazon Bedrock's price ($0.04 input, $0.08 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $0.80 a day, about $24.00 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.00008
Per day
$0.80
Per month (30 days)
$24.00

Gemma 3 4B IT features

Input: text, image. Output: text.

Use Gemma 3 4B IT with LiteLLM

Call Gemma 3 4B 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="google.gemma-3-4b-it",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: gemma-3-4b-it
    litellm_params:
      model: google.gemma-3-4b-it
      aws_region_name: os.environ/AWS_REGION_NAME
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-3-4b-it",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Gemma 3 4B IT FAQ

How much does Gemma 3 4B IT cost?

Gemma 3 4B IT costs $0.04 per 1M input tokens and $0.08 per 1M output tokens from Amazon Bedrock, the lowest of 4 providers. Batch requests cost $0.02 per 1M input tokens and $0.04 per 1M output tokens.

What is the context window of Gemma 3 4B IT?

Gemma 3 4B IT has a 128,000-token context window and returns up to 8,000 tokens per response.

Which providers offer Gemma 3 4B IT?

Gemma 3 4B IT is available from 4 providers through LiteLLM: Amazon Bedrock, Amazon Bedrock Mantle, DeepInfra and Lemonade. The lowest price is on Lemonade.

How do I call Gemma 3 4B IT with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="google.gemma-3-4b-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 3 4B IT support?

Gemma 3 4B IT supports function calling, structured output and image input. It does not support audio input.

When did LiteLLM add Gemma 3 4B IT?

Gemma 3 4B IT was added to LiteLLM's model price file in July 2025.

Is Gemma 3 4B IT being deprecated?

Amazon Bedrock lists a deprecation date of March 30, 2027 for google.gemma-3-4b-it.

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: Amazon Bedrock, DeepInfra, Lemonade.

Provider pages: Amazon Bedrock, Amazon Bedrock Mantle, DeepInfra, Lemonade.