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

Image input Text input Image output Text output
Author's Description

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 Parameter](https://openrouter.ai/docs/features/multimodal/image-generation#image-aspect-ratio-configuration)

Key Specifications
Cost
$$$$$
Context
65K
Released
Feb 26, 2026
Speed
Ability
Reliability
Supported Parameters

This model supports the following parameters:

Response Format Structured Outputs Temperature Top P Max Tokens Seed Stop Reasoning Include Reasoning
Features

This model supports the following features:

Reasoning Structured Outputs Response Format
Performance Summary

Google's Nano Banana 2 (Gemini 3.1 Flash Image Preview) demonstrates competitive response times, ranking in the 49th percentile for speed across benchmarks. Its pricing is moderate, falling into the 37th percentile. A standout feature is its exceptional reliability, boasting a 99% success rate, indicating minimal technical failures. The model exhibits perfect accuracy in handling hallucinations, correctly identifying fictional concepts, and is noted as the most accurate model at its price point and among models of similar speed for this task. It shows strong performance in Instruction Following (87th percentile accuracy) and particularly excels in Coding (96th percentile accuracy) and Reasoning (92nd percentile accuracy), where it also offers cost-efficient inference. General Knowledge, Email Classification, Ethics, and Mathematics benchmarks show solid, though not always top-tier, accuracy. While its duration for some tasks like Mathematics and Coding is longer, its cost efficiency in these areas is notable. Overall, Nano Banana 2 is a highly reliable model with strong capabilities in image generation and editing, demonstrating particular strengths in avoiding hallucinations, coding, and complex reasoning, while maintaining competitive speed and moderate pricing.

Model Pricing

Current Pricing

Feature Price (per 1M tokens)
Prompt $0.25
Completion $1.5

Price History

Available Endpoints
Provider Endpoint Name Context Length Pricing (Input) Pricing (Output)
Google AI Studio
Google AI Studio | google/gemini-3.1-flash-image-preview-20260226 65K $0.25 / 1M tokens $1.5 / 1M tokens
Benchmark Results
Benchmark Category Reasoning Strategy Free Executions Accuracy Cost Duration
Other Models by google