Using Gemma 3n 4B (free) on OpenRouter
Implementation guide · Gemma 3 · Google DeepMind
ServerlessOpen Weights
OpenRouter exposes Gemma 3n 4B (free) through model ID google/gemma-3n-e4b-it. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-06-15. Next refresh: weekly.
Quick Start
- 1
- 2Use the OpenRouter SDK or REST API to call
google/gemma-3n-e4b-it— see the documentation for request format. - 3
Code Examples
Pricing on OpenRouter
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.06 |
| Output tokens | $0.12 |
Capabilities
Structured Outputs
About Gemma 3n 4B (free)
Google: Gemma 3n 4B (free) available via OpenRouter. Pricing: $null/1M input, $null/1M output.
Model Specs
Released2025-04-03
Parameters8B (4B effective active)
Context8k
ArchitectureDecoder Only
Knowledge cutoff2024-06