# Gemma 3 4B IT API Pricing

As of October 10, 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 3 providers. It has a 128,000-token context window and returns up to 8,000 tokens per response.

- Page: https://models.litellm.ai/models/gemma-3-4b-it
- Lab: Google
- LiteLLM model name: `google.gemma-3-4b-it`
- Context window: 128,000 tokens
- Max output: 8,000 tokens
- Added to LiteLLM: July 2025
- Deprecation date: March 30, 2027
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Amazon Bedrock | `google.gemma-3-4b-it` | $0.04 | $0.08 | – | – | – | 128K |
| DeepInfra | `deepinfra/google/gemma-3-4b-it` | $0.05 | $0.10 | – | – | – | 128K |
| Lemonade (gguf) | `lemonade/Gemma-3-4b-it-GGUF` | $0 | $0 | – | – | – | 128K |

## Cost examples

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

- Amazon Bedrock: $0.12
- DeepInfra: $0.15

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

- Amazon Bedrock: $0.416
- DeepInfra: $0.52

## Features

Supported: Function calling, Structured output, Image input.
Not supported: Audio input.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="google.gemma-3-4b-it",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## 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 3 providers.

### 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 3 providers through LiteLLM: Amazon Bedrock, DeepInfra and Lemonade. The lowest price is on Amazon Bedrock.

### 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.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
