Model detail
GPT-Image-2
OpenAI's latest image generation model. Supports high-fidelity image generation and editing via the dedicated Images API.
Model specs
- Model ID
-
gpt-image-2
- Context length
- –
- Max output
- –
- I/O modalities
- Released
- 2026-06
02
API endpoints
One MixRoute gateway, OpenAI-compatible
-
OpenAI-compatible
/v1/chat/completionsPOST
03
Pricing
Flat rate, unit: /1M Tokens
Input
$5.0000 /1M Tokens
Completion
$30.0000 /1M Tokens
Cache read
$1.2500 /1M Tokens
Image input
$8.0000 /1M Tokens
Image completion
$5.0000 /1M Tokens
05
Selection summary
Quickly judge whether it fits your workload
What is this model good for?
OpenAI's latest image generation model
OpenAI's latest image generation model. Supports high-fidelity image generation and editing via the dedicated Images API.
What should you check before using it?
Confirm output sizes and supported image formats
GPT-Image-2 supports streaming, prompt caching, vision input and the OpenAI SDK. Released 2026-04-21. The image input price is $8.0000 per 1M tokens. Test a representative workload before production.
Why use it through MixRoute?
GPT-Image-2 cache reads cut repeated-prompt cost
Cached prefixes are billed at $1.2500 per 1M tokens instead of $5.0000 per 1M tokens for standard input, so repeated system prompts cost less. MixRoute serves GPT-Image-2 on the OpenAI-compatible endpoint /v1/chat/completions; point your existing client at https://api.mixroute.ai/v1 with the model ID gpt-image-2 and re-run your integration tests.
07
Capabilities & compatibility
Unconfirmed capabilities stay "Unknown," no guesses
Streaming
GPT-Image-2 supports streamed responses.
stream: true streams tokens incrementally, so chat UIs render as they arrive.
Prompt caching
GPT-Image-2 supports prompt caching under supported routing conditions.
Vision input
GPT-Image-2 can process image inputs alongside text.
image_url content part alongside text messages.
OpenAI SDK
Call GPT-Image-2 through MixRoute's OpenAI-compatible endpoint.
base_url to https://api.mixroute.ai/v1; everything else follows the OpenAI style.
08
Token cost estimator
Live estimate from this page's pricing, not an actual bill
Share of the same prefix read repeatedly, up to 100%
09
FAQ
Use the model ID gpt-image-2 through the compatible Images API endpoint. Check the current API documentation for the exact endpoint path and required parameters.
One endpoint, a testable decision
Test this model and alternate routes with the same request format
Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.