LiteLLMLiteLLM/ MODELS

Gemma 4 E2B API Pricing

By Google · 1 providerbedrock_mantle/google.gemma-4-e2bCompare
Input / output
$0.04 / $0.08 per 1M tokens
Context
128K tokens
Max output
128K tokens

As of December 6, 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.

Prices updated Checked

Gemma 4 E2B pricing by provider

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

Gemma 4 E2B prices by provider in US dollars, token prices per 1M tokens, as of December 6, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputBatch inBatch outContext
Amazon Bedrock Mantlebedrock_mantle/google.gemma-4-e2b$0.04$0.08$0.02$0.04128K
Amazon Bedrock Mantleeu-central-1bedrock_mantle/eu-central-1/google.gemma-4-e2b$0.048$0.096––128K
Amazon Bedrock Mantleus-gov-west-1bedrock_mantle/us-gov-west-1/google.gemma-4-e2b$0.048$0.096–$0.048128K

Other Gemma 4 E2B prices on Amazon Bedrock Mantle

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 4 E2B costs in practice

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

Amazon Bedrock Mantle$0.12
Amazon Bedrock Mantle batch$0.06

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

Amazon Bedrock Mantle$0.416

Gemma 4 E2B cost calculator

At Amazon Bedrock Mantle'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 4 E2B features

Input: text, image. Output: text.

Use Gemma 4 E2B with LiteLLM

Call Gemma 4 E2B through the LiteLLM Python SDK, or configure it on the LiteLLM proxy and send a POST /v1/chat/completions request. API documentation

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
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -H "Content-Type: application/json" \
  -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. Batch requests cost $0.02 per 1M input tokens and $0.04 per 1M output tokens.

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 use Gemma 4 E2B with LiteLLM?

Call completion() in the LiteLLM Python SDK with model="bedrock_mantle/google.gemma-4-e2b", or configure the model on the LiteLLM proxy and send a POST request to /v1/chat/completions.

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. 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: Amazon Bedrock Mantle.

Provider pages: Amazon Bedrock Mantle.