Home/gpt-5.4
OpenAI

gpt-5.4

gpt-5.4
Price
Input$2.375per million tokens$2.5per million tokens
Cached reads$0.2375per million tokens$0.25per million tokens
Output$14.25per million tokens$15per million tokens
Tiered billing
Input length per requestInputCached readsOutput price
0 < tokens <= 272K$2.5$0.25$15
272K < tokens <= 1.1M$5$0.5$22.5

Use the following code example to integrate our API:

1from openai import OpenAI
2
3client = OpenAI(
4    api_key="<Your API Key>",
5    base_url="https://api.highwayapi.ai/openai"
6)
7
8response = client.chat.completions.create(
9    model="gpt-5.4",
10    messages=[
11        {"role": "system", "content": "You are a helpful assistant."},
12        {"role": "user", "content": "Hello, how are you?"}
13    ],
14    max_tokens=128000,
15    temperature=0.7
16)
17
18print(response.choices[0].message.content)

Information

Provider
Quantization
-

Supported Features

Context Length
1.1M
Maximum Output
128K
Function Calling
Supported
Structured Outputs
Supported
Reasoning
Supported
serverless
Supported
Input Capabilities
text, image
Output Capabilities
text
Contact Us