by 0G Foundation
0G.AI in-house model optimized for agentic coding and tool use; thinking enabled by default.
262K
262,144 tokens
33K
32,768 tokens
$0.16
$0.032
per 1M tokens
$0.96
$0.192
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": "0gm-1.0-35b-a3b",
"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": "0gm-1.0-35b-a3b",
"messages": [{"role": "user", "content": "Hello!"}],
"verify_tee": true
}Provider Routing
Control which provider handles your request using the provider parameter.
{
"model": "0gm-1.0-35b-a3b",
"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