All models

Google

Nano Banana

Gemini 2.5 Flash Image, the previous generation, kept for projects pinned to it.

The vendor has listed this model for retirement no earlier than 2 October 2026. We serve it for as long as the vendor keeps it running; when the vendor switches it off, a request naming it is refused rather than served by another model, and the model leaves the catalogue. Projects pinned to it should move to a current model.

Pricing, per million tokens

Input
$0.27
Output
$27.00

An image model is metered in tokens like the text models. The prompt and every attached image are input; the frame itself is output, and its token count is set by the shape of the frame rather than by its area — a square takes more tokens than an oblong frame of the same size. So a frame has no single price: the reply's usage.completion_tokens is the count you were billed for, and usage.cost is the amount. The same rates are returned by the catalogue route of the API.

Measured frames: output tokens and what they come to
FrameShapeOutput tokensAbout
1280x72016:93,787$0.10
1024x10241:17,024$0.19
1536x10243:25,488$0.15
1440x14401:19,386$0.25
2560x144016:97,370$0.20
2048x20481:114,272$0.39
3840x216016:913,342$0.36

Scroll the table sideways for the last column.

Counts measured on this model; the money column is the count at the output rate above, before any input. Treat it as a guide, not a rate table: the charge follows the tokens the renderer reports for the frame it actually drew. One attached image counts as about 2,900 input tokens; a request may ask for up to ten frames.

How to call it

Send google/gemini-2.5-flash-image in the model field of a request to https://api.gtokens.io/api/v1/chat/completions (or /api/v1/images for edits). Image models answer in the OpenAI-compatible shape only.

Quickstart with code samples

All models and pricing