Gemma 3n 4B
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,
Context window
This model accepts 33K tokens in one request (~25K words of text).
What fits in one request
- FitsShort documentAbout 1,500 words of text
- Won't fitLong documentAbout 37K words of text
- Won't fitSmall codebaseAbout 150K words of text
- Won't fitFull novelAbout 375K words of text
Specifications
Context size, pricing, and release info in one place.
- Context window
- 32,768 tokens (33K)
- Speed tier
- balanced
- Provider
- Release date
- May 2025
Capabilities
See which features this model supports, such as vision, tools, and streaming.
- Streaming
- Returns tokens as they are generated
- Supported
- Vision
- Accepts image inputs alongside text
- Not supported
- Tool use
- Can call external tools and APIs
- Not supported
- Function calling
- Structured function call interface
- Not supported
- Extended thinking
- Shows its chain-of-thought reasoning
- Not supported
- Web search
- Can browse the web during a request
- Not supported
- Batch API
- Process many requests asynchronously
- Not supported
- Prompt caching
- Reuse repeated prompt prefixes cheaply
- Not supported
Best for
Jump to a guide or ranking that matches each workload.
Compare Gemma 3n 4B
Open a side-by-side comparison with one click.
- Gemma 3n 4B vs Gemma 7b It
Gemma 3n 4B has 300% larger context window
- Gemma 3n 4B vs Jp Anthropic Claude Sonnet 4 6
Jp Anthropic Claude Sonnet 4 6 has 2951% larger context window
- Gemma 3n 4B vs Amazon Titan Text Express
Amazon Titan Text Express has 28% larger context window
- Gemma 3n 4B vs Amazon Titan Text Premier
Amazon Titan Text Premier has 28% larger context window
- Gemma 3n 4B vs Amazon Titan Text Lite
Amazon Titan Text Lite has 28% larger context window
- Gemma 3n 4B vs Codellama 34b Instruct
Gemma 3n 4B has 700% larger context window
Frequently asked questions
Short answers about context size and how this model behaves.
More from Google
Other models by Google in our catalog.
Powered by Mem0
Use a smaller model.
Get better results.
Mem0 gives your AI long-term memory so you stop re-sending context on every call. That means you can use a smaller, faster, cheaper model — and still get better answers.
Example: a multi-turn chat session
80% less to send — works with any model