Gemini 3.1 Flash Image

Gemini 3.1 Flash 图片生成模型 (Nano Banana 2),为速度和高吞吐场景打造,支持 0.5K/1K/2K/4K 分辨率。

Model ID: gemini-3.1-flash-image · Type: image · Provider: Google

Endpoints: /v1/images/generations

Pricing

Input (per 1M tokens)$0.375 USD
Output (per 1M tokens)$2.25 USD
Image output (per 1M tokens)$45 USD

FAQ

How much does Gemini 3.1 Flash Image cost on openbat.ai?

Gemini 3.1 Flash Image (`gemini-3.1-flash-image`) is billed per usage at $0.375/1M in · $2.25/1M out, in USD. Current pricing is always listed at https://openbat.ai/models/gemini-3.1-flash-image.

How do I call Gemini 3.1 Flash Image through openbat.ai?

Send a request to https://api.router.ai/v1/v1/images/generations with the header `Authorization: Bearer <your API key>` and `"model": "gemini-3.1-flash-image"`. The API is OpenAI-compatible, so any OpenAI SDK works by changing base_url to https://api.router.ai/v1 — no other code change.

Who makes Gemini 3.1 Flash Image?

Gemini 3.1 Flash Image is a image model from Google, available through the openbat.ai gateway with the same API key as every other model.

Call it through the openbat.ai OpenAI-compatible endpoint (API base: https://api.router.ai/v1). AI agents can discover and call every model on this gateway through MCP (https://mcp.router.ai/mcp) with no manual integration.

Which should you pick

API reference · All models