Skip to content
Alpha
  • Models
  • Rankings
  • Ori

Footer

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Ori
  • Collections
  • Providers
  • Tools
  • Pricing
  • Business
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Customers
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status
  • AI Site Map

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for google

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

google/gemini-3.1-flash-image-preview

BenchmarksCompare

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. 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 ParameterOpens in new tab

Modalities
In / Out Price
$0.50 / $60per 1M
Context
66K
Released
Feb 26, 2026
BenchmarksCompare
PlaygroundBenchmarksProvidersPricingPerformanceUptimeAppsActivityDocumentationFAQExplore

Playground

Benchmarks

Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.

Benchmark score summary for Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) (Artificial Analysis and Design Arena)
SourceBenchmarkScore
Artificial AnalysisNano Banana 2 (Gemini 3.1 Flash Image) Elo1,140
Design ArenaGemini 3.1 Flash Image Gen 2K (Nano Banana 2) Models Arena Graphic Design Elo1261
Design ArenaGemini 3.1 Flash Image Gen 2K (Nano Banana 2) Models Arena Image Elo1274
Design ArenaGemini 3.1 Flash Image Gen 2K (Nano Banana 2) Models Arena Logo Elo1263

Providers

This model is hosted by one provider. OpenRouter forwards every request to it directly — no routing decisions to make.

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

Activity

Token volume and request traffic to this model over time.

API

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

Not currently available through EU in-region routing. In-region routing docs

Documentation

Guides, cookbooks, blog posts, and tools for building with Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) on OpenRouter.

  • Nano Banana API: Edit Images with Gemini in CodeBlog post

Explore more models

AI Models with Vision: Multimodal LLMs for Image UnderstandingCollectionImage Generation ModelsCollectionAI Model RankingsRankingImage Model RankingsRanking
End-to-end latency
$0.50$60.00$3.0016.62s
99.89%
End-to-end latency
16.62s

P50, best provider

Uptime (3d)The model was reachable. Request routed to a provider.
100.00%
Availability (3d)The model returned inference from any provider. Errors and empty responses count against it.
98.53%

Availability over the last 3 days

Last 72 hours
Availability 98.53%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
98.66%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and provider routing options.

1.
Favicon for https://ai2-sandbox.turnmeroyal.com/
TurnMeRoyal
new
213Mtokens
2.
Favicon for https://app.wrapmate.com/
Dragstrip
new
83.5Mtokens
3.
Favicon for https://your-domain.com/
Google Sheets Plugin
new
80.3Mtokens
4.
Favicon for https://openclaw.ai/
OpenClaw
OpenClaw is an open-source AI agent that connects to your messaging apps and takes real actions on your behalf, from running commands and browsing the web to managing files and sending emails.
50.6Mtokens
5.
Favicon for https://stylematch.io/
Stylematch
new
45.3Mtokens

Frequently asked questions

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. It combines advanced contextual understanding with fast, cost-efficient inference, making complex image generation and iterative edits significantly more accessible.

The Nano Banana 2 (Gemini 3.1 Flash Image Preview) documentation on OpenRouter includes the Nano Banana API: Edit Images with Gemini in Code blog post. The quickstart covers API keys and your first request, and the API reference lists every parameter.

Nano Banana 2 (Gemini 3.1 Flash Image Preview) costs $0.50/M input tokens and $3.00/M output tokens, with separate rates for Image Output at $60.00/M tokens and Web Search at $14.00/1K calls.

Nano Banana 2 (Gemini 3.1 Flash Image Preview) has a 65,536 token context window. It supports up to 65,536 completion tokens.

No. Nano Banana 2 (Gemini 3.1 Flash Image Preview) does not accept tools, so function calling is unavailable. It also supports structured outputs via a JSON schema in response_format.

Nano Banana 2 (Gemini 3.1 Flash Image Preview) accepts images and text as input and returns images and text. Up to 14 reference images can be attached to one request for image editing.

Gemini 4 Argon, Nano Banana 2.1, Gemini 3.8 Flash and 26 more are other text models from Google.

Nano Banana 2 (Gemini 3.1 Flash Image Preview) was released on February 26, 2026.