gemini-3.1-flash-image

proprietary

The Interactions API is now generally available. We recommend using this API for access to all the latest features and models. Home Gemini API Docs Send feedback Gemini 3.1 Flash Image Nano Banana 2 provides high-quality image generation and conversational editing at a mainstream price point and low latency. It serves as the high-efficiency counterpart to Gemini 3 Pro Image , optimized for speed and high-volume developer use cases. Key updates: New output resolution options: New support for 0.5K, 2K and 4K, default 1K New Image Search Grounding: Integration of both text and image search results to inform generation with real-time web data Supported with Thinking on or off New 1:4, 4:1, 1:8 and 8:1 aspect ratios Improved aspect ratio adherence Improved image quality and consistency Improved i18n text rendering

Context
131K
Max output
33K
Input price
$0.5/1M tokens
Output price
$3/1M tokens

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Batch Processing

Details

Creator Google AI
Licenseproprietary
Statusactive
Typechat
Input modalitiestext, image
Output modalitiestext
Open weightNo
Parameters—
Architecture—
Context window131K tokens
Max input—
Max output33K tokens
Reasoning tokens—
Knowledge cutoff
Release date—
Sourceofficial

Pricing

Input
$0.5
Output
$3
Cache write
—
Cache read
—
Batch in
—
Batch out
—

Family Comparison: gemini-3.1

ModelContextMax outPricing
gemini-3.1-flash-lite-image66K4K$0.25$1.5
gemini-3.1-flash-lite-preview1M66K$0.25$1.5
gemini-3.1-flash-lite1M66K$0.25$1.5
gemini-3.1-flash-image-preview131K33K$0.5$3
gemini-3.1-flash-image131K33K$0.5$3
gemini-3.1-pro-preview1M66K$2$12

API

GET/v1/models/vercel/google/gemini-3.1-flash-image