PlanetServe: A Decentralized, Scalable, and Privacy-Preserving Overlay for Democratizing Large Language Model Serving

Fei Fang (University of California, Santa Cruz), Yifan Hua (University of California, Santa Cruz), Shengze Wang (University of California, Santa Cruz), Ruilin Zhou (University of California, Santa Cruz), Yi Liu (University of California, Santa Cruz), Chen Qian (University of California, Santa Cruz), Xiaoxue Zhang (University of Nevada, Reno)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 3 · Self-Managing Networks

Overview

PlanetServe is a decentralized, peer-to-peer (P2P) overlay network designed to democratize Large Language Model (LLM) serving by enabling participants—including individuals, academic institutions, and small companies—to pool their computing power and network resources. Inspired by the landmark PlanetLab distributed network, PlanetServe provides a shared infrastructure where contributors can deploy and test LLM innovations at scale without relying on centralized cloud giants. However, running LLM inference across untrusted, distributed nodes introduces severe systems challenges in routing privacy, KV cache efficiency, and result verification.

Watch on YouTube · Slides

Visual summary for PlanetServe: A Decentralized, Scalable, and Privacy-Preserving Overlay for Democratizing Large Language Model Serving by Fei Fang, Yifan Hua, Shengze Wang, Ruilin Zhou, Yi Liu, Chen Qian, Xiaoxue Zhang
Visual summary for PlanetServe: A Decentralized, Scalable, and Privacy-Preserving Overlay for Democratizing Large Language Model Serving by Fei Fang, Yifan Hua, Shengze Wang, Ruilin Zhou, Yi Liu, Chen Qian, Xiaoxue Zhang

Key moments

  1. 0:00 Introduction and core research challenges
  2. 1:53 System architecture and node roles
  3. 2:35 Anonymous communication mechanism with CIDA
  4. 4:32 Full anonymous routing protocol steps
  5. 7:56 Overlay forwarding and Hash Registry (HR) tree
  6. 10:23 Decentralized model verification and reputation scoring
  7. 12:00 Evaluation results and performance overhead
  8. 14:00 Conclusion and summary of findings

PlanetServe: A Decentralized, Scalable, and Privacy-Preserving Overlay for Democratizing Large Language Model Serving

Speakers: Fei Fang, Yifan Hua, Shengze Wang, Ruilin Zhou, Yi Liu, Chen Qian (University of California, Santa Cruz); Xiaoxue Zhang (University of Nevada, Reno)

Conference: USENIX NSDI

YouTube: https://www.youtube.com/watch?v=1zZ5Za5SjLs

Overview

PlanetServe is a decentralized, peer-to-peer (P2P) overlay network designed to democratize Large Language Model (LLM) serving by enabling participants—including individuals, academic institutions, and small companies—to pool their computing power and network resources. Inspired by the landmark PlanetLab distributed network, PlanetServe provides a shared infrastructure where contributors can deploy and test LLM innovations at scale without relying on centralized cloud giants. However, running LLM inference across untrusted, distributed nodes introduces severe systems challenges in routing privacy, KV cache efficiency, and result verification.

The system addresses these challenges through four core architectural pillars: an overlay organization dividing participants into user, model, and verification nodes; a hybrid anonymous communication protocol combining Rabin's information dispersal algorithm (IDA) and Shamir's secret sharing (CIDA); a compact data structure called the Hash Registry Tree (HR Tree) for decentralized KV cache reuse and load balancing; and a sampling-based Byzantine fault tolerant (BFT) model verification scheme. Evaluated on a 10,000-node simulated network and real hardware clusters running DeepSeek-R1 14B on NVIDIA A100 GPUs, PlanetServe reduces time-to-first-token by over 50% on long-document workloads while maintaining cryptographic privacy guarantees with sub-millisecond overhead.

Background

▶ Watch: Introduction and core research challenges (0:00)

The modern landscape of LLM serving is heavily centralized, dominated by a handful of cloud providers and API aggregators. While centralized datacenters benefit from high-bandwidth fabrics, specialized hardware, and global load balancers, this centralization creates high costs, data privacy vulnerabilities, and barriers to entry for independent researchers and smaller organizations. Decentralizing LLM serving by leveraging volunteer computing—similar to SETI@home or BitTorrent—presents an appealing alternative to pool idle enterprise and academic GPUs.

Yet, applying decentralized peer-to-peer architectures to generative AI introduces fundamental systems and security problems that traditional P2P or web serving stacks cannot solve. First, LLM prompts often contain sensitive personal, medical, or corporate data, making public IP routing unacceptable. Standard onion routing networks like Tor introduce prohibitive latency overheads for multi-gigabyte model weights and streaming token responses, while failing to handle stateful KV caching. Second, efficient LLM serving relies heavily on KV cache reuse (prefix caching) to bypass prefill computation for repeated prompt prefixes. In a centralized cluster, a central router maintains a global cache registry; in a decentralized overlay with churn and no central coordinator, maintaining and querying this state without incurring massive communication overhead is an open problem. Finally, decentralized nodes are untrusted: a malicious or misconfigured model node might substitute a cheaper, smaller model, tamper with output tokens, or discard requests while claiming rewards. PlanetServe is the first systems work to systematically tackle all four of these core challenges simultaneously.

Key Findings

▶ Watch: Anonymous communication mechanism with CIDA (2:35)

PlanetServe demonstrates that decentralized, privacy-preserving LLM serving can achieve performance competitive with—and in specific prefix-heavy workloads, superior to—centralized baselines, while offering ironclad anonymity and verifiability.

  • Negligible Anonymity Overhead: Across 10,000 trials on the Tor benchmark dataset, the cryptographic preparation and decryption operations required for anonymous routing execute in well under a millisecond at the tail, a fraction of total LLM inference times.
  • Dramatic Latency Reductions via HR Trees: Evaluated using DeepSeek-R1 14B across eight NVIDIA A100 GPUs, PlanetServe consistently lowers average latency, P99 latency, and time-to-first-token compared to a centralized baseline running standard vLLM without KV cache sharing.
  • Workload-Dependent Scaling: The performance advantage of PlanetServe is most pronounced on prompt-heavy, prefix-sharing workloads such as Long Doc QA and mixed workloads, where the HR Tree reduces time-to-first-token by more than 50% at high request rates.
  • Robust Adversarial Separation: The sampling-based verification mechanism creates a sharp, clean separation in reputation scores between honest and dishonest nodes across 35 evaluation epochs, allowing the system to automatically prune malicious nodes before they degrade service quality.

Technical Deep Dive

▶ Watch: Overlay forwarding and Hash Registry (HR) tree (7:56)

PlanetServe organizes its network participants into three distinct functional tiers: user nodes (clients seeking private LLM access who also act as routing relays), model nodes (GPU-backed servers running complete LLM instances), and verification nodes (a trusted committee of recognized research institutions running a BFT consensus protocol to maintain public cryptographic keys and node reputation scores).

CIDA: Composite Information Dispersal Algorithm

To protect user privacy without bottlenecking throughput, PlanetServe replaces traditional multi-hop onion routing on the data path with CIDA (Composite Information Dispersal Algorithm). CIDA combines two cryptographic primitives:

  1. Rabin's Information Dispersal Algorithm: An erasure-coding technique that splits an AES-encrypted ciphertext ($KM$) into $N$ pieces (where $N=4$), requiring any $K$ fragments (where $K=3$) to reconstruct. Rabin's IDA is computationally optimized for rapid data fragmentation and network bandwidth efficiency.
  2. Shamir's Secret Sharing: A $K$-of-$N$ threshold scheme that provides information-theoretic secrecy specifically for the symmetric AES encryption key ($K$).

The sender packages each ciphertext fragment ($M_i$) and key share ($K_i$) into an atomic unit called a clove ($C_i$). Using a short proxy establishment phase via onion routing, the user sets up four independent paths through intermediary user nodes (proxies). The user disperses the four cloves across these four paths. The receiver needs only $3$ out of $4$ cloves to reconstruct both the key and the message, rendering eavesdropping attempts computationally infeasible unless an attacker compromises $K$ or more independent routing paths simultaneously. Once proxies are established, no public-key cryptography occurs on the active data path.

HR Tree: Hash Registry Tree

To achieve decentralized KV cache reuse and load balancing without a central router, PlanetServe introduces the HR Tree. Maintaining a global registry of raw prompt prefix tags across volatile P2P nodes introduces prohibitive memory and communication overheads.

The HR Tree adapts concepts from Bloom filters and cuckoo filters. Instead of storing raw text prefixes, the HR Tree stores 8-bit hash fingerprints of variable-length prompt chunks. This compact design cuts memory overhead by orders of magnitude. Furthermore, network state synchronization uses delta updates (broadcasting only changes since the last snapshot), which reduces network synchronization overhead by approximately 10x compared to full-registry broadcasts.

Each node in the HR Tree points to a table entry identifying which model nodes hold the corresponding KV cache, accompanied by that node's load-balancing factor (derived from moving average latency, queue length, and capacity) and its cryptographic reputation score. When a model node receives a request, it queries the HR Tree: if a cache hit is registered and the target model node's reputation exceeds the safety threshold, the request is routed directly to that node, maximizing KV cache hit rates while preserving session affinity.

Sampling-Based Model Verification

To prevent model substitution or output tampering, verification nodes periodically issue challenge prompts through the anonymous overlay so model nodes cannot distinguish them from legitimate user traffic. Verification nodes run local reference copies of the target LLMs. When a challenge response returns, the verification node evaluates the output token-by-token, computing the exact probability assigned by its reference model to each generated token given the preceding context. Consistently matching token probabilities earns positive credit, whereas deviations rapidly decrement the node's reputation score via a sharp penalty function. Nodes falling below a safety threshold are marked untrusted and purged from the routing registry.

Experimental Setup & Results

▶ Watch: Decentralized model verification and reputation scoring (10:23)

PlanetServe’s evaluation combines large-scale P2P network simulations with hardware cluster benchmarks to validate both protocol scalability and inference acceleration.

Simulation and Microbenchmarks

Anonymity and routing overheads were evaluated using a simulated network of 10,000 nodes running on the Tor benchmark dataset. Over 10,000 trials, PlanetServe achieved privacy protection and crash confidentiality matching or exceeding traditional onion routing and garlic casting baselines. Microbenchmarks confirmed that proxy preparation and decryption micro-operations execute in under 1 millisecond at the tail, confirming that anonymity mechanisms introduce negligible latency relative to multi-second LLM inference times. Reputation convergence was tested across 35 epochs under various punish-sensitivity settings, demonstrating reliable divergence between honest and malicious actors.

End-to-End GPU Cluster Benchmarks

End-to-end latency experiments were executed on an 8x NVIDIA A100 GPU cluster running DeepSeek-R1 14B. The system was tested across four distinct enterprise workloads: Code Generation, Long Document QA (Long Doc QA), and a Mixed Workload.

Compared against a centralized baseline running standard vLLM without cross-node KV cache sharing, PlanetServe delivered substantial latency improvements across all metrics (average latency, P99 latency, and time-to-first-token). The performance gains scaled directly with prompt length and prefix overlap: on Long Doc QA and mixed workloads, where prefix sharing opportunities are abundant, PlanetServe reduced time-to-first-token by more than 50% under high request rates.

Practical Implications

▶ Watch: Conclusion and summary of findings (14:00)

PlanetServe offers a compelling blueprint for practitioners, infrastructure engineers, and open-source model builders looking to escape cloud oligopolies without sacrificing enterprise-grade performance or privacy.

For model deployers and small organizations, PlanetServe provides a mechanism to monetize idle GPU compute while gaining access to a shared, high-scale inference fabric. By decoupling serving infrastructure from centralized datacenters, teams can test and deploy model innovations globally.

For infra and systems teams, the introduction of the HR Tree proves that decentralized state tracking for KV caching is viable. The use of 8-bit hash fingerprints and delta broadcasting provides a reusable pattern for distributed systems needing low-overhead coordination over unreliable networks.

However, several limitations and tradeoffs remain:

  • Path Dependency: Anonymity guarantees rely on the assumption that an attacker does not control $K$ or more independent paths in the CIDA multi-path routing scheme. In heavily sybil-attacked P2P networks, maintaining path independence requires robust identity management by the verification committee.
  • Verification Overhead: While sampling-based verification effectively detects model substitution, the verification nodes themselves must maintain local copies of large reference models, imposing compute and storage burdens on the trusted committee.
  • Cold-Start Latency: Proxy establishment and initial onion routing setup introduce minor setup overhead before streaming can begin, making PlanetServe most optimal for sustained conversational or long-context batch workloads rather than ultra-short, single-shot queries.

Key Takeaways

  • Decentralized LLM Serving is Viable: PlanetServe demonstrates that peer-to-peer overlays can successfully coordinate distributed GPU resources to serve large language models at scale.
  • CIDA Privacy without Heavy Latency: By combining Rabin's IDA and Shamir's secret sharing with multi-path routing, PlanetServe achieves robust message and key confidentiality with sub-millisecond cryptographic overhead.
  • HR Trees Solve P2P KV Caching: Using 8-bit hash fingerprints and delta updates, the HR Tree reduces registry memory overhead by orders of magnitude and network traffic by 10x compared to full broadcasts.
  • Dramatic Latency Reductions: On prefix-heavy workloads like Long Doc QA using DeepSeek-R1 14B on A100 GPUs, PlanetServe cuts time-to-first-token by over 50%.
  • Trust via Sampling: A BFT verification committee issuing un-distinguishable challenge prompts successfully detects and prunes dishonest or non-compliant model nodes.

About the Speaker(s)

Fei Fang is a researcher at the University of California, Santa Cruz, presenting this work on behalf of a collaborative team spanning UC Santa Cruz (including Yifan Hua, Shengze Wang, Ruilin Zhou, Yi Liu, and faculty member Chen Qian) and the University of Nevada, Reno (Xiaoxue Zhang). The research originates from systems and networking labs focusing on decentralized architectures, peer-to-peer systems, and scalable machine learning infrastructure.

Reviews

→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)

All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)