LiteLLMModels

Gemma 4 E2B API Pricing

As of October 10, 2026, Gemma 4 E2B costs $0.04 per 1M input tokens and $0.08 per 1M output tokens on Amazon Bedrock Mantle. It has a 128,000-token context window and returns up to 128,000 tokens per response.

By GoogleModel ID bedrock_mantle/google.gemma-4-e2bPrices updated Checked
Input
$0.04 / 1M tokens
Output
$0.08 / 1M tokens
Context window
128,000 tokens
Max output
128,000 tokens
Providers
1
Added to LiteLLM
June 2026

Gemma 4 E2B pricing by provider

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

ProviderModel name in LiteLLMInputOutputContext
Amazon Bedrock Mantlebedrock_mantle/google.gemma-4-e2b$0.04$0.08128K
Amazon Bedrock Mantleus-gov-west-1bedrock_mantle/us-gov-west-1/google.gemma-4-e2b$0.048$0.096128K

Other Gemma 4 E2B prices on Amazon Bedrock Mantle

Flex input$0.02 per 1M tokens
Flex output$0.04 per 1M tokens

What Gemma 4 E2B costs in practice

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

Amazon Bedrock Mantle$0.12

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

Amazon Bedrock Mantle$0.416

Gemma 4 E2B features

Use Gemma 4 E2B with LiteLLM

Call Gemma 4 E2B 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="bedrock_mantle/google.gemma-4-e2b",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: gemma-4-e2b
    litellm_params:
      model: bedrock_mantle/google.gemma-4-e2b
      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 sk-1234" \
  -d '{
    "model": "gemma-4-e2b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Gemma 4 E2B FAQ

How much does Gemma 4 E2B cost?

Gemma 4 E2B costs $0.04 per 1M input tokens and $0.08 per 1M output tokens on Amazon Bedrock Mantle.

What is the context window of Gemma 4 E2B?

Gemma 4 E2B has a 128,000-token context window and returns up to 128,000 tokens per response.

Which providers offer Gemma 4 E2B?

Gemma 4 E2B is available from Amazon Bedrock Mantle through LiteLLM, using the model name bedrock_mantle/google.gemma-4-e2b.

How do I call Gemma 4 E2B with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="bedrock_mantle/google.gemma-4-e2b", 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 E2B support?

Gemma 4 E2B supports function calling, image input and reasoning. It does not support parallel tool calls.

When did LiteLLM add Gemma 4 E2B?

Gemma 4 E2B was added to LiteLLM's model price file in June 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.

LiteLLM docs: Amazon Bedrock Mantle.

Provider pages: Amazon Bedrock Mantle.