TECHNOLOGY

SwarmLLM: a language model split across a laptop and phone

In this article
THE QUICK TAKE

The developer demonstration establishes a particular browser-layer split; aggregate capacity and speculative decode speed do not guarantee faster or private multi-device inference.

Splitting a large language model across several devices offers one way to try running it in browsers. SwarmLLM demonstrates this arrangement: a developer-captioned recording from September 7, 2026 shows browser tabs on a MacBook and iPhone jointly generating a response from Qwen 3.8 27B. The author specifies the same Wi-Fi network, 400 tokens and 10.7 tokens per second. This is a developer demonstration, without an independent test or named laptop/phone models and memory capacities. See the repository and demonstration.

The practical idea is to pool device memory for a model that is difficult to place entirely on one participant. The demonstration does not establish that any laptop/phone pair can run it or preserve that speed on another network. Available materials did not establish independent reproduction.

This history has a version boundary: the original project was subsequently renamed Pooled. Its official releases confirm the September demonstration, while the retained Pendia repository reflects early SwarmLLM. The following figures and limits describe that state and cannot automatically be assigned to later Pooled versions.

How devices divide the work

A language model stores numerical parameters called weights. SwarmLLM uses GGUF with four-bit Q4_0 quantization; its documentation describes approximately 15 GB of weights for Qwen 3.8 27B. Quantization reduces storage through lower-precision representation. This is not complete memory consumption, because computation also needs working buffers. The project model catalog gives an approximate 16.5 GB budget for the configuration, without establishing a universal requirement for every device.

The host tab tokenizes text and performs initial processing. Devices then execute assigned layer groups in sequence, passing intermediate state to the next participant. After the last layer, the host samples the next token and repeats. The architecture describes one state as 5120 values, approximately 10 KB when transmitted as f16. WebRTC carries the state, while WebGPU executes GPU computation.

Each browser downloads its assigned weight ranges from a public repository and caches them for reuse. The model catalog identifies the Unsloth Qwen3.8-27B-GGUF artifact. This distributes sequential stages of one computation, so participants wait on one another and exchange intermediate results. Extra devices expand aggregate memory, but network hops and a slow participant can reduce generation speed.

The project also uses speculative decoding: draft computation proposes several next tokens and the main pass verifies them. Accepted proposals advance generation; incorrect ones are discarded. The project claims agreement with ordinary generation under its implementation’s checks. Both agreement and speed need to remain attached to that implementation and its tests, without being generalized to every engine. See SwarmLLM’s architecture.

What its measurements show

A more detailed benchmark log records a September 4 run with 62 layers on a MacBook and two on an iPhone. After code changes, the authors obtained 7.7 tokens per second and 8.5 seconds to process an approximately 169-token prompt. This is a separate experiment from the 10.7-token demonstration. Both compared runs overflowed the then-current 512-token context after approximately 300 generated tokens; the authors say this did not affect prompt timing.

A different experiment used NVIDIA GB10, the DGX Spark system, through Deno and Vulkan, without the browser pair. Its author reports approximately 9.0 tokens per second for ordinary generation and 16.1 with speculation. On the same machine and GGUF, the author’s llama.cpp measurement gave approximately 8.0 tokens per second for generation, but approximately 377 for prompt processing versus SwarmLLM’s 44. These characterize particular builds and conditions, rather than proving a general browser advantage over native software. Independent replication was not established. See the performance table and log.

Prompt processing prepares model state from input; decoding then emits the answer token by token. Fast generation does not necessarily mean a short wait for the first token. The log also describes artificial-delay loopback and multiple tabs on one machine. Those tests investigate overhead without substituting for physical-device experiments over the internet.

Potential users and boundaries

Browser-inference researchers, developers and small groups can investigate pooled local compute without installing a separate application on every node. A tab simplifies trying the design, while browser and GPU support still matter. Developers identify Chrome on macOS as their tested host. iPhone Safari can contribute a small layer slice, while Mac Safari reportedly reloads under memory pressure when holding most of the model. Other configurations need evaluation. See the project documentation.

A room is a shared conversation: participants see its questions and answers. The project threat model also says intermediate activations should not be treated as reliable concealment from peers, and the early system does not verify remote computation. Room membership consequently matters alongside the absence of a central inference server.

SwarmLLM demonstrates a concrete browser-distributed model and provides code for investigation. Suitability on particular devices still requires measurements of memory, loading time, generation and connection stability using actual requests.

Use the multi-GPU explanation to assess distribution. Keep speculative speed distinct from draft/target verification in the selected engine.

Sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles