Models/openai

gpt-5.4· Released Mar 5, 2026

openai/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...

Input
From$2.0625/M
Output
From$12.375/M
Context
Up to 1.1M
Max output
Up to 128K
Modalities
TextImageFileText

Input and output show the lowest price across upstreams, for reference. Your actual prices are listed per upstream below.

Upstreams & pricing
UpstreamContextMax outputInput $/1MOutput $/1MCached input $/1M
Zenlayer AI Gateway-openai_compat (Global)From price
1.1M128K
≤272K$2.0625
>272K$4.125
≤272K$12.375
>272K$18.5625
≤272K$0.20625
>272K$0.4125

Routed in real time — you pay the listed price of whichever upstream serves your call.

How to call
curlrequest.sh
curl https://api.tkex.ai/v1/chat/completions \
  -H "Authorization: Bearer $TX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.4",
    "messages": [
      {"role": "user", "content": "Say hello in five words."}
    ]
  }'