Skip to content
OpenAIChatgpt-5.4

GPT-5.4

Capable reasoning for complex professional work.

GPT-5.4 handles complex professional tasks with reasoning support, at a lower price than the flagship — a strong default when you want capable output without top-end cost.

  • Professional work
  • Reasoning
  • Balanced cost

Model details

Context window
1.1M tokens
Max output
128K tokens
Input
Text, images
Output
Text
Capabilities
Reasoning, Vision, Tool calling, Streaming, JSON output
Interfaces
OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses

Pricing

Prices use the units shown below. No gateway fees. Usage, size and model options may affect the total.

GPT-5.4 pricing.
MetricPrice
/ 1M input tokens$2.5
/ 1M output tokens$15
/ 1M cached input tokens$0.25
/ web search$0.01
/ 1M input tokens · Up to 272K input tokens$2.5
/ 1M output tokens · Up to 272K input tokens$15
/ 1M cached input tokens · Up to 272K input tokens$0.25
/ 1M input tokens · Above 272K input tokens$5
/ 1M output tokens · Above 272K input tokens$22.5
/ 1M cached input tokens · Above 272K input tokens$0.5

Why teams pick it

  • Reasoning support for multi-step problems
  • Flagship-family quality at a lower price
  • Over 1M tokens of context

Call GPT-5.4

GPT-5.4 answers on any of the APIs below — pick the one your code already speaks and just swap in your Cloakray key.

/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/chat/completions \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-5.4",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'
/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.cloakray.com/v1/messages \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-5.4",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'
/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/responses \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-5.4",
  "input": "Hello"
}'

Conversation compaction is also available at POST /v1/responses/compact.

More from OpenAI