← All models

gpt-image-2

OpenAI

This is the exact string to pass as model in a request. IDs are case-sensitive, and this one is billed per image, not per token.

Price

Per image

$0.0194

Image models are not billed by token — the token rates below do not apply to them.

Billing reads the same table this page does, so the price you see is the price you are charged. Cache read/write apply when the upstream provider reports cached tokens.

Specs

Provider
OpenAI
Context window
1–2K output
Image input
Not supported
Best for
Image generation
Key required
Any Standard key. No dedicated key needed.
Data
Request content is not stored here. It is forwarded to the upstream provider of this model, which handles it under its own policy — privacy policy.

How to call it

Image models are called on POST https://jzstoken.com/api/v1/images/generations, not on the chat endpoint. The image generation guide walks through a working request — we do not print a request body here that we have not exercised.

Clients that require the Anthropic Messages format can use POST https://jzstoken.com/api/v1/messages instead — see the Claude Code and Cursor guides. Which of these two formats any individual model supports through our gateway has not been certified per model, so try the chat endpoint first.

Not listed here yet

We would rather leave these blank than fill them with a number nobody verified: maximum output tokens, per-model rate limits, and per-model certification for streaming, tool calling or structured output. None of that is returned by the upstream pricing API and we have not measured it. If you need a specific figure for capacity planning, ask us and we will measure it rather than estimate.