by 0G Foundation
Next-generation model purpose-built for coding and agent workflows; 744B foundation.
203K
202,752 tokens
33K
32,768 tokens
$0.6
per 1M tokens
$1.92
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",
"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",
"messages": [{"role": "user", "content": "Hello!"}],
"verify_tee": true
}Provider Routing
Control which provider handles your request using the provider parameter.
{
"model": "glm-5",
"messages": [{"role": "user", "content": "Hello!"}],
"provider": {
"sort": "latency",
"allow_fallbacks": true
}
}