Anthropic
gemini-2.5-flash-image
google/gemini-2.5-flash-image
Price per million tokens
- Input
- $0.380
- Output
- $3.165
- Cache write
- $0.105
- Cache read
- $0.038
What you pay. It is what the tokens cost us to buy plus 20%, and your usage page shows what we paid beside what you paid on every request you send.
Limits
- Context window
- 32,768 tokens
- Max output
- 8,192 tokens
- Images
- supported
What it costs to run
| Workload | Input | Output | Cost | Per 1,000 calls |
|---|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0020 | $1.96 |
| Long document summary | 50,000 | 2,000 | $0.0253 | $25.32 |
| Agent step with tools | 20,000 | 1,500 | $0.0123 | $12.34 |
| 1M in, 1M out | 1,000,000 | 1,000,000 | $3.5448 | $3544.80 |
Calling it
const res = await client.chat.completions.create({ model: "google/gemini-2.5-flash-image", messages: [{ role: "user", content: "Hello" }], });