Gemini 2.5 Flash Image

LiveGoogleAliases: gemini-2.5-flash-image-preview
Model IDgemini-2.5-flash-image

Gemini 2.5 Flash Image by Google: 64K context, 32K max output, with Vision, Prompt Caching, Response Schema, Streaming. Via WandAPI, Input (prompt) costs 0.6 Credits / M tokens, 70% below list price. Compatible with Gemini generateContent: swap the base URL and you are connected.

Context window
64Ktokens
64,000
Max output
32Ktokens
32,000
7-day uptime
—
Not yet probed
Measured throughput
198.3tokens / s
Real traffic, last 7 days · output side

Capabilities

Listed exactly as the catalog flags them, including what this model does not support.

4 of 15 supported

Vision

Natively multimodal: captioning, classification, visual Q&A, chart and screenshot understanding. Images are converted to tokens at the input rate.

Prompt Caching

Repeated prefixes (system prompts, long documents) hit the cache: reads cost far less than input, writes are priced by retention time.

Response Schema

Constrain output to a JSON Schema you provide for predictable, type-safe results without parsing free text.

Streaming

Tokens arrive over SSE as they are generated; the first frame is forwarded immediately with no buffering. Claude Code, Codex and similar tools depend on this.

Function CallingNot supported

Connect the model to external tools and APIs: it decides when to call which function and with what arguments, your code runs it. Force or forbid calls with tool_choice.

ReasoningNot supported

The model thinks before answering, which markedly improves multi-step planning and reasoning for coding, math and data analysis. Thinking tokens bill at the output rate.

AudioNot supported

Audio input or speech output.

VideoNot supported

Video input understanding or video generation.

File InputNot supported

Upload PDFs and other documents directly; the model reads the whole document with native vision.

Web SearchNot supported

Vendor-hosted live web retrieval; the model decides when to search and cites sources.

RealtimeNot supported

Bidirectional low-latency voice / text sessions over WebSocket.

SessionNot supported

Server-side multi-turn context (e.g. previous_response_id in Responses) so you need not resend history.

MediaNot supported

Image / video / music generation endpoints.

Multipart FormNot supported

multipart/form-data file-upload requests.

Binary ResponseNot supported

Endpoints that return raw audio / image bytes.

Protocols & code samples

Change the base URL to WandAPI, keep everything else. Native protocols pass straight through; “adapted” ones are translated by the gateway.

Gemini CLI setup guide

Google GenAI SDK or any generateContent client: point the base URL at https://api.wandapi.com.

curl "https://api.wandapi.com/v1beta/models/gemini-2.5-flash-image:generateContent" \
  -H "x-goog-api-key: $WANDAPI_KEY" \
  -H "content-type: application/json" \
  -d '{
    "contents": [{"parts": [{"text": "Explain prompt caching in one sentence"}]}]
  }'

Full price list

List price → WandAPI price per channel, every pricing dimension, nothing hidden.

1 Credit ≈ $0.152 · rate updated daily
ItemUnitGoogle list priceGemini官方生图分组 ×270% off
Input (prompt)per 1M tokens$0.30.6 Credits
Output (completion)per 1M tokens$2.505 Credits
Image output (general)per 1M tokens$30.0060 Credits
Web search (general)per 1K calls$14.0028 Credits

“Off” is computed at 1 Credit = ¥1 and today’s rate: 1 − channel multiplier × (1 Credit in the list currency).

FAQ

How much does the Gemini 2.5 Flash Image API cost?

Via WandAPI, Input (prompt) costs 0.6 Credits / M tokens, with 1 Credit = ¥1. That is 70% below the Google list price.

What are the context window and output limit of Gemini 2.5 Flash Image?

Context window 64K tokens, up to 32K tokens per response.

Does Gemini 2.5 Flash Image support function calling and structured outputs?

Function calling is not supported; structured outputs (JSON Schema) are supported.

One API key for Gemini 2.5 Flash Image and 30+ models

Free credits on sign-up, pay as you go, no monthly fee.

Get an API Key