0G Foundation tarafından
GPT-5.5, designed for complex professional workloads, with strong reasoning, high reliability, and improved token efficiency on hard tasks. Text and image input, text output, 1M-token context.
1M
1.000.000 token
128K
128.000 token
$5
1M token başına
$30
1M token başına
curl "https://router-api.0g.ai/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-d '{
"model": "gpt-5.5",
"messages": [
{"role": "user", "content": "Hello!"}
],
"stream": true
}'Sağlayıcı Yönlendirme
X-0G-Provider-* istek başlıklarını kullanarak isteğinizi hangi sağlayıcının işleyeceğini belirleyin.
X-0G-Provider-Address bir sağlayıcıyı sabitler; X-0G-Provider-Identity, sağlayıcının üst akışlarından hangisine yönlendirme yapılacağını sabitler. Her iki değer de GET /v1/providers uç noktasındaki address ve provider_identity alanlarından gelir. Birlikte, bir sağlayıcının belirli bir üst akışını adreslerler. İkisi de gönderilmezse yönlendirme katmanı, tıpkı önceki gibi fiyata ve sağlık durumuna göre seçer.
curl "https://router-api.0g.ai/v1/chat/completions" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-H "X-0G-Provider-Address: <PROVIDER_ADDRESS>" \
-H "X-0G-Provider-Identity: <UPSTREAM>" \
-H "X-0G-Provider-Sort: latency" \
-H "X-0G-Provider-Allow-Fallbacks: true" \
-d '{
"model": "gpt-5.5",
"messages": [{"role": "user", "content": "Hello!"}]
}'