Use the Infernet API (open models on a peer-to-peer GPU network, OpenAI-compatible) from Claude Code: one-command setup, chat, live models, balance and free requests left.
A decentralized GPU compute marketplace for inference and distributed training, running as a workload plugin on top of c0mpute. Rent a GPU anywhere, install c0mpute, add the infernet plugin, start earning crypto. The control plane is a Next.js dashboard; GPU nodes authenticate with Nostr-signed HTTP requests — they never hold a database credential, run as an unprivileged user, and can operate outbound-only. Scales horizontally — every new provider on the network is real, additional capacity.
Infernet runs on c0mpute. The peer discovery + auction substrate (libp2p Kad-DHT + gossipsub) lives in c0mpute, shared with other workload plugins (transcode, etc.). Infernet contributes the AI-specific layer: federated inference (llama.cpp RPC), the chat / completions API, the routing logic, and the Nostr-keyed identity model.
What we are, what we aren't. Infernet is the economic substrate for inference jobs that don't need NVLink — single-GPU inference (7B–70B), embarrassingly parallel batch (embeddings, image grids, sweeps), LoRA fine-tunes, and async / federated distributed training (DiLoCo-style). We don't try to match hyperscalers on tight-sync 100B+ training from scratch — that workload's interconnect moat is real and conceding it costs us nothing. The dominant inference market is request-level parallel, where per-job latency is dominated by GPU compute, not network hops. As inference ASICs (Apple Neural Engine, Qualcomm Hexagon, Tenstorrent, Groq, Cerebras, AWS Trainium) commoditize the silicon, the protocol layer is what stays valuable. Bitcoin's real lesson: the protocol survived three hardware generations because it didn't depend on any of them.
Signs you in, creates an ik_live_ key (stored in ~/.config/infernet/config.json, never your
project), runs a test completion with model auto and prints curl / JavaScript / Python code for
the OpenAI-compatible API at https://infernetprotocol.com/v1. Then infernet chat "..." works in
one line. Docs: https://infernetprotocol.com/docs#quickstart
In Claude Code:
claude plugin marketplace add InfernetProtocol/infernet-protocol
claude plugin install infernet@infernet
That adds /infernet:setup, /infernet:chat, /infernet:models, /infernet:status, an
infernet skill and the Infernet MCP tools. Any MCP client: npx -y @infernetprotocol/cli mcp.
Getting started
Two lines on Linux, macOS, or Windows (WSL2):
# 1. Install c0mpute (the p2p substrate; brings in mise, bun, ffmpeg)
curl -fsSL https://c0mpute.com/install.sh | sh
# 2. Add the infernet plugin (installs the infernet CLI + daemon)
c0mpute plugin install infernet
The first command sets up c0mpute itself — peer discovery, the
gossipsub auction layer, capability registry, and the toolchain
(mise + bun) that plugins share. The second pulls
https://c0mpute.com/plugins/infernet/install.sh which lays down the
infernet CLI at ~/.local/bin/infernet and registers infernet as
the AI-inference workload type on the c0mpute network.
Windows (WSL2)
The CLI itself is POSIX shell, so Windows operators run it inside
WSL2 and the daemon picks up the GPU through Microsoft's WSL CUDA
driver path:
Install the Windows NVIDIA driver (gives WSL CUDA support — no driver inside WSL).
Open Ubuntu and run the same one-liner above.
Outbound poll for chat + remote model commands works as-is. Direct
P2P inbound on :46337 requires a netsh interface portproxy rule on
the Windows host (skip it if you only care about earning via routed
jobs — the control plane handles that path outbound-only).