openai/gpt-5.4-mini
The efficient member of the GPT-5 family, tuned for high-throughput, latency-sensitive workloads. Text + image input, 400K-token context, strong reasoning/coding/tool use at the lowest GPT-5 per-token rate.
Source: launch_0023 · Verified 2026-06-01
Cache read $0.007/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-mini",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)