Gemma 4 31B IT

gemma-4-31b-it by Google Cloud Released abril 3, 2026
Razonamiento · Llamada a funciones · Salida estructurada · Caché de prompts · Entrada de imagen · Entrada de audio · Entrada de vídeo · Alojamiento en la UE · Endpoint gratuito
Input from
$0 / 1M
Output from
$0 / 1M
Cached input from
$0.021 / 1M
Context window
262K
Endpoints
8
from 7 providers
Regions
Global, Europa, Suiza, Estados Unidos

About Gemma 4 31B IT

Gemma 4 31B Instruct es un modelo multimodal denso de 30.7B de Google DeepMind que admite entradas de texto e imágenes y genera salida de texto.

Gemma 4 31B IT es un modelo de chat de Google Cloud, disponible en Eden AI a través de 8 endpoints en 7 proveedores, incluido un endpoint gratuito (endpoints de pago desde 0,1 $ por millón de tokens de entrada), con una ventana de contexto de hasta 262K tokens.

Providers and prices

8 endpoints from 7 providers, cheapest first, in USD per million tokens. Every one is called with the same Eden AI key: pin one with its endpoint ID, or let Eden AI route for you.

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
Google Cloudgoogle/gemma-4-31b-it
Global
262K
$0
$0
$
Oficial · Razonamiento · Herramientas · JSON · Visión
Arkane Cloudarkanecloud/gemma4-31b
Global
131K
$0.1
$0.2
$0.1
Herramientas · Caché
FlexAIflexai/gemma-4-31b-it
Global
262K
$0.14
$0.4
$0.021
Herramientas · JSON · Caché · Visión
FlexAI (Europa)flexai/gemma-4-31b-it@eu
Europa
262K
$0.14
$0.4
$0.021
Herramientas · JSON · Caché · Visión
Greenference (Europa)greenference/gemma-4-31b-it
Europa
262K
$0.1485
$0.42
$0.0578
Razonamiento · Herramientas · JSON · Caché
DeepInfra (Estados Unidos)deepinfra/google/gemma-4-31B-it
Estados Unidos
262K
$0.2
$0.4
$0.075
Razonamiento · Herramientas · JSON · Caché · Visión
Infomaniak (Suiza)infomaniak/google/gemma-4-31B-it
Suiza
100K
$0.2191
$0.4383
$
Herramientas · JSON · Visión
GreenPT (Europa)greenpt/gemma4
Europa
256K
$0.5478
$1.6435
$
Razonamiento · Herramientas · JSON · Visión

Performance

Measured on real Eden AI traffic over the last 30 days. Endpoints with too little traffic are not shown.

Fastest first token
0.23 s
Arkane Cloud
Lowest latency
0.31 s
Arkane Cloud
Highest throughput
116.56 tok/s
GreenPT (Europa)
Best availability
100%
GreenPT (Europa)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Google Cloud
1.17 s
4.94 s
139.06 s
35.37 tok/s
99.94%
1.54%
83.21%
50.07%
Arkane Cloud
0.23 s
0.31 s
32.79 s
7.4 tok/s
96.21%
10.18%
30.96%
7.69%
FlexAI
1.59 s
4.83 s
22.84 s
85.74 tok/s
99.89%
37.62%
0%
1.67%
FlexAI (Europa)
0.33 s
4.29 s
26.76 s
47.99 tok/s
99.98%
24.23%
0%
0.52%
Greenference (Europa)
3.38 s
15.89 s
83.23 s
30.74 tok/s
90.48%
56.63%
5.4%
28.32%
DeepInfra (Estados Unidos)
1 s
18.36 s
55.97 s
24.97 tok/s
99.91%
0%
0%
1.02%
Infomaniak (Suiza)
0.68 s
7.35 s
53.25 s
42.23 tok/s
99.34%
60.84%
0%
0.84%
GreenPT (Europa)
0.27 s
2.93 s
42.85 s
116.56 tok/s
100%
0%
0%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call Gemma 4 31B IT with Eden AI

Use the model ID to let Eden AI pick an endpoint, or an endpoint ID from the table above to pin one.

import requests

response = requests.post(
    "https://api.edenai.run/v3/chat/completions",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "gemma-4-31b-it",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about Gemma 4 31B IT

On Eden AI, prices for this model start at $0 per million input tokens and $0 per million output tokens. Prices differ by endpoint; the providers table lists each one.

Up to 262K tokens, depending on the endpoint.

8 endpoints from 7 providers, available in: Global, Europa, Suiza, Estados Unidos. All of them are called with the same Eden AI API key.

¿Puedo usar Gemma 4 31B IT en la UE? Sí. Al menos un endpoint está alojado en Europa; fíjalo con su ID de endpoint de la tabla de proveedores para mantener tus solicitudes en la UE. ‖ ¿Qué velocidad tiene Gemma 4 31B IT? En los últimos 30 días, el primer token más rápido llegó en 0,23 s (Arkane Cloud) y el mayor rendimiento fue de 116,56 tokens por segundo (GreenPT (Europa)).