Google: Gemma 4 E4B
Google Gemma 4 E4B API pricing
Gemma 4 E4B costs $0.080 per million input tokens and $0.080 per million output tokens on Oxyy. These are the pay-as-you-go prices after the current 60% discount (Launch Promo; standard price $0.200 input and $0.200 output), and cached input tokens are billed at $0 per million. It accepts text, images, audio and video and returns text, with a 131K-token context window. At a typical 3:1 input-to-output token mix, a cheaper Google option is Gemma 4 26B A4B Instruct (MoE) at $0.052 / $0.160 per 1M tokens; for every model and rate, see Gemini API pricing.
On-device Gemma 4 model for laptops and mobile devices, with native audio input. 'E' stands for effective parameters.
Providers
Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.
| Provider | Input /M | Output /M | Cache read /M |
|---|---|---|---|
| $0.080 | $0.080 | $0 |
Capabilities (12)
Supported parameters (2)
A parameter not listed here may be removed before the request reaches the model. When it is, the request still succeeds and the response names it, with the reason, in provider_specific_fields.dropped_params. Thinking controls work as described below whether or not they are listed.
Thinking
Thinking can be turned off: send reasoning_effort: "none", or thinking: {type: "disabled"}.
Pricing
What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.
| Rate | Standard price | Charged | Unit |
|---|---|---|---|
| Input | $0.200 | $0.080 | per 1M input tokens |
| Output | $0.200 | $0.080 | per 1M output tokens |
| Cached input | $0 | $0 | per 1M cached input tokens |
| Cache write (5 min) | $0 | $0 | per 1M cache-write tokens, 5-minute |
| Cache write (1 hour) | $0 | $0 | per 1M cache-write tokens, 1-hour |
| Cached audio input | $0 | $0 | per 1M cached audio tokens |
| Reasoning | $0 | $0 | per 1M reasoning tokens |
| Cache storage | $0 | $0 | per 1M tokens per hour stored |
Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.
Specifications
- Model ID
gemma-4-e4b-it- Developer
- Type
- Text
- Input
- Text, images, audio and video
- Output
- Text
- Context window
- 131,072 tokens
- Knowledge cutoff
- January 2025
- Released
- Apr 2, 2026
- Tokenizer
- Gemini
- Series
- Gemma 4
- Image input
- Up to 20 MB each
- Audio input
- Up to 50 MB each
- Video input
- Up to 100 MB each
- Endpoint
/v1/chat/completions
Best for
Quickstart
Call gemma-4-e4b-it with a POST to /v1/chat/completions on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.oxyy.ai/v1",
api_key=os.environ["OXYY_API_KEY"],
)
response = client.chat.completions.create(
model="gemma-4-e4b-it",
messages=[
{"role": "user", "content": "Explain unified AI APIs in one sentence."},
],
)
print(response.choices[0].message.content)Availability
The share of requests to this model that completed successfully over the last 30 days. Requests the caller cancelled, and requests still in flight, are not counted. When an upstream provider errors, the gateway retries against another provider serving the same model, so a single provider incident does not necessarily show up here.
Frequently asked questions
What is Gemma 4 E4B?
How much does Gemma 4 E4B cost?
What is the context length of Gemma 4 E4B?
Does Gemma 4 E4B support tool calling and structured outputs?
What inputs and outputs does Gemma 4 E4B support?
Which API endpoint does Gemma 4 E4B use?
What is the knowledge cutoff of Gemma 4 E4B?
When was Gemma 4 E4B released?
What other models does Google have?
Alternatives to Gemma 4 E4B
Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

