Verified 2026-11-18 · rates follow the live catalog

Gemini 2.5 Flash Image API

Fast text-to-image generation. Billed on generated image tokens, about $0.04 per standard image.

Specifications and pricing

Gemini 2.5 Flash Image — published rates in USD
ProviderGoogle
Context window128K
Input / 1M tokens$0
Output / 1M tokens$30
Cached input / 1M tokens—

What a request costs

A call with 50,000 input tokens and 10,000 output tokens bills at $0.300: 50,000 ÷ 1,000,000 × $0 for input, plus 10,000 ÷ 1,000,000 × $30 for output.

Calling it

Endpoint

Both API formats are served from one host and one key, so a tool that speaks either works without a translation layer:

Set OPENAI_BASE_URL or ANTHROPIC_BASE_URL to that host and keep the client library you already use.

Send Gemini 2.5 Flash Image in the model field. These aliases resolve to the same model: gemini-2.5-flash-image.

Capabilities: tool and function calling.

Other Google models

The rest of the catalog, with rates side by side, is on all models.

Model catalog · Pricing · Comparisons · Cost guides · Integration guides · FAQ
Guides: GLM coding plan alternative · DeepSeek coding plan · Free AI API · LLM gateway · LLM proxy · Cheap AI API · OpenAI-compatible API · Uncensored models
Model APIs: GLM API · DeepSeek API · Kimi API · Qwen API · MiniMax API
Compare: vs OpenRouter · vs Claude · vs OpenAI
Legal & contact: Terms · Privacy · Cookies · DPA · Contact