All models / OpenAI
gpt-5.4 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 | $2.00 Above 272K: $4.00 / $18.00 | $0.20 | $12.00 |
| Saver | $1.25 Above 272K: $2.50 / $11.25 | $0.13 | $7.50 |
| Spot | $0.75 Above 272K: $1.50 / $6.75 | $0.075 | $4.50 |
| Official | $2.50 Above 272K: $5.00 / $22.50 | $0.25 | $15.00 |
Facts
| Vendor | OpenAI |
|---|---|
| Type | Chat |
| Endpoint formats | OpenAI Chat Completions |
| Billing | Per token |
| Long-context pricing | > 272K |
| Cache-read price | Yes |
| Tiers | Standard · Saver · Spot · Official |
| Tested | Minimal request succeeded · |
Monthly cost examples
Estimated at Standard-tier prices, without cache discounts.
| 10M in + 1M out | $32.00 |
| 100M in + 20M out | $440 |
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.
curl https://api.xhuoapi.ai/v1/chat/completions \
-H "Authorization: Bearer $XHUO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-5.4", "messages": [{"role": "user", "content": "Hello"}]}'
from openai import OpenAI
client = OpenAI(base_url="https://api.xhuoapi.ai/v1", api_key="YOUR_XHUOAPI_KEY")
resp = client.chat.completions.create(
model="gpt-5.4",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
Use it in your tools
Use XHuoAPI in Codex CLI
Use XHuoAPI in Cursor
Use XHuoAPI in Cline
Use XHuoAPI in Chatbox
Use XHuoAPI in Open WebUI
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-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
gpt-image-2.5
text-embedding-3-large
text-embedding-3-small
text-embedding-ada-002
tts-1