Nano Banana 2 (Gemini 3.1 Flash Image Preview)

Google chatvisionimage_genreasoningtool_use

API ID: google/gemini-3.1-flash-image-preview-20260226

No data available

About Nano Banana 2 (Gemini 3.1 Flash Image Preview)

Nano Banana 2 (Gemini 3.1 Flash Image Preview) is a general-purpose model from Google with standard context (66k), suitable for conversations, content creation, and general AI tasks.

🏆
Price Ranking
#1 lowest price among 950 Chat models — Top 20% cheapest!

Model Specifications

Context Length
66k
Max Output
66k
Release Date
2026-02-26
Capabilities
chat vision image_gen reasoning tool_use
Input Modalities
imagetext
Output Modalities
imagetext

Best For

  • Complex reasoning, math problems, multi-step logic
  • Image analysis, document understanding, visual Q&A
  • Conversations, content writing, general assistance

Consider Alternatives For

  • Simple Q&A (cheaper models available)

Google Model Lineup

Compare all models from Google to find the best fit

Model Input Output Context Capabilities
Nano Banana 2 (Gemini 3.1 Flash Image Preview) Current Free Free 66k chat vision image_gen reasoning tool_use
Gemma 3n 4B Free Free 33k chat tool_use
Gemini 2.5 Flash Image Preview (Nano Banana) Free Free 33k chat vision image_gen
Gemma 3n 2B (free) Free Free 8k chat tool_use
Gemma 1 2B Free Free 8k chat
Gemma 1 2B Free Free 8k chat

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Meta Llama 3.2 3B Instruct
Input: Free
Output: Free
Context: 80k
Alibaba Qwen Qwen2.5-VL 7B Instruct
Input: Free
Output: Free
Context: 33k
ByteDance Seedream 4.5
Input: Free
Output: Free
Context: 4k
Black Forest Labs FLUX.2 Max
Input: Free
Output: Free
Context: 47k

🚀 Quick Start

Get started with Nano Banana 2 (Gemini 3.1 Flash Image Preview) API

Google AI Python SDK
import google.generativeai as genai

genai.configure(api_key="YOUR_API_KEY")
model = genai.GenerativeModel("gemini-3.1-flash-image-preview-20260226")

response = model.generate_content("Hello!")
print(response.text)