Google
Gemma 4 31BAbierto
Google’s strongest open-weights dense model in the Gemma 4 family.
Inteligencia
35.0 #478
AAQI 29.0
Velocidad de Salida
35 t/s
TTFT 1.10 s · ITL 28.6 ms/tok
Precio combinado (3:1)
$0.131 /1M
Entrada $0.075/M · Salida $0.3/M
Contexto
262.1K
≈ 655 páginas A4 · salida máx. 8,192
Quality Domain Radar
6-Axis Frontier Evaluation vs Category Average & Flagship
Gemma 4 31B
Claude Mythos Preview (#1)
Average (68)
Los ejes del radar se aproximan a partir de las puntuaciones de categoría cuando faltan mediciones directas — ver Metodología.
Fortalezas y compromisos
Donde gana
- Open weights — self-host, fine-tune and audit with no vendor lock-in
- Very low blended price — $0.131/1M mixed tokens
- Cheap prompt-cache reads at $0.0075/1M
Puntos a vigilar
- Slow generation (35 tok/s) for interactive workloads
Casos de uso clave
Whole-repo analysis
Single-pass ingestion of large codebases, contracts or research corpora.
Deep research
Synthesis across broad knowledge domains with citation-grade recall.
Real-time agents
Low-latency loops for voice, gaming and interactive copilots.
Inicio rápido para desarrolladores y API
Define primero
GEMINI_API_KEY — obtener una clave APIcurl "https://generativelanguage.googleapis.com/v1beta/models/gemma-4-31b:generateContent" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-H "content-type: application/json" \
-d '{
"contents": [{"parts": [{"text": "Refactor this function for O(n) time and explain the change."}]}]
}'from google import genai
client = genai.Client() # reads GEMINI_API_KEY
resp = client.models.generate_content(
model="gemma-4-31b",
contents="Refactor this function for O(n) time and explain the change.",
)
print(resp.text)const res = await fetch(
`https://generativelanguage.googleapis.com/v1beta/models/gemma-4-31b:generateContent`,
{
method: "POST",
headers: {
"x-goog-api-key": process.env.GEMINI_API_KEY,
"content-type": "application/json",
},
body: JSON.stringify({ contents: [{ parts: [{ text: "Refactor this function for O(n) time and explain the change." }] }] }),
}
);
console.log((await res.json()).candidates[0].content.parts[0].text);Recursos y enlaces oficiales
Despliegue de API
Comparar hosts y latencia
Throughput, TTFT y precios de caché en Groq, Cerebras, Together, DeepInfra, Fireworks, Bedrock y Azure.
GroqCerebrasTogether AIDeepInfraFireworks AIAWS BedrockAzure AI
Puntuaciones por Fuente
Puntuaciones por Categoría
Resultados de Benchmarks
Especificaciones en vivo y arquitectura
Bajo el capó
Dense · 31B
- Prompt caching supported — cached input reads at $0.0075/1M tokens.
Fecha de Lanzamiento
11 mar 2026
Arquitectura
Dense · 31B
Parámetros
31B
Licencia
Open Weights
Ventana de Contexto
262,100 tokens
Salida máx.
8,192 tokens
Modalidades
text + image
Precios de caché
lectura $0.0075 · escritura $0.0938 /1M
Razonamiento
—
Precio de Entrada
$0.075/M
Precio de Salida
$0.3/M
Velocidad de Salida
35 t/s
Tiempo al Primer Token
1.10 s
Datos actualizados
5 ago 2026
Factura mensual estimada
Gasto mensual estimado
$0.00
Calculando ahorro vs GPT-4o…
Citar e insertar
Badge de Markdown para GitHub
Loading badge markdown...BibTeX
@misc{llmpodium2026gemma431b,
title = {Benchmark Analysis and Intelligence Evaluation of Gemma 4 31B},
author = {LLMPodium Research},
year = {2026},
url = {https://llmpodium.com/models/gemma-4-31b}
}Insertar insignia de puntuación
Añade una insignia de Podium Score en vivo a tu README de GitHub o Hugging Face — enlaza al ranking en vivo.
Vista previa
Markdown
Loading badge snippet...HTML
Loading badge snippet...Más de Google
Modelos alternativos
Alternativas más cercanas a Gemma 4 31B según rendimiento, precio y benchmarks.