Gemini 3.1 Pro Preview

gemini-3.1-pro-preview by Google Cloud Released febrero 20, 2026
Razonamiento · Llamada a funciones · Salida estructurada · Caché de prompts · Búsqueda web · Entrada de imagen · Entrada de archivo · Entrada de audio · Entrada de vídeo
Input from
$2 / 1M
Output from
$12 / 1M
Cached input from
$0.2 / 1M
Context window
1.05M
Endpoints
2
from 2 providers
Regions
Global

About Gemini 3.1 Pro Preview

Gemini 3.1 Pro Preview es el modelo de razonamiento de vanguardia de Google, que ofrece un mayor rendimiento en ingeniería de software, una mayor fiabilidad de los agentes y un uso más eficiente de los tokens en flujos de trabajo complejos.

Gemini 3.1 Pro Preview es un modelo de chat de Google Cloud, disponible en Eden AI a través de 2 endpoints en 2 proveedores, desde 2 $ por millón de tokens de entrada y 12 $ por millón de tokens de salida, con una ventana de contexto de hasta 1,05M tokens.

Providers and prices

2 endpoints from 2 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. Más de 200K tokens: 4 $ de entrada / 18 $ de salida por 1M.

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
Google Cloudgoogle/gemini-3.1-pro-preview
Global
1.05M
$2
$12
$0.2
Oficial · Razonamiento · Herramientas · JSON · Caché · Visión · Web
Google Cloudvertex/gemini-3.1-pro-preview
Global
1.05M
$2
$12
$0.2
Razonamiento · Herramientas · JSON · Caché · Visión · Web

Performance

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

Fastest first token
12.02 s
Google Cloud
Lowest latency
7.05 s
Google Cloud
Highest throughput
127.36 tok/s
Google Cloud
Best availability
100%
Google Cloud
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Google Cloud
12.02 s
26.54 s
50.59 s
127.36 tok/s
99.87%
5.66%
1.1%
12.79%
Google Cloud
15.29 s
7.05 s
53.9 s
67.31 tok/s
100%
3.87%
0%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call Gemini 3.1 Pro Preview 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": "gemini-3.1-pro-preview",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about Gemini 3.1 Pro Preview

On Eden AI, prices for this model start at $2 per million input tokens and $12 per million output tokens. Prices differ by endpoint; the providers table lists each one. Más de 200K tokens: 4 $ de entrada / 18 $ de salida por 1M.

Up to 1.05M tokens, depending on the endpoint.

2 endpoints from 2 providers, available in: Global. All of them are called with the same Eden AI API key.

¿Qué velocidad tiene Gemini 3.1 Pro Preview? En los últimos 30 días, el primer token más rápido llegó en 12,02 s (Google Cloud) y el mayor rendimiento fue de 127,36 tokens por segundo (Google Cloud).