Google: Nano Banana 2 (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 contex…

google/gemini-3.1-flash-image-20260528

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 contextual understanding with fast, cost-efficient inference, making complex image generation and iterative edits significantly more accessible. Aspect ratios can be controlled with the [image_config API Parameter](https://openrouter.ai/docs/features/multimodal/image-generation#image-aspect-ratio-configuration)

Specifications & capabilities

Input
image, text
Output
image, text
Context window · tokens
131072
Knowledge cutoff
2025-01
Published model ID
gemini-3.1-flash-image@default
Capabilities
batch, imageOutput, multimodal, promptCaching, reasoning, structuredOutputs, visionInput, webSearch
Description source ↗

Published prices

1–20 / 21

google/gemini-3.1-flash-image ↗

$0.05

Inference provider
vercelAIGatewayCatalog
Platform
google
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
endpoint
google | google/gemini-3.1-flash-image
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Cached input / 1M
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$0.50

Inference provider
vercelAIGatewayCatalog
Platform
google
Unit
input_tokens_per_million
Currency
USD
Billing conditions
endpoint
google | google/gemini-3.1-flash-image
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Input tokens / 1M
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$3.00

Inference provider
vercelAIGatewayCatalog
Platform
google
Unit
output_tokens_per_million
Currency
USD
Billing conditions
endpoint
google | google/gemini-3.1-flash-image
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Output tokens / 1M
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$0.01

Inference provider
vercelAIGatewayCatalog
Platform
google
Unit
request
Currency
USD
Billing conditions
charge
web_search
endpoint
google | google/gemini-3.1-flash-image
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Web search
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$0.05

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Cached input / 1M
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$0.07

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
image
Currency
USD
Billing conditions
charge
image_dimension_quality_pricing
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
media_variant
size
1K
Billing label
Generated image
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$0.10

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
image
Currency
USD
Billing conditions
charge
image_dimension_quality_pricing
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
media_variant
size
2K
Billing label
Generated image
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$0.15

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
image
Currency
USD
Billing conditions
charge
image_dimension_quality_pricing
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
media_variant
size
4K
Billing label
Generated image
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$0.05

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
image
Currency
USD
Billing conditions
charge
image_dimension_quality_pricing
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
media_variant
size
512
Billing label
Generated image
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$0.07

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
image
Currency
USD
Billing conditions
charge
image_dimension_quality_pricing
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
media_variant
size
default
Billing label
Generated image
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$0.50

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
input_tokens_per_million
Currency
USD
Billing conditions
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Input tokens / 1M
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$3.00

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
output_tokens_per_million
Currency
USD
Billing conditions
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Output tokens / 1M
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$14.00

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
request
Currency
USD
Billing conditions
charge
maps_search
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Maps search
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$0.01

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
request
Currency
USD
Billing conditions
charge
web_search
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Web search
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$0.05

Inference provider
vercelAIGatewayCatalog
Platform
vertex
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
endpoint
vertex | google/gemini-3.1-flash-image
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Cached input / 1M
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$0.50

Inference provider
vercelAIGatewayCatalog
Platform
vertex
Unit
input_tokens_per_million
Currency
USD
Billing conditions
endpoint
vertex | google/gemini-3.1-flash-image
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Input tokens / 1M
Pricing via
Vercel AI Gateway

google/gemini-3.1-flash-image ↗

$3.00

Inference provider
vercelAIGatewayCatalog
Platform
vertex
Unit
output_tokens_per_million
Currency
USD
Billing conditions
endpoint
vertex | google/gemini-3.1-flash-image
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Output tokens / 1M
Pricing via
Vercel AI Gateway

Provider specifications & access

1–3 / 3

gemini-3.1-flash-image ↗

source model id
gemini-3.1-flash-image
hosting
gateway
platforms
  • Cheaper Inference
context length
131072
max output tokens
32768
architecture
input_modalities
    output_modalities
    • image
    capabilities
    • reasoning
    • structuredOutputs
    • visionInput
    • webSearch

    Gemini 3.1 Flash Image (Nano Banana 2) ↗

    source model id
    google/gemini-3.1-flash-image
    hosting
    vercel-gateway
    platforms
    • Vercel AI Gateway
    context length
    131072
    max output tokens
    32768
    architecture
    input_modalities
    • text
    • image
    output_modalities
    • text
    • image
    capabilities
    • promptCaching
    • reasoning
    • structuredOutputs
    • visionInput
    • webSearch

    Gemini 3.1 Flash Image (Nano Banana 2) ↗

    source model id
    publishers/google/models/gemini-3.1-flash-image@default
    hosting
    vertex-managed
    platforms
    • Google Cloud Vertex AI
    context length
    131072
    max output tokens
    32768
    architecture
    input_modalities
    • image
    • text
    • video
    output_modalities
    • image
    • text
    capabilities
    • batch
    • multimodal
    • promptCaching
    • reasoning
    • visionInput

    Safety assessments

    1–1 / 1

    Foundation Model Transparency Index 2025 ↗

    41 / 100

    source id
    stanfordFMTI
    canonical model id
    google/gemini-3.1-flash-image-20260528
    taxonomy
    transparency
    hazard category
    transparency
    hazard name
    Organization transparency
    policy area
    Google
    assessment type
    organization-level disclosure
    metric
    disclosure_score
    result label
    41 / 100
    sample size
    100
    updated at
    2026-11-09T18:08:05.227Z

    Source specification observations

    1–7 / 7

    openRouter ↗

    field
    context_length
    value
    131072
    normalized value
    131072
    scope
    source-model
    source id
    openRouter
    confidence
    1

    vercelAIGatewayCatalog ↗

    field
    context_length
    value
    131072
    normalized value
    131072
    scope
    source-model
    source id
    vercelAIGatewayCatalog
    confidence
    1

    vertexAI ↗

    field
    context_length
    value
    131072
    normalized value
    131072
    scope
    source-model
    source id
    vertexAI
    confidence
    1

    vercelAIGatewayCatalog ↗

    field
    knowledge_cutoff
    reported field
    knowledge_cutoff
    value
    2025-01
    normalized value
    2025-01
    precision
    month
    scope
    source-model
    source id
    vercelAIGatewayCatalog
    confidence
    1

    openRouter ↗

    field
    max_output_tokens
    value
    32768
    normalized value
    32768
    scope
    source-model
    source id
    openRouter
    confidence
    1

    vercelAIGatewayCatalog ↗

    field
    max_output_tokens
    value
    32768
    normalized value
    32768
    scope
    source-model
    source id
    vercelAIGatewayCatalog
    confidence
    1

    vertexAI ↗

    field
    max_output_tokens
    value
    32768
    normalized value
    32768
    scope
    source-model
    source id
    vertexAI
    confidence
    1

    Original sources

    1–9 / 9

    Google Cloud · Model page ↗

    OpenRouter · Model page ↗

    Vercel AI Gateway · Model page ↗

    Google Cloud · Documentation ↗

    api.cheaperinference.com · Source snapshot ↗

    GitHub · Catalog ↗

    Google Cloud · Catalog ↗

    OpenRouter · Catalog ↗

    Vercel AI Gateway · Catalog ↗

    Source links

    1–5 / 5

    Explore more models

    Models

    Loading
    EVIDENCE / COMPARISON

    Benchmarks

    Explore every benchmark

    Loading

    These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

    Install TensorTrace