OpenAI / GPT-5.4
openai/gpt-5.4
OpenAI
openai
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.
Run predictions with the official JavaScript SDK. Use your API key from Settings.
This model may apply different rates depending on input fields (for example tokens, seconds, megapixels, or prediction type). The effective price uses the first matching rule when you run a prediction.
Pricing formula
Pricing is calculated separately for input, cached input, and output tokens for GPT-5.4.
Terms
| Rule | Condition | Rate |
|---|---|---|
Base pricing Default pricing when no criteria match | — | $15.00 / million token |
Input token pricing | token_type == input | $1.82 / million token |
Cached input token pricing | token_type == cached_input | $1.82 / million token |
Output token pricing | token_type == output | $15.00 / million token |