gpt-5.4
gpt-5.4
StreamingTool callingVisionReasoningJSON mode
Overview
gpt-5.4 is available on MAX API through the OpenAI-compatible API.
Pricing
Official list prices in USD. Token prices are per 1M tokens.Input ≤ 272,000 tokens
- Input
- $2.5
- Output
- $15
- Cache read
- $0.25
Input > 271,999 tokens
- Input
- $5
- Output
- $22.5
- Cache read
- $0.5
| Tier | Input | Output | Cache read |
|---|---|---|---|
| Input ≤ 272,000 tokens | $2.5 | $15 | $0.25 |
| Input > 271,999 tokens | $5 | $22.5 | $0.5 |
This model uses tiered pricing: the tier is chosen by the total input length of each request.
Cache read applies to prompt tokens served from the prompt cache; cache write applies to tokens written into it.
Example request
curl https://<your-endpoint>/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.4",
"messages": [{"role": "user", "content": "Hello!"}]
}'https://<your-endpoint> is a placeholder. Your endpoint is shown in the console after you sign in.