GPT-5.4 API
OpenAI's GPT-5.4, a general model with a very large context window
About this model
GPT-5.4 is an OpenAI model released in March 2026. OpenAI’s models page lists GPT-6 Sol as its replacement and notes it was retired from Codex with ChatGPT sign-in in August 2026. GPT-5.3-Codex’s coding capabilities were incorporated into it.
It precedes GPT-5.5 and GPT-5.6. Choose it when you need its large context window; for newer capability, use the later families.
The catalog lists a 1,050,000-token context window. It does not list image input for this entry.
Use cases
- Long-document analysis
- Coding assistance
- General chat and writing
Input and output
- Input
- Text
- Output
- Text, tool calls
Developer
OpenAI
Official site of OpenAI- Developer
- OpenAI
- Type
- Conversation
- Context
- 1,050,000 tokens
GPT-5.4 request example
Use https://gatelum.com/v1 as the base URL and pass openai/gpt-5.4 in the model field. You create the key in your account after signing up.
curl --silent --show-error --fail-with-body \
--header 'Authorization: Bearer glt_YOUR_KEY' \
'https://gatelum.com/v1/chat/completions' \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "openai/gpt-5.4",
"messages": [
{
"role": "user",
"content": "Hi! Tell me about yourself in two sentences."
}
]
}
JSONClaude Code and Anthropic-protocol clients
For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=openai/gpt-5.4
claudeWhere to use GPT-5.4
Guides with step-by-step instructions for the tools that support this model: