Back to approved models
OpenAIactiverelay/request.mjsready to route CONTEXTN/Aprompt window MAX OUTPUTN/Aper response INPUT$8.00 / Mtoken price OUTPUT$30.00 / Mtoken price
Approved model profile_
GPT Image 2
OpenAI's latest image generation model. Supports high-fidelity image generation and editing via the dedicated Images API.
gpt-image-2POST https://api.pipellm.ai/v1/images/generations
Authorization: Bearer $PIPELLM_API_KEY
Content-Type: application/json
Model: gpt-image-2
See the provider documentation for request parameters.Route configuration_
Call this model through its native API.
Use the documented HTTP endpoint and request body for this model.
https://api.pipellm.aiUse the native HTTP request format for this model.NATIVE API · NO CONVERSION
Native HTTP/v1/images/generationsDocs Use this native API directly. Protocol conversion is not supported.gpt-image-2Use this in every requestPROVIDER AVAILABILITY2 routes
| Provider | Context | Max output | Discount | Input / M | Output / M |
|---|---|---|---|---|---|
| Azure | N/A | N/A | — | $8.00 / M | $30.00 / M |
| Openai-Azure-01 | N/A | N/A | — | $8.00 / M | $30.00 / M |
SUPPORTED SURFACESactive
input: textinput: imageoutput: image
Relay governs model access with the same routing policy that Lens keeps visible and auditable.
