Gemma 4 E4B IT API Pricing
As of October 10, 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.
- Input
- $0.02 / 1M tokens
- Output
- $0.10 / 1M tokens
- Context window
- 131,072 tokens
- Providers
- 1
- Added to LiteLLM
- August 27, 2026
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 features
- 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 sk-1234" \
-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.
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. Provider pricing pages:
LiteLLM docs: DeepInfra.
Provider pages: DeepInfra.
