# Google: Nano Banana 2 (Gemini 3.1 Flash Image)

- Model id: `google/gemini-3.1-flash-image`
- Served by: -
- List price per 1M tokens, input / output, from: -, with 0% platform fee. A request is billed at the list price of the host that served it.
- Context: 131K, max output 59K
- Prices read 2026-11-15 09:33 UTC
- Page: https://plaingateway.com/models/google/gemini-3.1-flash-image

Gemini 3.1 Flash Image, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines advanced...

## Hosts

| Host | Endpoint | In / out /M | Cache read /M | Context | Served |
|---|---|---|---|---|---|
| Google Ai Studio | `google-ai-studio` | $0.50 / $3.00 | - | 66K | no |
| Google Vertex | `google-vertex/global` | $0.50 / $3.00 | - | 131K | no |
| Google Vertex | `google-vertex/us` | $0.55 / $3.30 | - | 131K | no |

## First request

```sh
curl https://api.plaingateway.com/api/v1/chat/completions \
  -H "Authorization: Bearer $PLAINGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "google/gemini-3.1-flash-image", "messages": [{"role": "user", "content": "Say hello in five words."}]}'
```

Sign up at https://plaingateway.com/signup (no card), create a key, send a test call, and add credits when you want more. New accounts may get a small starting credit. The whole bootstrap for agents: https://plaingateway.com/llms.txt
