متوافق مع OpenAI — أبقِ على SDK الحالي
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-5-2025-08-07",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)include_reasoningmax_completion_tokensmax_tokensreasoningresponse_formatseedstreamstructured_outputstool_choicetools| الإدخال / 1M توكن | $1.25 |
| الإخراج / 1M توكن | $10.00 |
| قراءة الذاكرة المؤقتة / 1M | $0.125 |
| العملة | USD |
تقدير بناءً على السعر المُعلن
تقدير فقط — يعتمد العدد الفعلي للرموز على مُجزّئ الرموز الخاص بالمزوّد.
GET /api/public/models/openai/gpt-5-2025-08-07فتح @misc{orcarouter_gpt_5_2025_08_07,
title = {openai/gpt-5-2025-08-07 API},
author = {openai},
year = {n.d.},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/openai/gpt-5-2025-08-07}
}openai. (n.d.). openai/gpt-5-2025-08-07 API. OrcaRouter. https://www.orcarouter.ai/models/openai/gpt-5-2025-08-07