# gemini-3.1-flash-image — API, Pricing & Image Tokens | Vivgrid

> Source: https://vivgrid.com/docs/models/gemini-3.1-flash-image

gemini-3.1-flash-image (Nano Banana 2) on Vivgrid: Google's high-volume image generation and editing model, with per-image token pricing.

`gemini-3.1-flash-image`, also known as **Nano Banana 2**, is Google's high-efficiency image generation and editing model. It delivers quality image generation and conversational editing at a mainstream price point and low latency — the high-volume counterpart to [gemini-3-pro-image](/docs/models/gemini-3-pro-image).

On Vivgrid, `gemini-3.1-flash-image` runs as a globally centralized model reachable through the same OpenAI-compatible endpoint and unified key as every other model in the catalog.

<ModelSpec slug="gemini-3.1-flash-image" />

## Image token conversion

Images are billed as tokens, so the per-image cost follows the resolution you ask for:

| Item               | Tokens | Cost per image |
| ------------------ | ------ | -------------- |
| Input image        | 1,120  | \$0.00056      |
| Output image (512) | 747    | \$0.045        |
| Output image (1K)  | 1,120  | \$0.067        |
| Output image (2K)  | 1,680  | \$0.101        |
| Output image (4K)  | 2,520  | \$0.151        |

Text and thinking tokens are billed at the text output rate of \$3.00 per 1M tokens.

## Ideal use cases

- High-volume image generation pipelines
- Conversational, multi-turn image editing
- Product and social-media creative at low latency
- Cost-sensitive workloads that don't need Nano Banana Pro's reasoning

## Related models

- [gpt-6-astra](/docs/models/gpt-6-astra) — OpenAI's frontier gpt-6 coding model
- [gemini-3-pro-image](/docs/models/gemini-3-pro-image) — highest-quality image generation and editing
- [gemini-3.5-flash](/docs/models/gemini-3.5-flash) — multimodal understanding rather than generation
