Gemini 3.1 Pro Preview

gemini-3.1-pro-preview by Google Cloud Released febbraio 20, 2026
Ragionamento · Chiamata di funzioni · Output strutturato · Caching dei prompt · Ricerca web · Input immagine · Input file · Input audio · Input video
Input from
$2 / 1M
Output from
$12 / 1M
Cached input from
$0.2 / 1M
Context window
1.05M
Endpoints
2
from 2 providers
Regions
Globale

About Gemini 3.1 Pro Preview

Gemini 3.1 Pro Preview è il modello di ragionamento all’avanguardia di Google, che offre prestazioni migliorate nell’ingegneria del software, una maggiore affidabilità degli agenti e un utilizzo più efficiente dei token nei flussi di lavoro complessi.

Gemini 3.1 Pro Preview è un modello di chat di Google Cloud, disponibile su Eden AI tramite 2 endpoint presso 2 provider, a partire da 2 $ per milione di token in input e 12 $ per milione di token in output, con una finestra di contesto fino a 1,05M token.

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. Oltre 200K token: 4 $ in input / 18 $ in output per 1M.

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
Google Cloudgoogle/gemini-3.1-pro-preview
Globale
1.05M
$2
$12
$0.2
Ufficiale · Ragionamento · Strumenti · JSON · Cache · Visione · Web
Google Cloudvertex/gemini-3.1-pro-preview
Globale
1.05M
$2
$12
$0.2
Ragionamento · Strumenti · JSON · Cache · Visione · 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. Oltre 200K token: 4 $ in input / 18 $ in output per 1M.

Up to 1.05M tokens, depending on the endpoint.

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

Quanto è veloce Gemini 3.1 Pro Preview? Negli ultimi 30 giorni il primo token più rapido è arrivato in 12,02 s (Google Cloud) e il throughput più alto è stato di 127,36 token al secondo (Google Cloud).