GPT-5.4 Models Now Available via API

Date: 2026-03-05 Version: OpenClaw 2026.2.26

OpenAI has announced GPT-5.4, and all four variants are immediately accessible via the API with a standard key. We confirmed this with live calls on March 5, 2026.

What's Available

All four respond cleanly with no errors. Note: unlike GPT-5.3, there is no separate Codex variant for 5.4 — only the standard and pro models are available.

Pricing

Input Cached Input Output
GPT-5.4 (all variants) $2.50 / 1M $0.25 / 1M $15.00 / 1M

For reference, previous generations:

Input Output
GPT-5.2 $1.75 / 1M $14.00 / 1M
GPT-5.3 not officially listed not officially listed

Data residency / Regional Processing endpoints add an extra 10%. Batch API saves 50% on input and output.

curl Examples

gpt-5.4:

curl https://api.openai.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gpt-5.4",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

gpt-5.4-2026-03-05:

curl https://api.openai.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gpt-5.4-2026-03-05",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

gpt-5.4-pro:

curl https://api.openai.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gpt-5.4-pro",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

gpt-5.4-pro-2026-03-05:

curl https://api.openai.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gpt-5.4-pro-2026-03-05",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'