by 0G Foundation
Anthropic Claude Fable 5; text and image input, text output, with a 1M-token context window. Extended thinking and tool use supported.
1M
1,000,000 tokens
131K
131,072 tokens
$10
$9
per 1M tokens
$50
$45
per 1M tokens
curl "https://router-api.0g.ai/v1/messages" \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "anthropic-version: 2023-06-01" \
-d '{
"model": "claude-fable-5",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Hello!"}
]
}'TEE Verification
Request on-chain signature verification with verify_tee. The response includes a tee_verified field in the trace.
{
"model": "claude-fable-5",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello!"}],
"verify_tee": true
}Provider Routing
Control which provider handles your request using the X-0G-Provider-* request headers.
curl "https://router-api.0g.ai/v1/messages" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-H "X-0G-Provider-Sort: latency" \
-H "X-0G-Provider-Allow-Fallbacks: true" \
-d '{
"model": "claude-fable-5",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello!"}]
}'