All models

OpenAI

GPT-5 Image

The larger GPT image model, at its own output rate.

Pricing, per million tokens

Input
$9.00
Output
$36.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.14
1024x10241:17,024$0.25
1536x10243:25,488$0.20
1440x14401:19,386$0.34
2560x144016:97,370$0.27
2048x20481:114,272$0.51
3840x216016:913,342$0.48

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 openai/gpt-5-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