Gemma 4 E4B IT API Pricing
- Input / output
- $0.02 / $0.10 per 1M tokens
- Context
- 128K tokens
- Max output
- 128K tokens
As of November 24, 2026, Gemma 4 E4B IT costs $0.02 per 1M input tokens and $0.10 per 1M output tokens on DeepInfra. It has a 131,072-token context window and returns up to 131,072 tokens per response.
Gemma 4 E4B 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 | Context |
|---|---|---|---|---|
| DeepInfra | deepinfra/google/gemma-4-E4B-it | $0.02 | $0.10 | 128K |
What Gemma 4 E4B IT costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| DeepInfra | $0.09 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| DeepInfra | $0.22 |
Gemma 4 E4B IT cost calculator
At DeepInfra's price ($0.02 input, $0.10 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $0.70 a day, about $21.00 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.00007
- Per day
- $0.70
- Per month (30 days)
- $21.00
Gemma 4 E4B IT features
Input: text. Output: text.
- Function calling
- Image input
- Reasoning
Use Gemma 4 E4B IT with LiteLLM
Call Gemma 4 E4B 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="deepinfra/google/gemma-4-E4B-it",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: gemma-4-e4b-it
litellm_params:
model: deepinfra/google/gemma-4-E4B-it
api_key: os.environ/DEEPINFRA_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "gemma-4-e4b-it",
"messages": [{"role": "user", "content": "Hello!"}]
}'Gemma 4 E4B IT FAQ
How much does Gemma 4 E4B IT cost?
Gemma 4 E4B IT costs $0.02 per 1M input tokens and $0.10 per 1M output tokens on DeepInfra.
What is the context window of Gemma 4 E4B IT?
Gemma 4 E4B IT has a 131,072-token context window and returns up to 131,072 tokens per response.
Which providers offer Gemma 4 E4B IT?
Gemma 4 E4B IT is available from DeepInfra through LiteLLM, using the model name deepinfra/google/gemma-4-E4B-it.
How do I call Gemma 4 E4B IT with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="deepinfra/google/gemma-4-E4B-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 E4B IT support?
Gemma 4 E4B IT supports function calling and reasoning. It does not support image input.
When did LiteLLM add Gemma 4 E4B IT?
Gemma 4 E4B IT was added to LiteLLM's model price file on August 27, 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: DeepInfra.
Provider pages: DeepInfra.