cresht/gpt-5.6-terra
दोहराए गए prompts कैश हो जाते हैं — read, input से कहीं सस्ता है, API के माध्यम से स्वचालित रूप से लागू होता है।
पहले लागू किए गए मूल्य स्तर। "current" चिह्नित पंक्ति वर्तमान मूल्य है।
सूची मूल्यों पर आधारित अनुमान। Caching आमतौर पर इसे सस्ता बनाती है।
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/cresht/gpt-5.6-terra: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": "cresht/gpt-5.6-terra",
"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": "cresht/gpt-5.6-terra",
"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": "cresht/gpt-5.6-terra",
"messages": [
{
"role": "user",
"content": "नमस्ते, आप कौन हैं?"
}
]
}
res = requests.post(url, headers=headers, json=payload, timeout=120)
print(res.status_code, res.json())
{
"model": "cresht/gpt-5.6-terra",
"messages": [
{
"role": "user",
"content": "नमस्ते, आप कौन हैं?"
}
]
}
अपनी API कुंजी के साथ prompt भेजें — वास्तविक क्रेडिट उपयोग होते हैं, परिणाम तुरंत स्ट्रीम होता है।
इस मॉडल को prompt भेजने के लिए अपनी खाते की API कुंजी का उपयोग करें।
साइन इन