gemini-2.5-flash-image

Gemini 2.5 · Per Token

gemini-2.5-flash-imageAvailable
ImageImage GenerationText to ImageFastVision
Context Window: 1.0MMax Output Tokens: 66K

Pricing

Official PriceLemonData Price
Input$0.30$0.21
Output$2.50$1.75

Parameters

Context Window
1.0M tokens
Max Output Tokens
66K tokens

Best For

Image Generation

Creating images, illustrations, and visual content

Vision

Image understanding, document analysis, and visual reasoning

Cost Calculator

1M
0.5M
Estimated Monthly Cost$1.08

API Code Example

POST/v1beta/models/gemini-2.5-flash-image:generateContent
API Format:
curl "https://api.lemondata.cc/v1beta/models/gemini-2.5-flash-image:generateContent" \
  -H "Content-Type: application/json" \
  -H "x-goog-api-key: sk-xxx" \
  -d '{
    "contents": [
      {"role": "user", "parts": [{"text": "Hello!"}]}
    ]
  }'

FAQ

How much does gemini-2.5-flash-image cost?

On LemonData, gemini-2.5-flash-image costs $0.2100 per 1M input tokens and $1.7500 per 1M output tokens, which is up to 30% off the official pricing.

What is gemini-2.5-flash-image best for?

gemini-2.5-flash-image excels at Image, Image Generation, Text to Image. Access it through LemonData's unified API with a single API key.

How to use gemini-2.5-flash-image API?

Get your API key from LemonData, then call https://api.lemondata.cc/v1beta/models/gemini-2.5-flash-image:generateContent using any compatible SDK. See the code examples above for detailed integration.

Related Models