← Back to model catalog
MODEL / CURRENT PRICE
Google

Gemini 3.1 Flash Image

gemini-3.1-flash-image

These are Mengbi Router customer prices in USD per 1M tokens. Provider: Google; Context: —; Input price: $0.30; Output price: $36.

AI models and pricing

Model specs

Provider
Google
Context
—
Max output
—
Released
Feb 2026
Input modalities
Text, Image
Output modalities
Image
Tool calling
Not supported
Structured output
Not supported
Currency
USD
Model ID
gemini-3.1-flash-image

Model pricing and access details

USD / 1M tokens
ModelOfficialMengbiDiscount
Input price$0.50$0.3040% OFF
Output price$60$3640% OFF
Cache read price———

Estimated cost for common usage

Estimates based on current Mengbi Router prices, so you can plan real request costs.

Token volumeInputOutputInput + output total
10K tokens$0.003$0.36$0.363
100K tokens$0.03$3.6$3.63
1M tokens$0.30$36$36.3
10M tokens$3$360$363

Estimates use the current prices above and exclude cache-hit discounts. Your invoice is metered by the actual token usage of each request.

API protocol compatibility

Keep your SDK. Change one line.

Use the protocol your stack already speaks.

const client = new OpenAI({
  apiKey: process.env.MENGBI_ROUTER_KEY,
  baseURL: process.env.MENGBI_ROUTER_BASE_URL,
})

const response = await client.chat.completions.create({
  model: 'gemini-3.1-flash-image',
  messages,
})

Frequently asked questions

Common questions about the Gemini 3.1 Flash Image API: pricing, capabilities, and integration.

How much does the Gemini 3.1 Flash Image API cost?

Through Mengbi Router, Gemini 3.1 Flash Image costs $0.30 per 1M input tokens and $36 per 1M output tokens.

Does Gemini 3.1 Flash Image support tool calling and structured output?

Based on the current snapshot, Gemini 3.1 Flash Image does not support tool calling yet.

What input and output formats does Gemini 3.1 Flash Image support?

It accepts Text and Image and returns Image.

How do I call Gemini 3.1 Flash Image with the OpenAI SDK?

Keep your OpenAI SDK, point the base URL at Mengbi Router, use your Mengbi API key, and set model to gemini-3.1-flash-image in the request.

Which company provides Gemini 3.1 Flash Image?

Gemini 3.1 Flash Image is provided by Google and available through Mengbi Router with one API key and pay-as-you-go billing. The model was first released in Feb 2026.