Gemini 3.1 Flash Image (Preview)

Preview of Gemini 3.1 Flash with native image generation capabilities.

gemini-3.1-flash-image-preview
STABLEGet StartedView uptime
65,536 context
Released February 26, 2026
Starting at $0.25/M input tokens
Starting at $1.50/M output tokens
Starting at $60.00/M image output tokens
Streaming
Vision
JSON Output
Image Generation
No ratings yetSign in to rate

All Providers for Gemini 3.1 Flash Image (Preview)

LLM Gateway routes requests to the best providers that are able to handle your prompt size and parameters.

Google AI Studio
Context: 65.5k
Per image (0.5K)
$0.0448
Image Pricing (est. per image)
Input
any size~$0.0001
Output
0.5K~$0.0448
1K~$0.0672
2K~$0.1008
4K~$0.1512
Get Started
Glacier
Context: 65.5k
Per image (0.5K)
$0.0448
Image Pricing (est. per image)
Input
any size~$0.0001
Output
0.5K~$0.0448
1K~$0.0672
2K~$0.1008
4K~$0.1512
Get Started
Google Vertex AI
Context: 65.5k
Per image (0.5K)
$0.0448
Image Pricing (est. per image)
Input
any size~$0.0001
Output
0.5K~$0.0448
1K~$0.0672
2K~$0.1008
4K~$0.1512
Get Started
Quartz
Context: 65.5k
Per image (0.5K)
$0.0448
Image Pricing (est. per image)
Input
any size~$0.0001
Output
0.5K~$0.0448
1K~$0.0672
2K~$0.1008
4K~$0.1512
Get Started

Frequently asked questions

What is Gemini 3.1 Flash Image (Preview)?

Preview of Gemini 3.1 Flash with native image generation capabilities. You can access it through LLM Gateway's OpenAI-compatible API with automatic provider routing, fallback, and cost analytics.

How much does Gemini 3.1 Flash Image (Preview) cost?

Pricing for Gemini 3.1 Flash Image (Preview) on LLM Gateway starts at $0.25 per million input tokens and $1.50 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.

What is the context length of Gemini 3.1 Flash Image (Preview)?

Gemini 3.1 Flash Image (Preview) supports a context window of up to 65,536 tokens on its largest provider deployment.

Which providers serve Gemini 3.1 Flash Image (Preview)?

Gemini 3.1 Flash Image (Preview) is served by Google AI Studio, Glacier, Google Vertex AI, Quartz through LLM Gateway. Requests are automatically routed to the best available provider, with fallback when a provider has issues.

Does Gemini 3.1 Flash Image (Preview) support tool calling and structured outputs?

Gemini 3.1 Flash Image (Preview) supports structured JSON outputs, but not tool calling.

When was Gemini 3.1 Flash Image (Preview) released?

Gemini 3.1 Flash Image (Preview) was released on February 26, 2026.