Skip to content
Not available in this workspace
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Support
  • Works With OR
  • Data

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for google

Google: Gemma 3n 4B

google/gemma-3n-e4b-it

Model weights
Compare

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(opens in new tab)

Modalities

In / Out Price

$0.06 / $0.12per 1M

Context

33K

Released

May 20, 2025

Knowledge Cutoff

Aug 2024

Compare
ProvidersPricingPerformanceUptimeBenchmarksAppsActivityFAQ

Providers

This model is hosted by one provider. OpenRouter forwards every request to it directly — no routing decisions to make.

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows where this model lands among all models on OpenRouter.

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

Activity

Token volume and request traffic to this model over time.

Quick Start

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

About Google: Gemma 3n 4B

OpenRouter makes Google: Gemma 3n 4B available through a unified, OpenAI-compatible API using the model ID google/gemma-3n-e4b-it. It is served by Together.

Google: Gemma 3n 4B accepts text and returns text. It has a 32,768-token context window.

On OpenRouter, Google: Gemma 3n 4B costs $0.06/M input tokens and $0.12/M output tokens. It was released on May 20, 2025; its knowledge cutoff is August 31, 2024.

More models from Google

  • Gemini 3.7 Flash
  • Gemini 3.6 Flash
  • Gemini 3.5 Flash Lite

Frequently asked questions

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.

Gemma 3n 4B costs $0.06/M input tokens and $0.12/M output tokens.

Gemma 3n 4B has a 32,768 token context window.

The Gemma 3n 4B endpoint shown on this page does not accept tools, so function calling is unavailable there. It also supports structured outputs via a JSON schema in response_format.

Gemini 3.7 Flash, Gemini 3.6 Flash, Gemini 3.5 Flash Lite and 25 more are other text models from Google.

Gemma 3n 4B was released on May 20, 2025. Its knowledge cutoff is August 31, 2024.

$0.06$0.120.23s37 tps
98.71%

Throughput

37tok/s

P50, best across providers

Latency

0.23s

P50, best provider

Uptime (3d)

100.00%

Availability (3d)

96.69%

Availability over the last 3 days

Last 72 hours
Availability 96.69%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
91.47%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and customization options.

1.
Favicon for https://grg-agent.local/
GRG Agent Backend
new
2.2Btokens
2.
Favicon for https://negar.ir/
Negar
new
1.31Btokens
3.
Favicon for https://trained-news.com/
Trained News Processing Pipeline
new
155Mtokens
4.
Favicon for https://dwemerdynamics.com/
Dwemer Dynamics
new
64.1Mtokens
5.
Favicon for https://mucuans.com/
Mucuans - Financial Companion
new
53.6Mtokens