Nano Banana 2 (Gemini 3.1 Flash Image)
Gemini 3.1 Flash Image, 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...
Context window
This model accepts 131K tokens in one request (~98K words of text).
What fits in one request
- FitsShort documentAbout 1,500 words of text
- FitsLong documentAbout 37K words of text
- Won't fitSmall codebaseAbout 150K words of text
- Won't fitFull novelAbout 375K words of text
Specifications
Context size, pricing, and release info in one place.
- Context window
- 131,072 tokens (131K)
- Max output tokens
- 65,536 tokens (66K)
- Speed tier
- fast
- Provider
- Release date
- Jun 2026
Capabilities
See which features this model supports, such as vision, tools, and streaming.
- Vision
- Accepts image inputs alongside text
- Supported
- Extended thinking
- Shows its chain-of-thought reasoning
- Supported
- Streaming
- Returns tokens as they are generated
- Supported
- Tool use
- Can call external tools and APIs
- Not supported
- Function calling
- Structured function call interface
- Not supported
- Web search
- Can browse the web during a request
- Not supported
- Batch API
- Process many requests asynchronously
- Not supported
- Prompt caching
- Reuse repeated prompt prefixes cheaply
- Not supported
Best for
Jump to a guide or ranking that matches each workload.
Compare Nano Banana 2 (Gemini 3.1 Flash Image)
Open a side-by-side comparison with one click.
- Nano Banana 2 (Gemini 3.1 Flash Image) vs Jp Anthropic Claude Sonnet 4 6
Jp Anthropic Claude Sonnet 4 6 has 662% larger context window
- Nano Banana 2 (Gemini 3.1 Flash Image) vs Amazon Titan Text Express
Nano Banana 2 (Gemini 3.1 Flash Image) has 212% larger context window
- Nano Banana 2 (Gemini 3.1 Flash Image) vs Amazon Titan Text Premier
Nano Banana 2 (Gemini 3.1 Flash Image) has 212% larger context window
- Nano Banana 2 (Gemini 3.1 Flash Image) vs Amazon Titan Text Lite
Nano Banana 2 (Gemini 3.1 Flash Image) has 212% larger context window
- Nano Banana 2 (Gemini 3.1 Flash Image) vs Apac Amazon Nova 2 Lite
Apac Amazon Nova 2 Lite has 662% larger context window
- Nano Banana 2 (Gemini 3.1 Flash Image) vs Apac Amazon Nova 2 Pro Preview 20251202
Apac Amazon Nova 2 Pro Preview 20251202 has 662% larger context window
Frequently asked questions
Short answers about context size and how this model behaves.
More from Google
Other models by Google in our catalog.
Powered by Mem0
Use a smaller model.
Get better results.
Mem0 gives your AI long-term memory so you stop re-sending context on every call. That means you can use a smaller, faster, cheaper model — and still get better answers.
Example: a multi-turn chat session
80% less to send — works with any model