GPT-5 Mini is a compact version of GPT-5, designed to handle lighter-weight reasoning tasks. It prov…
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-mini",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)| Input / 1M tokens | $0.250 |
| Output / 1M tokens | $2.00 |
| Cache read / 1M | $0.025 |
| Currency | USD |