Google: Gemma 3n 4B✓ Catalog verified
Gemma 3n E4B-it is optimized for efficient execution on mobile and low-resource devices, such as phones, laptops, and tablets. It supports multimodal inputs—including text, visual data, and audio—enabling diverse tasks such as text generation, speech recognition, translation, and image analysis. Leveraging innovations like Per-Layer Embedding (PLE) caching and the MatFormer architecture, Gemma 3n dynamically manages memory usage and computational load by selectively activating model parameters, significantly reducing runtime resource requirements. This model supports a wide linguistic range (trained in over 140 languages) and features a flexible 32K token context window. Gemma 3n can selectively load parameters, optimizing memory and computational efficiency based on the task or device capabilities, making it well-suited for privacy-focused, offline-capable applications and on-device AI solutions. Read more in the blog post
Overview
Gemma 3n E4B-it is optimized for efficient execution on mobile and low-resource devices, such as phones, laptops, and tablets. It supports multimodal inputs—including text, visual data, and audio—enabling diverse tasks such as text generation, speech recognition, translation, and image analysis. Leveraging innovations like Per-Layer Embedding (PLE) caching and the MatFormer architecture, Gemma 3n dynamically manages memory usage and computational load by selectively activating model parameters, significantly reducing runtime resource requirements. This model supports a wide linguistic range (trained in over 140 languages) and features a flexible 32K token context window. Gemma 3n can selectively load parameters, optimizing memory and computational efficiency based on the task or device capabilities, making it well-suited for privacy-focused, offline-capable applications and on-device AI solutions. Read more in the blog post
Access: available through the official Google API. Context window: 33K.
Specifications
| API identifier | google/gemma-3n-e4b-it |
| Provider | |
| Model type | Text LLM |
| Context window | 33K catalog |
| Input modalities | text |
| Output modalities | text |
| Released | May 20, 2025 |
| Moderated | No |
| Architecture modality | text->text |
Pricing
Live pricing components for google/gemma-3n-e4b-it as published in the catalog.
| Pricing component | Raw unit price | Normalized | Unit |
|---|---|---|---|
| Prompt tokens | $2e-8 | $0.02 / 1M | Per input token |
| Completion tokens | $4e-8 | $0.04 / 1M | Per output token |
| Request fee | N/A | N/A | Per request |
| Image fee | N/A | N/A | Per image unit |
| Web search fee | N/A | N/A | Per search request |
Cost calculator
Estimate monthly spend from your own token volumes.
Estimated Total Cost
$0.02Calculated from current list pricing in the ModelsAtlas catalog.Capabilities
| Capability | Status | What it means |
|---|---|---|
| Visual Understanding | Not advertised | Image and document analysis support |
| Audio Processing | Not advertised | Speech and voice aligned flows |
| Tool Calling | Not advertised | Supports tools / function calling |
| Self-Hosting | Not advertised | Deploy outside managed APIs |
Capability signals
Directional signals derived from model metadata and capability tags — not official benchmark submissions.
Quick start
Call Google: Gemma 3n 4B through an OpenAI-compatible client.
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="google/gemma-3n-e4b-it",
messages=[{"role": "user", "content": "Explain quantum physics."}]
)
print(response.choices[0].message.content)Alternatives
Closest models by context window from a different provider.
| Model | Provider | Context | Input /1M | Actions |
|---|---|---|---|---|
| AionLabs: Aion-RP 1.0 (8B) | Aion Labs | 33K | $0.80 | View → |
| Arcee AI: Coder Large | Arcee Ai | 33K | $0.50 | View → |
Sources & attribution
Pricing and metadata are maintained in the ModelsAtlas catalog.
Frequently asked questions
How much does Google: Gemma 3n 4B cost?
$0.02 per 1M input tokens and $0.04 per 1M output tokens on the official Google API.
What is the context window of Google: Gemma 3n 4B?
Google: Gemma 3n 4B supports up to 33K tokens of context.
Does Google: Gemma 3n 4B support tool / function calling?
Google: Gemma 3n 4B does not advertise first-class tool/function calling. Check vendor docs for the latest capabilities.
How do I access Google: Gemma 3n 4B?
Use the official Google API with the model id `google/gemma-3n-e4b-it`. See the Quick start section above for code examples.