Gemma 3 4B IT API Pricing
- 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.
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.
| Provider | Model name in LiteLLM | Input | Output | Batch in | Batch out | Context |
|---|---|---|---|---|---|---|
| Amazon Bedrock | google.gemma-3-4b-it | $0.04 | $0.08 | $0.02 | $0.04 | 128K |
| Amazon Bedrock Mantle | bedrock_mantle/google.gemma-3-4b-it | $0.04 | $0.08 | $0.02 | $0.04 | 128K |
| DeepInfra | deepinfra/google/gemma-3-4b-it | $0.05 | $0.10 | – | – | 128K |
| Amazon Bedrockap-northeast-1 | bedrock/ap-northeast-1/google.gemma-3-4b-it | $0.05 | $0.10 | – | – | 128K |
| Amazon Bedrockap-south-1 | bedrock/ap-south-1/google.gemma-3-4b-it | $0.05 | $0.09 | – | – | 128K |
| Amazon Bedrockeu-south-1 | bedrock/eu-south-1/google.gemma-3-4b-it | $0.05 | $0.09 | – | – | 128K |
| Amazon Bedrockeu-west-1 | bedrock/eu-west-1/google.gemma-3-4b-it | $0.05 | $0.09 | – | – | 128K |
| Amazon Bedrockeu-west-2 | bedrock/eu-west-2/google.gemma-3-4b-it | $0.06 | $0.12 | – | – | 128K |
| Amazon Bedrocksa-east-1 | bedrock/sa-east-1/google.gemma-3-4b-it | $0.05 | $0.10 | – | – | 128K |
| Amazon Bedrock Mantleap-northeast-1 | bedrock_mantle/ap-northeast-1/google.gemma-3-4b-it | $0.05 | $0.10 | – | – | 128K |
| Amazon Bedrock Mantleap-south-1 | bedrock_mantle/ap-south-1/google.gemma-3-4b-it | $0.05 | $0.09 | – | – | 128K |
| Amazon Bedrock Mantleap-southeast-2 | bedrock_mantle/ap-southeast-2/google.gemma-3-4b-it | $0.0412 | $0.0824 | – | – | 128K |
| Amazon Bedrock Mantleap-southeast-3 | bedrock_mantle/ap-southeast-3/google.gemma-3-4b-it | $0.048 | $0.096 | – | – | 128K |
| Amazon Bedrock Mantleeu-central-1 | bedrock_mantle/eu-central-1/google.gemma-3-4b-it | $0.048 | $0.096 | – | – | 128K |
| Amazon Bedrock Mantleeu-north-1 | bedrock_mantle/eu-north-1/google.gemma-3-4b-it | $0.048 | $0.096 | – | – | 128K |
| Amazon Bedrock Mantleeu-south-1 | bedrock_mantle/eu-south-1/google.gemma-3-4b-it | $0.05 | $0.09 | – | – | 128K |
| Amazon Bedrock Mantleeu-west-1 | bedrock_mantle/eu-west-1/google.gemma-3-4b-it | $0.05 | $0.09 | – | – | 128K |
| Amazon Bedrock Mantleeu-west-2 | bedrock_mantle/eu-west-2/google.gemma-3-4b-it | $0.06 | $0.12 | – | – | 128K |
| Amazon Bedrock Mantlesa-east-1 | bedrock_mantle/sa-east-1/google.gemma-3-4b-it | $0.05 | $0.10 | – | – | 128K |
| Lemonadegguf | lemonade/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.
- Function calling
- Structured output
- Image input
- Audio input
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.
from litellm import completion
response = completion(
model="google.gemma-3-4b-it",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: gemma-3-4b-it
litellm_params:
model: google.gemma-3-4b-it
aws_region_name: os.environ/AWS_REGION_NAMEcurl 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:
- pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrock/current/us-east-1/index.json
- deepinfra.com/pricing
- pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrock/20261111013037/ap-northeast-1/index.json
- pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrock/20261111013037/ap-south-1/index.json
LiteLLM docs: Amazon Bedrock, DeepInfra, Lemonade.
Provider pages: Amazon Bedrock, Amazon Bedrock Mantle, DeepInfra, Lemonade.