0G Foundation tarafından
Zhipu AI flagship purpose-built for long-horizon tasks; 744B foundation, 200K context.
207K
206.848 token
131K
131.072 token
$0.726
1M token başına
$2.9048
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": "glm-5.1",
"messages": [
{"role": "user", "content": "Hello!"}
],
"stream": true
}'TEE Doğrulaması
verify_tee ile zincir üzerinde imza doğrulaması talep edin. Yanıt, izlemede bir tee_verified alanı içerir.
{
"model": "glm-5.1",
"messages": [{"role": "user", "content": "Hello!"}],
"verify_tee": 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.
curl "https://router-api.0g.ai/v1/chat/completions" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-H "X-0G-Provider-Sort: latency" \
-H "X-0G-Provider-Allow-Fallbacks: true" \
-d '{
"model": "glm-5.1",
"messages": [{"role": "user", "content": "Hello!"}]
}'