APIPod logoAPIPod
OPENAI

GPT 5.4

GPT-5.4 is OpenAI's latest cutting-edge large model, which integrates the Codex series and the GPT series into a unified system. The model has a context window of over 1 million tokens (922,000 input tokens and 128,000 output tokens), supports text and image inputs, and can perform high-context reasoning, coding, and multimodal analysis within the same workflow. The model delivers improved performance in coding, document understanding, tool usage, and instruction execution. It is designed as a robust choice for both general-purpose tasks and software engineering scenarios, capable of generating production-grade code, integrating information from multiple sources, and executing complex multi-step workflows with fewer iterations and higher token efficiency.

byOPENAIInput TypetextimagefileOutput TypetextContext Window1MMax Output128K

Providers

This model is available from multiple providers. Select one to see its pricing and sample code.

OPENAIDefault
$2 / $12 / R:$0.2 · tiered/ 1M tokens0.80× base price
Supported formatsOpenAI Chat CompletionsOpenAI Responses

Official OpenAI Channels

Azure
$1.5 / $9 / R:$0.15 · tiered/ 1M tokens0.60× base price
Supported formatsOpenAI Chat CompletionsOpenAI Responses

Official Microsoft Azure Channels

Codex
$0.5 / $3 / R:$0.05 · tiered/ 1M tokens0.20× base price
Supported formatsOpenAI Chat CompletionsOpenAI Responses

Sourced from ChatGPT Pro Membership,Recommended for Codex

Pricing

Transparent pay-as-you-go pricing by token usage — no subscriptions or hidden fees.

OPENAI
openai/gpt-5.4
Prices forchange
Per 1M tokens
Tier / Input lengthInput / 1MOutput / 1MCache read / 1MCache write / 1M
standard
≤ 272,000 input tokens
$2$12$0.2—
long_context
> 272,000 input tokens
$4$18$0.4—

Code

Copy an example below to start calling this model in minutes.

API / request example

Sample Code & API

Create API Key
from openai import OpenAI

client = OpenAI(
    base_url="https://api.apipod.ai/v1",
    api_key="<YOUR_API_KEY>",
)

# Chat Completions
completion = client.chat.completions.create(
    model="gpt-5.4",
    messages=[
        {
            "role": "user",
            "content": "What is the meaning of life?",
        }
    ],
)
print(completion.choices[0].message.content)