GPT Image 2 API
openai/gpt-image-2 is an image generation model billed per generated image. Its image output price is $0.2207 per image. Token prices are unpublished.
What is GPT Image 2 API in NextModel?
openai/gpt-image-2 is an image generation model billed per generated image. Its image output price is $0.2207 per image. Token prices are unpublished.
GPT Image 2.0 via NextModel: context unpublished; $0.221 / image in / — out per 1M tokens. Capabilities: streaming, vision.
Best use cases
- Call this id if you need image output through an API and you are comfortable with per-image billing.
- It is for vision use cases where a published context window and token prices are not required.
- You need the listed capabilities on this catalog entry.
When not to use
- Do not call this id if you need token-based pricing, a published context window, or first-party CacheSafety scores.
- A required number is unpublished in the catalog snapshot.
- You need a first-party CacheSafety score and this model does not have one.
OpenAI-compatible code example
curl https://api.nextmodel.app/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $NEXTMODEL_API_KEY" \
-d '{"model":"openai/gpt-image-2","messages":[{"role":"user","content":"Reply with OK."}]}'Switching models only changes the model field.
Similar alternatives
GPT-4.1 via NextModel: 1M-token context; $2 / 1M tokens in / $8 / 1M tokens out per 1M tokens. Capabilities: streaming, tool, json.
GPT-4.1 Mini via NextModel: 1M-token context; $0.4 / 1M tokens in / $1.60 / 1M tokens out per 1M tokens. Capabilities: streaming, tool, json.
GPT-4.1 Nano via NextModel: 1M-token context; $0.1 / 1M tokens in / $0.4 / 1M tokens out per 1M tokens. Capabilities: streaming, tool, json.
Reading
Articles that explain GPT Image 2.0
How to estimate AI API cost before you ship
Listed price only tells you the unit cost. This walkthrough turns that into a traffic estimate.
Lin Qiming
LLM Gateway: Compare Options and Alternatives
Same OpenAI-compatible base URL, with routing and billing sitting in front of the model.
Zhao Yu'an
OpenRouter alternatives for developers who need AI API cost control
If the buying question is cost control rather than one model, start here.
Zhao Yu'an
FAQ
GPT Image 2.0 API questions
What model id do I send for GPT Image 2?
Send openai/gpt-image-2 to https://api.nextmodel.app/v1 with your OpenAI SDK. If that id is missing from /v1/models, the page is stale.
What does the catalog list for price and context?
GPT Image 2 is listed at unpublished input and unpublished output. Context window: not published in catalog.
What should I treat as unverified?
Do not call this id if you need token-based pricing, a published context window, or first-party CacheSafety scores.
Start now
Ready to start building?
Passwordless signup, pay-as-you-go billing, and one OpenAI-compatible endpoint for every model. Create your key and send your first request in minutes.