gpt-image-2), bill per image at
the real token rates, and trace it alongside your chat calls.
Generate
Edit
Pass an input image (and optional mask) toimages.edit:
Image calls are billed at
gpt-image-2’s multi-rate token pricing (text-in,
image-in, image-out) — the exact cost is recorded on every call. Vision input
(passing images to a chat model) is just a normal chat.completions call with an
image_url content block; it routes to a vision-capable model automatically.