Node operations & uptime
Systemd/pm2, ports, clean shutdown, upstream quotas, trust. This page is part of the P2P AI chapter of the TokenOS documentation.
- Node operations & uptime Uptime is the whole game for a seller. Buyers route to peers that are online, reachable and settle cleanly; a node that sleeps, crashes or hides behind a closed port drops out of the catalog and collects ghosted sessions against its trust score. This is the checklist new providers receive by email the first time they save an address — kept here so you can come back to it. Peers are listed only while their announcement is fresher than 20 minutes. Install the systemd unit below (or pm2), enable it on boot and disable sleep/hibernate on the machine.
- Buyers dial you directly on tcp/7882 (encrypted TCP) and tcp/7883 (the same frames over WebSocket, protocol v2.1), plus udp/7881 for the DHT. Forward the ports, set publicHost in seller.json or pass --public-host , then confirm with network stats that the indexer observed your public IP.
- Open sessions settle on shutdown. Always stop with SIGINT/SIGTERM (Ctrl-C, systemctl stop , pm2 stop ); a hard kill loses the last receipt and the buyer's hold is refunded after the grace period.
- Every request is forwarded to your upstream. A revoked key or exhausted quota turns each session into an error. Watch vendor billing alerts and set maxConcurrency to what the upstream really allows.
- The node re-announces every 5 minutes to the DHT and the indexer. Networks that block outbound UDP still work via the indexer — but only while the node is up. Check your offer once a day.
- Routing is cheapest-then-trust per model. Compare with network browse , adjust defaultPricing / servicePricing and restart.
- Verify a domain or GitHub repo ( verifications + provider verify ) for up to 20 points immediately; let sessions settle at the 10-minute idle / 80% budget marks for the rest.
- Request USDC payouts (minimum 1 USDC) from the console or seller payout . Keep the Monday digest on so you notice when sessions or trust move.
Service definitions
Daily health checks
Reading your trust score
Offer missing from the catalog — node not running, last announce older than 20 minutes, or the indexer unreachable from the host. , Sessions reserved but no requests arrive — port closed or wrong publicHost ; buyers time out and the session is ghosted. , Every request errors — upstream key revoked, quota exhausted, or serviceModels maps to a model the upstream does not have. , Balance not growing after traffic — settlements only happen at idle / 80% / disconnect; check seller status after a session closes. , ] />
Payments are for metered usage only; there are no token rewards, and running a node does not guarantee traffic or income. More: Sell inference without a GPU · protocol docs .
Run the node as a service that restarts itself
Log curves over closed sessions and settled USD on the TokenOS ledger. Clean settlements raise it; ghosted sessions do not count.
Your share of last week’s settled volume across the network.
Verified domain (DNS TXT or /.well-known/tokenos.json) or GitHub proof bound to the peer id; domain age adds a little.
New peers show “new” until their first settlement — buyers still route to them unless they set --min-trust.
Admins can zero the score of peers that settle against themselves; hidden test peers leave every public list.
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.