Skip to content

Models / Google

GoogleAvailable on TokenCenter

Nano Banana 2 (Gemini 3.1 Flash Image Preview)

google/gemini-3.1-flash-image-preview

Gemini 3.1 Flash Image Preview, 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.

Key facts

Input price
$0.50 / 1M tokens
Output price
$3.00 / 1M tokens
Context window
66K tokens
Max output
59K tokens
Accepts
Text, Images
Returns
Text, Images

Example: 1,000 requests with 1,000 input and 500 output tokens each would cost about $2.00 (1M input tokens × $0.50 + 0.5M output tokens × $3.00). Estimate your own usage.

Prices are the provider’s own per-token rates with zero markup, from our price list as of Oct 18, 2026. If a call has extra provider charges (images, audio, web search, cached prompts), you pay the reported cost.

Call it from your code

curl https://api.tokenctr.com/v1/chat/completions \
  -H "Authorization: Bearer $TOKENCENTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "google/gemini-3.1-flash-image-preview", "messages": [{"role": "user", "content": "Hello!"}]}'

Works with any OpenAI-compatible SDK: set the base URL to https://api.tokenctr.com/v1. Quickstart

Benchmarks

Design Arena

CategoryRankEloWin rate
Models: Graphic design4126166.3%
Models: Image4127665.1%
Models: Logo4126362.9%

Source: Artificial Analysis indexes and Design Arena results as published in OpenRouter’s model data, fetched Oct 15, 2026. Higher is better. Not measured by TokenCenter. See all rankings.

Supported request parameters

include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstemperaturetop_p