by 0G Foundation
Zhipu AI flagship purpose-built for long-horizon tasks; 744B foundation, 200K context.
207K
206,848 tokens
131K
131,072 tokens
$0.86
per 1M tokens
$2.71
per 1M tokens
curl https://router-api-staging.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 Verification
Request on-chain signature verification with verify_tee. The response includes a tee_verified field in the trace.
{
"model": "glm-5.1",
"messages": [{"role": "user", "content": "Hello!"}],
"verify_tee": true
}Provider Routing
Control which provider handles your request using the provider parameter.
{
"model": "glm-5.1",
"messages": [{"role": "user", "content": "Hello!"}],
"provider": {
"sort": "latency",
"allow_fallbacks": true
}
}Private models only
This model is Private. To pin requests to a TEE-backed provider, add the X-0G-Provider-Trust-Mode: private header. Opt-in — not applied by default.
X-0G-Provider-Trust-Mode: private