OpenAI-compatible — keep the SDK you already use
https://api.orcarouter.ai/v1from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key="$ORCAROUTER_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-4.1-2025-04-14",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)frequency_penaltylogit_biaslogprobsmax_completion_tokensmax_tokensnparallel_tool_callspredictionpresence_penaltyresponse_formatseedservice_tierstopstreamstructured_outputstemperaturetool_choicetoolstop_logprobstop_pweb_search_options| Input / 1M tokens | $2.00 |
| Output / 1M tokens | $8.00 |
| Cache read / 1M | $0.500 |
| Currency | USD |
Estimate based on list price
Estimate only — actual token counts depend on the provider's tokenizer.
GET /api/public/models/openai/gpt-4.1-2025-04-14Open @misc{orcarouter_gpt_4_1_2025_04_14,
title = {openai/gpt-4.1-2025-04-14 API},
author = {openai},
year = {n.d.},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/openai/gpt-4.1-2025-04-14}
}openai. (n.d.). openai/gpt-4.1-2025-04-14 API. OrcaRouter. https://www.orcarouter.ai/models/openai/gpt-4.1-2025-04-14