The Coe Lab
← Back to Blog

Mesh LLM: How Distributed GPU Meshes Could Democratize AI Compute

July 12, 20266 min read
AIdistributed computingGPUopen sourceLLM

A new project called Mesh LLM pools GPUs across machines using iroh's NAT-traversing QUIC protocol, letting teams run large language models on hardware they already own — no cloud contract required.

When you picture running a large language model, you probably picture a data center. Racks of GPUs that belong to someone else, a metered API, and a bill that grows every month you succeed. You send your prompts off to a black box and hope the price, the model, and the privacy policy all stay the way they were when you signed up.

For a growing number of teams, that trade is starting to look untenable. You give up control over when models change, where your data goes, and what hardware runs your workloads. And as usage grows, so does the bill, with no lever to pull except “pay more.”

Enter Mesh LLM

Mesh LLM, a new project built on the iroh networking protocol, flips the model entirely. Instead of sending your prompts to someone else’s data center, it pools the GPUs and memory you already have — across as many machines as you want to add — and exposes the whole thing as one OpenAI-compatible API. Start with one node. Add more later. Let the mesh decide whether a model runs on the box in front of you, routes to a peer, or splits across several machines.

The pitch is deceptively simple: run bigger models without buying bigger GPUs. Share compute privately with your team, or publicly with the world. Point any OpenAI-compatible client at localhost:9337/v1 and stop caring where the work actually happens.

Three Ways to Serve a Request

Under the hood, Mesh LLM distributes model compute across a mesh of iroh endpoints. When a request comes in, it can be served in one of three ways:

  • Run it locally on this machine’s GPU.
  • Route it to a peer that already has the model loaded.
  • Split a model too big for any single box across several machines, as a pipeline.

That third option is where things get genuinely interesting. Internally called “Skippy,” the split mode partitions a model by layer ranges into stages: layers 0 to 15 on one node, 16 to 31 on the next, and so on down the pipeline. Activations flow from one stage to the next, so several modest machines can collectively run a model that none of them could hold alone. The OpenAI client never sees any of this — it still just talks to localhost.

The Networking Layer That Makes It Possible

The secret sauce is iroh, a networking protocol that provides authenticated, NAT-traversing QUIC connections between any two machines, addressed by public key. There is no central server. iroh handles hole-punching, NAT traversal, and relay fallback automatically. Two nodes behind different firewalls can open a direct, encrypted connection without anyone configuring port forwarding.

Every node boots an iroh endpoint as its identity — a public key that serves as its only network surface. The protocol rides on QUIC’s ALPN negotiation with three distinct protocols:

  • mesh-llm/1 — the main mesh protocol carrying gossip, routing, HTTP tunnels, and plugin channels.
  • mesh-llm-control/1 — the owner control plane for config sync and ownership attestation.
  • skippy-stage/2 — latency-sensitive activation transport for split models.

Inside the main connection, everything is a bidirectional QUIC stream tagged with a single leading byte that identifies the stream type: gossip announcements, inference requests proxied to peers, route queries, peer lifecycle events, plugin RPC, and direct path sharing for NAT traversal. One connection carries everything, demultiplexed by that first byte.

40+ Models, One Catalog

The catalog ships with over 40 models, ranging from half-a-billion-parameter models that fit comfortably on a laptop to 235B mixture-of-experts giants that require the split-mode pipeline to run at all. The architecture is pluggable: plugins declare what they provide in a manifest, the runtime starts them, routes calls, and exposes capabilities over MCP, HTTP, inference, and mesh events.

The entire client-side software is about 18 MB. You install it, join the public mesh or configure a private deployment, and your existing OpenAI-compatible tools just work. No SDK changes, no client rewrites, no infrastructure team required.

Why This Matters Now

The AI industry has spent the last two years consolidating compute into fewer, larger, more expensive facilities. Hyperscalers like Microsoft and Meta have committed over $120 billion to neocloud providers like CoreWeave and Nebius to secure GPU capacity. The assumption is that AI requires centralized, massive infrastructure.

Mesh LLM challenges that assumption. If you can pool the GPUs scattered across your office — the workstation under your desk, the idle server in the closet, the gaming rig in the break room — you can run models that would otherwise require a cloud contract. The economics flip from “pay per token” to “use what you already own.”

There are real limitations, of course. Split-mode inference introduces latency as activations travel between machines. You need enough aggregate memory across your nodes to hold the model weights. And managing a mesh of machines is inherently more complex than calling an API. But for teams that prioritize privacy, cost control, or sovereignty over their AI infrastructure, the tradeoff is compelling.

The Bigger Picture: AI Infrastructure Is Fragmenting

Mesh LLM is part of a broader trend toward decentralized AI infrastructure. We are seeing sovereign language models from individual nations, open-weights models from Alibaba’s Qwen team, and now mesh-computed models that can run across whatever hardware you happen to have. The monolithic “one provider, one API, one bill” model is fracturing.

A mobile app is coming, built on iroh’s Swift SDK. The plan is to support ACP, the emerging agent communication standard, so other clients can join the mesh natively. If that materializes, you could conceivably run a distributed LLM across your phone, your laptop, and your desktop — each contributing what it can to the collective inference pipeline.

The Takeaway

Mesh LLM represents a genuine architectural alternative to the centralized AI compute model. It will not replace hyperscaler infrastructure for training frontier models or serving millions of concurrent users. But for teams, organizations, and individuals who want to run capable models on hardware they control, it offers something the cloud providers cannot: ownership.

The mesh does not care if you are a Fortune 500 company or a single developer with two laptops. It just needs nodes. And as the catalog grows and the networking matures, the question shifts from “can we afford to run this model?” to “do we have enough machines to pool?”

That is a very different question. And for a lot of teams, it is a much better one to be asking.