impulse

Gemma 4 E2B

Open weights
API id google.gemma-4-e2b
Input / 1M
$0.04
at Amazon Bedrock
Output / 1M
$0.08
at Amazon Bedrock
Context window
128K
tokens
Max output
128K
tokens per reply
Hosts
1
2 listings
Released
-
date not published

Pricing

List prices at Amazon Bedrock, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$0.04$0.08
Batch
50% off
$0.02$0.04
Flex
50% off
$0.02$0.04
Priority
75% more
$0.07$0.14

What it costs a month

At Amazon Bedrock list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out$18.00
  • RAG over documents2,000 requests a day, 8K in / 0.6K out$22.08
  • Coding agent1,000 requests a day, 40K in / 2K out$52.80
  • Overnight batch20,000 requests a day, 4K in / 0.4K out, batch$57.60
Use your own numbers

Where to run it

1 host serve Gemma 4 E2B. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
Mantle
google.gemma-4-e2b
$0.04 / $0.08
Show 1 more listings: regions, snapshots and variants
Amazon Bedrock
us-gov-west-1 · Mantle
google.gemma-4-e2b
$0.048 / $0.096
+20% vs headline

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
TextImages
Produces
Text
Open weights
License: Gemma License
Runtimes: Ollama, llama.cpp, vLLM

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Amazon Bedrock.

Smaller Google models

No cheaper Google model keeps its key capabilities.

Other frontier labs

No cheaper match from another frontier lab.

Open-weight picks

  • Qwen3.7 Flash Variant1
    Alibaba Qwen · on EmpirioLabs AI
    $0.028 / $0.11
    Has every key capability
    3% less
  • Gemma3 4B
    Google · on LlamaGate
    $0.03 / $0.08
    Lacks reasoning
    15% less
  • Ministral 3B
    Mistral AI · on Azure AI Foundry
    $0.04 / $0.04
    Lacks reasoning
    20% less
  • gpt-oss-20b
    OpenAI · on Darkbloom
    $0.0145 / $0.07
    Lacks vision
    43% less

Call it

Using Amazon Bedrock's API.

Python
from litellm import completion

response = completion(
    model="bedrock/google.gemma-4-e2b",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Gemma 4 E2B cost?

On Amazon Bedrock, Gemma 4 E2B costs $0.04 per million input tokens and $0.08 per million output tokens.

Which APIs offer Gemma 4 E2B?

Gemma 4 E2B runs on 1 API: Amazon Bedrock.

What is Gemma 4 E2B's context window?

128K tokens, with up to 128K tokens in one reply.

Is Gemma 4 E2B being retired?

No retirement date is scheduled for it on any API we track.

What are cheaper alternatives to Gemma 4 E2B?

Models that cost less and keep most of what it can do: Qwen3.7 Flash Variant1 on EmpirioLabs AI (3% less). Savings are on a mix of 3 input tokens to 1 output token.

What is Gemma 4 E2B's API model id?

Use google.gemma-4-e2b with Amazon Bedrock.

Sources

Raw catalog entry for google.gemma-4-e2b on Amazon Bedrock
{
  "input_cost_per_token": 4e-8,
  "input_cost_per_token_batches": 2e-8,
  "input_cost_per_token_flex": 2e-8,
  "input_cost_per_token_priority": 7e-8,
  "output_cost_per_token": 8e-8,
  "output_cost_per_token_flex": 4e-8,
  "litellm_provider": "bedrock_mantle",
  "max_input_tokens": 128000,
  "max_output_tokens": 128000,
  "mode": "chat",
  "output_cost_per_token_batches": 4e-8,
  "output_cost_per_token_priority": 1.4e-7,
  "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrock/current/us-east-1/index.json",
  "use_openai_responses_path": true,
  "supported_endpoints": [
    "/v1/chat/completions",
    "/v1/responses"
  ],
  "supports_function_calling": true,
  "supports_parallel_function_calling": false,
  "supports_reasoning": true,
  "supports_tool_choice": true,
  "supports_vision": true
}