GPT-5.4

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.

Try Now

Capabilities

Thinking

Tool Use

Image Input

Image Generation

PDF Input

Technical Specifications

Context Window

1,050,000 tokens

Max Output

128,000 tokens

Pricing

Token Costs (per 1M tokens)

Cache Miss Input
≤ 272,000 input$2.50
> 272,000 input$5
Non-Reasoning Output
≤ 272,000 input$15
> 272,000 input$22.50
Cache Read Input
≤ 272,000 input$0.25
> 272,000 input$0.50

Tool Costs (per 1K calls)

Web Search

$10

Code Execution

$30

Image Generation

$400