---
id: "google/gemini-3.1-flash-image-preview"
also: ["google/gemini-3.1-flash-image-preview-20260226", "vercel/google/gemini-3.1-flash-image-preview"]
cheapest_list_usd_per_m: "0.5 in, 3.0 out, at google-ai-studio on openrouter"
cheapest_effective_usd_per_m: "0.4755 in, 3.0 out, at google on vercel"
context: 65536
max_output: 58982
input: ["image", "text"]
output: ["image", "text"]
released: "2026-02-26"
reasoning: ["high", "minimal", "none"]
api: ["/api/v1/chat/completions", "/api/v1/completions", "/api/v1/messages", "/api/v1/responses", "/api/v1/images"]
params: ["include_reasoning", "max_tokens", "reasoning", "reasoning_effort", "response_format", "seed", "stop", "structured_outputs", "temperature", "top_p"]
endpoints: 2
gateways: "openrouter (1), vercel (1)"
no_training: 1
trains: 0
retains_prompts: 1
---
# Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)

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...