0G Foundation tarafından
Lightweight MoE (284B total / 13B active) tuned for fast, low-cost, high-throughput text work; function calling, web search, and thinking on by default (disable with enable_thinking:false); 1M context, up to 384K output. Currently served as the pinned 2026-07-31 snapshot.
1M
1.000.000 token
393K
393.216 token
$0.1379
1M token başına
$0.275
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": "deepseek-v4-flash",
"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": "deepseek-v4-flash",
"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.
X-0G-Provider-Address bir sağlayıcıyı sabitler; X-0G-Provider-Identity, sağlayıcının üst akışlarından hangisine yönlendirme yapılacağını sabitler. Her iki değer de GET /v1/providers uç noktasındaki address ve provider_identity alanlarından gelir. Birlikte, bir sağlayıcının belirli bir üst akışını adreslerler. İkisi de gönderilmezse yönlendirme katmanı, tıpkı önceki gibi fiyata ve sağlık durumuna göre seçer.
curl "https://router-api.0g.ai/v1/chat/completions" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-H "X-0G-Provider-Address: <PROVIDER_ADDRESS>" \
-H "X-0G-Provider-Identity: <UPSTREAM>" \
-H "X-0G-Provider-Sort: latency" \
-H "X-0G-Provider-Allow-Fallbacks: true" \
-d '{
"model": "deepseek-v4-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'