Google

Gemma 4 E2b API pricing

Made by Google

3 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is Amazon Bedrock at $33.60 a month; the dearest costs $40.32, 1.2× as much.

Input from
$0.04
Output from
$0.08
Context up to
128K tokens
Batch rates
1 route

Every route, cheapest first

Prices per 1M tokens. Month is the sample workload: 300,000 requests, 2,000 tokens in and 400 out per request, half the input cached. Cache writes are not counted.

ProviderInputOutputCache readCache writeBatch in / outContextMonth
Amazon BedrockLiteLLM$0.04$0.08——$0.02 / $0.04128K$33.60
Amazon BedrockLiteLLM$0.048$0.096———128K$40.32
Amazon BedrockLiteLLM$0.048$0.096———128K$40.32

Other Gemma models