# Nano Banana 2 Preview Usage, Cost & Rank | OpenCode Data

> Nano Banana 2 Preview costs $0.50 per 1M input tokens and $3.00 per 1M output tokens.

Image model for prompt-driven generation, editing, and visual design workflows

- Page: https://opencode.ai/data/google/gemini-3-1-flash-image-preview
- JSON: https://opencode.ai/data/google/gemini-3-1-flash-image-preview.json
- Model ID: google/gemini-3.1-flash-image-preview
- Lab: Google

## Model facts

| Fact | Value |
| --- | --- |
| Context window | 66K |
| Max output | 66K |
| Knowledge cutoff | 2025-01 |
| Release date | 2026-02-26 |
| Input modalities | text, image, pdf |
| Output modalities | text, image |
| Reasoning | Yes |
| Tool calling | No |
| Open weights | No |

## Pricing: USD per 1M tokens

| Input | Output | Cached input | Cache write |
| --- | --- | --- | --- |
| $0.50 | $3.00 | - | - |

## Methodology

- Updates: Aggregated every hour. Days and weeks use UTC.
- Tokens: Input, output, reasoning, and cached tokens for each request.
- Users and sessions: Approximate counts of distinct users and OpenCode sessions.
- Cost: Session cost is the average cost per OpenCode session. Token prices are list prices from the OpenCode model catalog.
- Retention: The share of a model's users in one week who use it again the next week.
- Citation: Cite OpenCode Data (opencode.ai/data) with the update time shown at the top of the page.
