Skip to main content

Dria Inference Network

Dria is a decentralized inference network that gives you access to open-source LLMs through a simple CLI or an OpenAI-compatible API. Generate text, process images, run batch jobs, and have multi-turn conversations — all powered by a distributed network of compute nodes.

Why Dria?

  • Decentralized — Requests are routed across a network of nodes, not a single provider. No vendor lock-in, no single point of failure.
  • Pay with USDC — On-chain credits via the x402 payment protocol. No subscriptions, no invoices — just top up and go.
  • CLI-first — A single npm install gives you dria generate, dria batch, dria chat, and more. Pipe-friendly by default.
  • OpenAI-compatible — The API follows the /v1/chat/completions spec, so existing tools and libraries work with minimal changes.
  • Auto model selection — In batch mode, Dria automatically dispatches work across the best available models proportional to node availability.

How it works

  1. Initializedria init generates an Ethereum wallet and registers you with the network.
  2. Top updria topup --amount 10 deposits USDC credits via on-chain signing.
  3. Use — Run inference through the CLI, the Node.js SDK, or the HTTP API.

Quick example

# Install
npm install -g @dria/cli

# Setup (one-time)
dria init
dria topup --amount 5

# Generate
dria generate -m qwen3.5:9b "explain quantum computing in one sentence"

Next steps

Installation

Install the CLI and get set up in under a minute.

Wallet & Credits

Create your wallet and add USDC credits.

CLI Reference

Explore all CLI commands.

API Reference

Use the OpenAI-compatible HTTP API directly.