Inteligencia de modelos de IA

Gemma 3n 4B

google/gemma-3n-e4b-it

Por Google · familia: gemma · lanzado 2025-05-20 · fecha de conocimiento: 2024-06

$0.020
Entrada / 1M tokens
$0.040
Salida / 1M tokens
8K
Ventana de contexto
2K
Salida máxima

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

Capacidades

Llamada a herramientasRazonamiento? Salida estructuradaAdjuntosPesos abiertosControl de temperatura
Modalidades: entrada text · salida 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.

Coding5
  • Tool calling0/40
  • Structured output0/20
  • Reasoning0/10
  • Context window (100K → 1M)0/20
  • Provider availability5/10
Agents5
  • Tool calling0/35
  • Structured output0/25
  • Reasoning0/15
  • Output token limit0/15
  • Provider availability5/10
JSON / structured output30
  • Structured output / JSON mode0/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-readiness74
  • Number of independent providers25/40
  • Has published per-token price20/20
  • Context window ≥ 8K8/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.

Detalle de precios

Precio recomendado de openrouter · google/gemma-3n-e4b-it

$0.020
Entrada
$0.040
Salida

Proveedor más barato: google · Unknown entrada + Unknown salida

Disponible en 5 proveedores

ProveedorID de modelo del proveedorEntrada / 1MSalida / 1MContextoLanzado
Google
google
gemma-3n-e4b-itUnknownUnknown8K2025-05-20
OpenRouter
openrouter
google/gemma-3n-e4b-it$0.020$0.04033K2025-05-20
Kilo Gateway
kilo
google/gemma-3n-e4b-it$0.020$0.04033K2025-05-20
Nvidia
nvidia
google/gemma-3n-e4b-itUnknownUnknown128K2025-06-03
LLM Gateway
llmgateway
gemma-3n-e4b-itUnknownUnknown8K2025-05-20

Inconsistencias de datos entre proveedores

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

Los proveedores reportan valores distintos para este modelo. Los datos clave de arriba usan un proveedor representativo; consulta la tabla para detalles por proveedor.

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 openrouter. 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 8K tokens, with a max output of 2K 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?

Support for structured output / JSON-schema-constrained decoding is not reported for Gemma 3n 4B in our data source. Verify with Google's official documentation before relying on it in production.

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, Gemini 3 Flash Preview. 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 come from the public models.dev API and are normalised into a single canonical model record. We re-pull daily and write any changes (price, context, capability) to the /changelog page.

More Google models

Capability lists this model is in

Última actualización:

Data is sourced from models.dev and normalized for comparison. Prices and capabilities may change. Always verify critical production decisions with the provider's official documentation.