Nano Banana 2 (Gemini 3.1 Flash Image)
Image generation and conversational editing with search grounding and multiple reference images.
Input token limit131.1K131,072 tokens · input onlysource
Maximum output32.8K32,768 tokenssource
Input price$0.5USD / 1M text tokenssource
Output price$3USD / 1M text tokenssource
The specification
- Status
- Deprecatedsource
Deprecated October 6, 2026, with no shutdown date announced. Google recommends migration to gemini-nano-banana-2.1.
Status checked 10 Oct 2026 - API model ID
- gemini-3.1-flash-imagesource
- Input modalities
- text, image, video, PDF
- Output modalities
- image, text
- Access
- Paid Gemini API and Google AI Studio.
- Weight license
- Not verified
- Context scope
- Input and output limits are published separately.
- Price endpoint
- gemini-3.1-flash-image
- Published price
- $0.045–$0.151 / image · 0.5K to 4K; additional input and text/thinking chargessource
- Price conditions
- USD / 1M Standard tokens: text/image input $0.50; text/thinking output $3; image output $60. Published image equivalents: 0.5K $0.045, 1K $0.067, 2K $0.101, 4K $0.151. Batch token rates are half Standard. Search-grounding charges may apply; no free API tier.
Prices checked 10 Oct 2026
The paper trail
4 linked records01
Google gemini-3.1-flash-image model documentation
02Google / DeepMind · Living documentation
Checked 10 Oct 2026Gemini API pricing
03Google · Living documentation
Checked 10 Oct 2026Gemini API release notes
04Google · Living documentation
Checked 10 Oct 2026Gemini image-generation guide
Google · Living documentation
Checked 10 Oct 2026