All models / OpenAI
gpt-image-2 API pricing and setup
Call this model through XHuoAPI with one key. Below are its prices in each tier, the endpoint formats it accepts, and a request you can copy.
Prices synced
Price by tier
USD per million tokens (per call for per-call models). A token is billed at the price of the tier it was created in; tiers not listed don't offer this model.
| Tier | Input | Cache read | Output |
|---|---|---|---|
| Standard Default | $4.00 | $1.00 | $24.00 |
| Official | $5.00 | $1.25 | $30.00 |
Facts
| Vendor | OpenAI |
|---|---|
| Type | Image generation |
| Endpoint formats | — |
| Billing | Per token |
| Long-context pricing | None |
| Cache-read price | Yes |
| Tiers | Standard · Official |
| Tested | Not individually tested |
Request example
Replace $XHUO_API_KEY with a token from the console. The base URL is https://api.xhuoapi.ai/v1; existing OpenAI SDK code only needs that one change.
See the API docs for the request format of image and speech models. API docs
More from this vendor
gpt-3.5-turbo
gpt-4
gpt-4.1
gpt-4.1-mini
gpt-4.1-nano
gpt-4o
gpt-4o-mini
gpt-5
gpt-5-codex
gpt-5.1
gpt-5.2
gpt-5.3-codex
gpt-5.4
gpt-5.4-mini
gpt-5.4-nano
gpt-5.5
gpt-5.6-luna
gpt-5.6-sol
gpt-5.6-terra
gpt-6-astra
gpt-6-luna
gpt-6-sol
gpt-6.1-sol
gpt-image-2.5
text-embedding-3-large
text-embedding-3-small
text-embedding-ada-002
tts-1