Gemini 3.1 Flash Image

gemini-3.1-flash-image by Google Cloud Released febrero 27, 2026
Razonamiento · Salida estructurada · Búsqueda web · Entrada de imagen · Alojamiento en la UE
Input from
$0.5 / 1M
Output from
$3 / 1M
Cached input from
$ / 1M
Context window
131K
Endpoints
2
from 2 providers
Regions
Global, Europa

About Gemini 3.1 Flash Image

Gemini 3.1 Flash Image, también conocido como «Nano Banana 2», es el último modelo de vanguardia de Google para la generación y edición de imágenes, que ofrece una calidad visual de nivel profesional a la velocidad del rayo.

Gemini 3.1 Flash Image es un modelo de chat de Google Cloud, disponible en Eden AI a través de 2 endpoints en 2 proveedores, desde 0,5 $ por millón de tokens de entrada y 3 $ por millón de tokens de salida, con una ventana de contexto de hasta 131K 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.

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
Google Cloud (Europa)vertex/gemini-3.1-flash-image
Europa
131K
$0.5
$3
$
Razonamiento · JSON · Visión · Web
Google Cloudgoogle/gemini-3.1-flash-image
Global
66K
$0.5
$3
$
Oficial · Razonamiento · JSON · 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
7.17 s
Google Cloud (Europa)
Lowest latency
2.31 s
Google Cloud (Europa)
Highest throughput
157.59 tok/s
Google Cloud (Europa)
Best availability
100%
Google Cloud (Europa)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Google Cloud (Europa)
7.17 s
2.31 s
12.52 s
157.59 tok/s
100%
20.39%
0%
0%
Google Cloud
7.81 s
3.05 s
13.64 s
130.06 tok/s
99.92%
22.38%
0%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call Gemini 3.1 Flash Image 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-flash-image",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about Gemini 3.1 Flash Image

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

Up to 131K tokens, depending on the endpoint.

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

¿Puedo usar Gemini 3.1 Flash Image 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 Gemini 3.1 Flash Image? En los últimos 30 días, el primer token más rápido llegó en 7,17 s (Google Cloud (Europa)) y el mayor rendimiento fue de 157,59 tokens por segundo (Google Cloud (Europa)).