Gemma 4 E2B
LiveGoogle128K context · Text, VisionBenchmark price · $0.04 input / $0.08 output per 1M tokens
Best discount now99.0%offYou pay 1.0% of reference.
Median discount94.0%offAcross 182 live offers.
Realized · 7 days95.8%avgRequest-weighted average.
Requests · 24h201182 offers from 18 sellers.
Current offers
182 of 188 offers
Availability
Providers
ProviderDiscountPriceLatencyUptimeCacheSold
Amazon Bedrock
99%
$0.00040 in
$0.00080 out
503ms
68.5%
0.0%
$0.011
Amazon Bedrock
99%
$0.00040 in
$0.00080 out
503ms
68.5%
0.0%
-
Amazon Bedrock
99%
$0.00040 in
$0.00080 out
503ms
68.5%
0.0%
$0.005
Amazon Bedrock
99%
$0.00040 in
$0.00080 out
503ms
68.5%
0.0%
-
Amazon Bedrock
95%
$0.00198 in
$0.00396 out
503ms
68.5%
0.0%
-
Amazon Bedrock
95%
$0.00198 in
$0.00396 out
503ms
68.5%
0.0%
$0.002
Amazon Bedrock
95%
$0.00198 in
$0.00396 out
503ms
68.5%
0.0%
-
Amazon Bedrock
95%
$0.00198 in
$0.00396 out
503ms
68.5%
0.0%
-
Amazon Bedrock
95%
$0.00198 in
$0.00396 out
503ms
68.5%
0.0%
-
Amazon Bedrock
95%
$0.00198 in
$0.00396 out
503ms
68.5%
0.0%
-
Total
Cumulative offers
Sold
$0.021
Discount trend
Realized · 7 days99.0%+2.3 pts vs last week
Best, twice dailyMedian 94.0%
Recent fills
23:3640,632 tokensAWS Bedrock99.0%
23:0441 tokensAWS Bedrock100.0%
22:5847 tokensAWS Bedrock100.0%
21:5941 tokensAWS Bedrock100.0%
21:5846 tokensAWS Bedrock100.0%
21:3620,348 tokensAWS Bedrock99.0%
21:1782 tokensAWS Bedrock100.0%
20:5846 tokensAWS Bedrock100.0%
20:5441 tokensAWS Bedrock100.0%
19:5948 tokensAWS Bedrock100.0%
19:4941 tokensAWS Bedrock100.0%
19:3620,282 tokensAWS Bedrock95.1%
19:0335 tokensAWS Bedrock100.0%
18:4841 tokensAWS Bedrock100.0%
18:4440 tokensAWS Bedrock100.0%
18:2746 tokensAWS Bedrock100.0%
17:4938 tokensAWS Bedrock100.0%
17:3941 tokensAWS Bedrock100.0%
17:3640,945 tokensAWS Bedrock95.1%
17:2748 tokensAWS Bedrock100.0%
Times in UTCSettled on Base in USDC.
Performance by provider route · 24h
Measured on Surplus traffic| Route | p50 latency | p95 latency | Throughput | Success rate | ShareShare of traffic |
|---|---|---|---|---|---|
| AWS Bedrock | 503 ms | 2.25 s | 1092 tok/s | 68.5% | 100% |
AWS Bedrock100% of traffic
68.5% success
Use this modelChange your base URL.
Change your base URL.
Keep your code.
Any OpenAI-compatible client works. Add /min30 to the path to only buy at 30% off or better.
Read the quickstart ↗Parameters this model acceptsPOST /v1/chat/completions
- modelstringThis model’s id
- messagesarrayThe conversation, as role and content pairs
- streambooleanSend the answer as server-sent events
- max_tokensintegerMost output tokens to generate
- temperaturenumberSampling temperature
- top_pnumberNucleus sampling
- stopstring | arrayStop sequences
- seedintegerDeterministic sampling
- toolsarrayFunctions the model may call, in the OpenAI format
- tool_choicestring | objectauto, required, none, or one named function
- response_formatobjectJSON mode or a JSON schema for structured output
- structured_outputsbooleanAccepts a JSON schema in response_format
- frequency_penaltynumberPenalises tokens by how often they appeared
- presence_penaltynumberPenalises tokens that appeared at all
- logit_biasobjectPer-token bias on the logits
- logprobsbooleanReturn token log probabilities
- top_logprobsintegerHow many top tokens to return probabilities for
Context window 128K tokens · Max output 64K tokensOthers are passed through; most providers ignore what they don’t support. Parameter compatibility ↗
from openai import OpenAI client = OpenAI( api_key="inf_your_key_here", base_url="$SURPLUS_BASE_URL" ) response = client.chat.completions.create( model="gemma-4-e2b", messages=[{"role": "user", "content": "Hello!"}] )
SURPLUS_BASE_URL
https://api.surplusintelligence.ai/v1