Decentralized
AI Compute

One OpenAI-compatible API for every AI model, served by the decentralized 0G Compute Network. Verified runs, privacy on demand, and zero platform fees.

0G Compute - Decentralized AI Compute

Switching costs one line

Any tool that speaks the OpenAI API works with 0G Compute. Change the base URL and API key, nothing else.

cURL
curl https://router-api.0g.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-YOUR_API_KEY" \
  -d '{
    "model": "glm-5.3",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
1

Get an API key

Connect a wallet at pc.0g.ai, deposit 0G tokens or pay in USD, and create a key.

2

Point your client at the router

Set the base URL to https://router-api.0g.ai/v1 in the OpenAI or Anthropic SDK, or in Claude Code.

3

Pick a trust mode

Verified routes only to attested providers. Private runs inside TEE enclaves so nobody sees your data, not even 0G.

AI Compute is Broken

Cloud AI services are expensive, opaque, and centralized.

Developers and enterprises pay premium prices, without visibility into execution, performance guarantees, or long-term ownership. A few infrastructure providers control nearly all AI compute, creating vendor lock-in and systemic risk.

Prohibitive Risk

GPU capacity is priced with heavy cloud markups and limited availability during demand spikes.

Black Box Execution

No way to verify that models ran correctly or that results weren't tampered with.

Centralized Control

A few providers control all compute, creating vendor lock-in and single points of failure.

0G Compute flips the script. Access a global network of GPU providers at 90% lower cost, with cryptographic proof that your models executed correctly.

Start Using 0G Compute

AI Compute Without Compromise

0G Compute combines decentralized infrastructure with proof-based verification to deliver trustless execution at scale.

Low-Latency, Elastic Compute

Run inference and fine-tuning globally, without capacity constraints.

Verifiable AI Execution

Every job comes with cryptographic guarantees of who ran it, how, and what was produced.

Dynamic, Cost-Effective Pricing

Pay per task, not per instance. Providers compete on cost and reliability, not brand reputation.

Composable, Ecosystem-Agnostic Design

Plug into the 0G modular stack or connect to other chains and protocols.

Take Your AI Truly Onchain

0G Private Computer connects builders to on-demand AI services, all served by independent providers on the 0G Compute network.

Inference Live

Run LLMs, vision models, speech-to-text, and more through decentralized providers.

Fine-Tuning Live

Customize models using your own datasets, with proof-based execution and onchain settlement.

Training Coming Soon

Full training pipelines to unlock end-to-end AI development onchain.

Built for High-Performance AI Workloads

0G Compute is not a single API, it is a modular execution system designed to support high-throughput AI workloads while preserving transparency and trust.

01

Smart Contracts

Onchain registration, payments, and settlement with cryptographic verification of every transaction.

02

Provider Network

Permissionless marketplace where independent GPU operators compete on reliability and cost.

03

Compute Router

One OpenAI-compatible endpoint with unified billing, automatic failover, and an SDK for wallet-signed dApps.

04

Verification Layer

Proof-based execution with cryptographic guarantees you can independently audit.

0G Compute Architecture

Trustless Inference Pipeline

From request to verified result, 0G Compute ensures every step is transparent and cryptographically secured.

Request

Inference Flow

Users submit inference requests through the 0G network. Smart contracts handle payment and route jobs to optimal providers.

  • Request Submission Submit model, inputs, and payment in a single transaction.
  • Intelligent Routing Jobs automatically routed to providers with best price-performance ratio.
Request
Escrow
GPU
Result
Verification

Execution Proofs

Multiple verification mechanisms ensure results are trustworthy, from hardware attestations to zero-knowledge proofs.

  • TEEML (TEE) Hardware-based attestation using Trusted Execution Environments.
  • OPML / ZKML Optimistic and zero-knowledge proofs for cryptographic verification.
TEEML
OPML
ZKML

Trust Through Verification

0G Compute doesn't ask you to trust providers - it proves they executed correctly.

TEE Attestation

Hardware enclaves provide tamper-proof execution environments with remote attestation.

Optimistic Proofs

OPML allows fast results with economic guarantees against fraud.

Zero-Knowledge Proofs

ZKML provides mathematical certainty without revealing model weights or inputs.

Economic Security

Provider stakes ensure aligned incentives and slashing for misbehavior.

Metrics

Read live from the 0G Compute Router model catalog

Models Available Live
0 models
chat, vision, video, speech, image, embeddings
Verifiable Models Live
0 TEE-attested
TeeML enclaves and TeeTLS official channels
Serving Providers Live
0 provider slots
independent providers competing on price

Earn by Providing Compute

Turn your idle GPUs into a revenue stream. Join the 0G Compute network and earn tokens for every inference you serve.

Become a Provider
Register GPU
Serve Inferences
Earn Rewards

Frequently Asked Questions

Get an API key at pc.0g.ai, then point any OpenAI-compatible client at https://router-api.0g.ai/v1. The router picks a provider, handles billing, and fails over automatically. If you are building a browser dApp where the user's wallet must sign each request, use the Direct SDK (Advanced mode) instead.

Verified routes only to attested providers: TeeML enclaves or official model channels verified via TeeTLS, so you always know which model ran. Private goes further and runs sealed inside TEE GPU enclaves, so nobody can see your data, not even 0G. Set the mode per API key or override it per request with a header.

Register your GPU with the 0G Compute network, stake the required tokens, and run the provider software. You'll automatically receive inference requests and earn rewards for successful completions.

Over a hundred models across chat, vision, video generation, speech-to-text, text-to-image, and embeddings, including DeepSeek, GLM, MiniMax, Gemini, and Claude families. Browse the live catalog with pricing at pc.0g.ai/models.

Providers set their own per-token rates and compete for requests, so there is no single-vendor markup, no top-up fee, and no premium for verified or private inference. You can pay in 0G tokens or in USD through Stripe. On average, users save 90% compared to cloud providers.

Get Started with 0G Compute

Whether you need AI compute power or have GPUs to share, 0G Compute connects you to the decentralized AI economy.

Users

Get an API key and run verifiable AI inference at 90% lower cost than cloud providers.

Get API Key

Providers

Monetize your GPU hardware by serving AI workloads.

Become Provider

Documentation

Learn how to integrate 0G Compute into your stack.

Read Docs