GPT-5.4

GPT-5.4 is OpenAI’s latest frontier model, unifying the Codex and GPT lines into a single system. It features a 1M+ token context window (922K input, 128K output) with support for text and image inputs, enabling high-context reasoning, coding, and multimodal analysis within the same workflow. The model delivers improved performance in coding, document understanding, tool use, and instruction following. It is designed as a strong default for both general-purpose tasks and software engineering, capable of generating production-quality code, synthesizing information across multiple sources, and executing complex multi-step workflows with fewer iterations and greater token efficiency.

ChatOpenAI1M tokens$2.7251 / $16.3509 · 1M

openai/gpt-5.4

Context
1M tokens
Completion cap
128,000
Tools
Yes
JSON
Yes
Released
2026-03-05

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.4",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is GPT-5.4?
GPT-5.4 is OpenAI’s latest frontier model, unifying the Codex and GPT lines into a single system. It features a 1M+ token context window (922K input, 128K output) with support for text and image inputs, enabling high-context reasoning, coding, and multimodal analysis within the same workflow. The model delivers improved performance in coding, document understanding, tool use, and instruction following. It is designed as a strong default for both general-purpose tasks and software engineering, capable of generating production-quality code, synthesizing information across multiple sources, and executing complex multi-step workflows with fewer iterations and greater token efficiency. GPT-5.4 runs on the Geek Hub API (OpenAI-compatible). Model id: openai/gpt-5.4.
Is GPT-5.4 free?
No. Input is $2.7251 per 1M tokens and output is $16.3509 per 1M tokens on Geek Hub (markup included).
What is the context length of GPT-5.4?
GPT-5.4 has a 1M tokens context window. It supports up to 128,000 completion tokens.
Does GPT-5.4 support tool calling and structured outputs?
GPT-5.4 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
When was GPT-5.4 released?
GPT-5.4 was released on 2026-03-05.

More models from OpenAI