openai/gpt-5.4
The prior-generation GPT-5.4. Strong reasoning and coding at roughly half the token price of 5.5, with a 1M-token context window. A solid default when 5.5 is overkill.
Source: launch_0023 · Verified 2026-06-01
Cache read $0.025/M · Cache write $—/M
Replace the ONEHOP_KEY placeholder with your API key. Create one →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="openai/gpt-5.4",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)