Gemini 3.1 Flash Image

gemini-3.1-flash-image · Google

gemini-3.1-flash-image (Nano Banana 2) features professional-grade visual intelligence, lightning-fast efficiency, and realistic, grounded generative capabilities. This model serves as the high-efficiency counterpart to Gemini 3 Pro Image, optimized for speed and high-volume developer use cases.

API Pricing

Input$0.5 / 1M tokens
Output$3 / 1M tokens

Specifications

Context131K tokens
Modalitiestext, image, PDF, video
CapabilitiesThinking, Web search, Multimodal output

Frequently asked questions

What is Gemini 3.1 Flash Image?

gemini-3.1-flash-image (Nano Banana 2) features professional-grade visual intelligence, lightning-fast efficiency, and realistic, grounded generative capabilities. This model serves as the high-efficiency counterpart to Gemini 3 Pro Image, optimized for speed and high-volume developer use cases.

What is the context length of Gemini 3.1 Flash Image?

Gemini 3.1 Flash Image has a 131,072 token context window.

How much does Gemini 3.1 Flash Image cost?

On AIHubMix, Gemini 3.1 Flash Image costs $0.5 per million input tokens and $3 per million output tokens.

What modalities does Gemini 3.1 Flash Image support?

Gemini 3.1 Flash Image accepts text, image, PDF and video input.

What capabilities does Gemini 3.1 Flash Image support?

Gemini 3.1 Flash Image supports thinking. Per-protocol parameter support is listed in the capability table on this page.

How do I call Gemini 3.1 Flash Image via API?

Gemini 3.1 Flash Image is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to gemini-3.1-flash-image — no other code changes needed.

Who created Gemini 3.1 Flash Image?

Gemini 3.1 Flash Image is developed by Google. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

When was Gemini 3.1 Flash Image released?

Gemini 3.1 Flash Image was released on May 28, 2026 by Google.

More models from Google

See all Google models →

Gemini 4 Argon

by Google

Gemini 4 Argon is Google DeepMind’s multimodal reasoning model for complex software…

$2/1M in · $10/1M out
1,048,576 tokens context

Gemini Nano Banana 2.1

by Google

Gemini Nano Banana 2.1 (gemini-nano-banana-2.1) is Google's latest high-efficiency image…

$1.5/1M in · $7.5/1M out
65,536 tokens context

Gemini 3.8 Flash Lite Tts

by Google

Gemini 3.8 Flash-Lite TTS (gemini-3.8-flash-lite-tts) is Google's fast, cost-efficient…

$0.5/1M in · $6/1M out
8,192 tokens context

Gemini 3.8 Flash Tts

by Google

Gemini 3.8 Flash TTS (gemini-3.8-flash-tts) is Google's 3.8 Flash text-to-speech audio…

$0.5/1M in · $9/1M out
8,192 tokens context

Gemini 3.8 Flash

by Google

Gemini 3.8 Flash is Google's most intelligent Flash-series model, designed for…

$0.75/1M in · $3.75/1M out
1,048,576 tokens context

Gemini 3.7 Flash

by Google

(This model has been officially taken offline; requests to gemini-3.5-flash will now be…

$0.75/1M in · $3.75/1M out
1,048,576 tokens context

Use Gemini 3.1 Flash Image via the AIHubMix unified API — one interface for every major LLM.