Sell inference without a GPU

Turn an API key or a local model into a provider in ten minutes. This page is part of the P2P AI chapter of the TokenOS documentation.

Add more upstreams by appending provider blocks — this is how a key and a local model live side by side:

serviceCategories (node 0.5+) sells a service over a different route: embedding → /v1/embeddings , billed on the engine's prompt_tokens at your input price; audio → /v1/audio/transcriptions , billed per minute of audio via audioUsdPerMinute (from the engine's verbose_json duration, else the file size at ≈128 kbps — the buyer meters the same bytes, so receipts match). Your node turns the JSON it receives back into the multipart upload engines such as vLLM, faster-whisper or whisper.cpp servers expect. seller setup guesses the category from the model name (whisper, bge, e5, nomic, …) and asks for a per-minute price for speech models.

Upstream presets — where the capacity can come from

Anything that speaks the OpenAI HTTP shape can sit behind a provider block: set upstream.baseUrl for any compatible host and map buyer-facing model names to the host's ids with serviceModels . upstream.extraBody pins request fields on every call (for example a cheaper service tier) so buyers cannot switch them. Pick a preset below and paste it into your seller.json.

The catalog's "savings" column compares every offer with the model maker's list price (for open weights, the price large hosts publish). Price above what your upstream costs you and below that reference; the difference, net of the 4% protocol fee, is what you receive for metered usage. Nothing is guaranteed — buyers route cheapest-first, then by trust.

Pricing: how buyers pick you

Buyers route cheapest first, then trust , per model. The public catalog shows every offer next to the vendor's list price and the savings a buyer gets. You set USD per million input and output tokens (optionally a cached-input price) per service; buyers pay exactly that, converted at $0.10 per credit, and 4% comes off your side at settlement.

Illustrative numbers from the sample seller.json; list prices change — the live catalog on /p2p is authoritative.

If you pay full list price for your upstream, undercutting that same list price means serving at a loss. Offers that work are backed by capacity that is already cheaper than list: quota you have already paid for and would otherwise waste, discounted or committed-use tiers, cloud credits, or a model running on hardware you own. Everything you receive is payment for metered usage after the protocol fee; there are no token rewards, and running a node does not guarantee traffic.

You are responsible for making sure your vendor agreement allows serving third-party requests through your account. Some API terms restrict resale or require that the capacity be part of your own product. Open-weight models you run yourself carry no such restriction.

What you receive and when

External endpoint mode — list a URL instead of running a node

If you already run an OpenAI-compatible server (vLLM, SGLang, Ollama behind a tunnel, a cloud host, your own proxy) and do not want to operate a seller node, list its base URL from the provider console . TokenOS's hosted gateway relays buyer traffic to that URL, meters the tokens, signs the receipts itself and settles to your wallet exactly like a node seller — same session ledger, same 4% fee, same USDC payouts, same Proof-of-Model checks.

Run a node when you can keep a process online and want the full trust ceiling and direct encrypted sessions. List an endpoint when the server already exists and you only want to sell its spare capacity; pausing the listing or fixing the URL takes one click, and the listing drops out of the catalog automatically while the probe fails.

Seller bond (optional) — a refundable deposit for routing priority

Any seller — node or relayed — may deposit 20 USDC or the $TOS equivalent with the P2P treasury from the console. The deposit is refundable, pays nothing, changes no price and is never required to sell. While it is on file the seller carries a “bonded” badge on the catalog, its peer page and the leaderboard, and the gateway routes it first whenever its price is within 10% of the cheapest offer for the model.

Staying competitive

Full field reference for seller.json, the wire format and the public API: protocol docs . Package source and changelog: tokenos-p2p on npm .

~/.tokenos-p2p/seller.json — minimal, one API key

Your node settles at 10 minutes idle or 80% of a session budget, and again when the buyer disconnects. Each settlement credits your USD balance net of the 4% fee and refunds the buyer’s unspent hold.

Visible in the console and `seller status` as available / lifetime USD.

USDC on Solana, on request, minimum 1 USDC — from the console (Request payout) or `tokenos-p2p seller payout`. Paid immediately by the treasury signer; if it ever queues, an admin releases it and the console shows the transaction.

Opt-in Monday digest (sessions, USDC settled, payouts, trust change) and the one-time uptime checklist when you first save an email.

npm package, keypair identity, open ports

URL + optional API key in the console; TokenOS probes GET /models

Encrypted direct connection from the buyer node

Hosted gateway → your HTTPS URL (buyer nodes cannot dial you)

After independent nodes, before TokenOS\u2019s own supply

Capped at 70; “relayed” badge on every surface

Fernet-encrypted at rest, never returned by the API

Up to 32 text or embedding models, catalog id → your model id

One SPL transfer from the seller wallet to the treasury (USDC or $TOS at the live price); the console submits the transaction signature, TokenOS verifies it on-chain and activates the bond.

Any time, from the console. Badge and priority end immediately; the same asset is returned 7 days later by the treasury signer (cancel within the cooldown to keep the bond).

Only after a failed Proof-of-Model check (the model announced was not the model served), opened by TokenOS staff. The seller has 48 hours to appeal from the console before a decision; a reinstated bond regains its badge and priority.

A bond is a deposit held against misrepresentation — it is not a stake, pays no yield or reward and is not an investment.

Browse the full TokenOS documentation or jump to the API reference, credits & pricing or FAQ.

About TokenOS

TokenOS is the AI operating system for the autonomous Web3 economy. It combines an agentic IDE that turns a prompt into a deployed dApp, a marketplace of x402-paid AI agents, a peer-to-peer AI inference market where anyone can sell spare API quota or GPU time for USDC, MCP and A2A connectors for Claude, Cursor and ChatGPT, and the $TOS utility and governance token on Solana.

Builders pay with prepaid credits; sellers and agent creators are paid for work actually delivered; TokenOS indexes, verifies and settles. Nothing on this site is investment advice, and node payouts, agent payments and referral credits are fees for usage — not token distributions or returns.