anhyeu00m/gpt-5.5
تُخزَّن المطالبات المتكررة في الكاش — القراءة أرخص بكثير من الإدخال، ويُطبَّق ذلك تلقائيًا عبر API.
مستويات الأسعار المطبقة سابقًا. الصف الموسوم "الحالي" هو السعر المباشر.
التقدير بناءً على الأسعار المعلنة. عادةً ما يجعل الكاش الأمر أرخص.
https://api.xah.io/v1/chat/completions
https://api.xah.io/v1/messages
https://api.xah.io/v1/responses
https://api.xah.io/v1beta/models/anhyeu00m/gpt-5.5:generateContent
https://api.xah.io/api/chat
https://api.xah.io/api/generate
curl 'https://api.xah.io/v1/chat/completions' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "anhyeu00m/gpt-5.5",
"messages": [
{
"role": "user",
"content": "مرحبًا، من أنت؟"
}
]
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/chat/completions', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"model": "anhyeu00m/gpt-5.5",
"messages": [
{
"role": "user",
"content": "مرحبًا، من أنت؟"
}
]
})
});
const data = await res.json();
console.log(data);
import requests
url = 'https://api.xah.io/v1/chat/completions'
headers = {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
}
payload = {
"model": "anhyeu00m/gpt-5.5",
"messages": [
{
"role": "user",
"content": "مرحبًا، من أنت؟"
}
]
}
res = requests.post(url, headers=headers, json=payload, timeout=120)
print(res.status_code, res.json())
{
"model": "anhyeu00m/gpt-5.5",
"messages": [
{
"role": "user",
"content": "مرحبًا، من أنت؟"
}
]
}
أرسل مطالبة بمفتاح API الخاص بك — يستهلك رصيدًا حقيقيًا ويُرجع الرد فورًا.