AI Model Intelligence

Gemma 3n 4B

google/gemma-3n-e4b-it

By Google · family: gemma · released 2025-05-20 · knowledge: 2024-06

$0.020
Input / 1M tokens
$0.040
Output / 1M tokens
33K
Context window
33K
Max output

Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.

Capabilities

Tool callingReasoningStructured outputAttachmentsOpen weightsTemperature control
Modalities: input text · output text

Model fit scores

0–100 · higher is better

These scores reward declared capabilities, context size, price and provider availability — they are not benchmark results. Use them as a directional signal alongside your own evaluation.

Coding24
  • Tool calling0/40
  • Structured output20/20
  • Reasoning0/10
  • Context window (100K → 1M)0/20
  • Provider availability4/10
Agents44
  • Tool calling0/35
  • Structured output25/25
  • Reasoning0/15
  • Output token limit15/15
  • Provider availability4/10
JSON / structured output80
  • Structured output / JSON mode50/50
  • Tool calling0/20
  • Temperature control10/10
  • Price-friendly for high-volume20/20
Cost efficiency91
  • Headline price (log-scaled)91/95
  • Has prompt-cache pricing0/5
Long context0
  • Context ≥ 100K0/100
Production-readiness76
  • Number of independent providers20/40
  • Has published per-token price20/20
  • Context window ≥ 8K15/15
  • No data inconsistencies across providers6/10
  • Official model (not derivative)15/15

Cost Efficiency Index

Open full calculator →

Estimated cost using the recommended provider's headline rate. Each scenario fixes average input/output tokens — the assumptions are shown in the third column.

ScenarioCostAssumption
RAG answer
per 1,000 RAG answers
$0.12
< $0.01 per request
5K input tokens (query + 4 retrieved chunks of ~1K each) and a 500-token answer. Typical SaaS knowledge-base bot.
Support ticket triage
per 10,000 tickets
$0.24
< $0.01 per request
1K input tokens (ticket body + system prompt) and a 100-token JSON classification reply. High-volume customer support.
Data extraction
per 1,000 documents
$0.06
< $0.01 per request
2K input tokens (a single document page) and a 500-token JSON extraction. ETL / invoice / form pipelines.
Code review
per 1,000 PRs
$0.20
< $0.01 per request
8K input tokens (diff + surrounding files) and a 1K-token review comment. PR-bot workloads.
Agent step
per 1,000 steps
$0.26
< $0.01 per request
12K input tokens (long-running tool history) and a 600-token tool-call decision. Cost per agent step.

Pricing detail

Recommended pricing from kilo · google/gemma-3n-e4b-it

$0.020
Input
$0.040
Output

Cheapest provider: nvidia · Unknown input + Unknown output

Available on 4 providers

ProviderProvider model idInput / 1MOutput / 1MContextReleased
OpenRouter
openrouter
google/gemma-3n-e4b-it$0.060$0.12033K2025-05-20
Together AI
togetherai
google/gemma-3n-E4B-it$0.060$0.12033K2025-05-20
Nvidia
nvidia
google/gemma-3n-e4b-itUnknownUnknown128K2025-06-03
Kilo Gateway
kilo
google/gemma-3n-e4b-it$0.020$0.04033K2025-05-20

Data inconsistencies across providers

  • context_window varies: 128000, 32768
  • modalities varies across offerings

Different providers report different values for this model. Quick facts above use the representative provider; consult the table for per-provider truth.

Frequently asked questions

How much does Gemma 3n 4B cost?

Gemma 3n 4B costs $0.020 per 1M input tokens and $0.040 per 1M output tokens, sourced from kilo. Cache reads, audio tokens and >200K-context tiers (where applicable) are listed in the Pricing detail block above.

What is the context window of Gemma 3n 4B?

Gemma 3n 4B has a context window of 33K tokens, with a max output of 33K tokens per reply. This is the total combined size of prompt + completion.

Does Gemma 3n 4B support tool calling?

No. Gemma 3n 4B does not support tool calling (function calling). If your workflow requires it, look at the /capabilities/tool-calling list for alternatives.

Does Gemma 3n 4B support structured output / JSON mode?

Yes. Gemma 3n 4B supports structured output / JSON-schema-constrained decoding. This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.

Can Gemma 3n 4B accept image input?

No. Gemma 3n 4B only accepts text as input. If you need image input, see our /capabilities/vision list for current vision-capable models.

Is Gemma 3n 4B open-weight?

Yes. Gemma 3n 4B's weights are publicly available, so you can self-host or fine-tune. Note that open weights ≠ open source — the training data and code are typically not released.

What are the best alternatives to Gemma 3n 4B?

If Gemma 3n 4B doesn't fit, consider Gemini 2.5 Pro, Gemini 2.5 Flash, Gemma 4 31B IT. Each one targets the same use case — see the Related links below for direct head-to-head pages.

Where does this data come from?

All numbers are normalised into a single canonical model record and reconciled with each provider's official documentation. We re-pull daily and write any changes (price, context, capability) to the /changelog page.

More Google models

Capability lists this model is in

Last updated:

Pricing and capabilities are refreshed daily and reconciled against each provider's official documentation. Always verify critical production decisions with the provider directly.