GPT-5.4 mini brings the core capabilities of GPT-5.4 to a faster, more efficient model optimized for…
from openai import OpenAI
client = OpenAI(
base_url="https://orcarouter.ai/v1",
api_key="$ORCAROUTER_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-5.4-mini",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)| Input / 1M tokens | $0.750 |
| Output / 1M tokens | $4.50 |
| Cache read / 1M | $0.075 |
| Currency | USD |