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
Output modalitiestext, image
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 is priced as follows: Input price: $0.5/M, Text output: $3/M, Image output: $60/M

What modalities does Gemini 3.1 Flash Image support?

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

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 Neon

by Google

Gemini 4 Neon is the latest model in Google’s Gemini 4 series. It features frontier-level…

$3.3/1M in · $16.5/1M out
1,048,576 tokens context

Genie 4

by Google

Genie 4 is Google’s latest real-time interactive world generation model. Through the…

$1.5/1M in · $9/1M out

Gemini 4 Hydrogen

by Google

Gemini 4 Hydrogen is a Google Gemini 4 model focused on speed and efficiency. Potential…

$1.5/1M in · $7.5/1M out
1,048,576 tokens context

Gemini Decision 1

by Google

Gemini Decision 1 is designed for judgment and decision-making tasks, helping developers…

$0.1/1M in
262,144 tokens context

Gemini 3.8 Live

by Google

Gemini 3.8 Live is a multimodal AI model from Google that delivers a low-latency…

$3/1M in · $12/1M out

Gemini 2.5 Flash Live

by Google

Gemini 2.5 Flash Live is Google's multimodal AI model for real-time interactions…

$3/1M in · $12/1M out

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