How Virenis runs one model across many computers
Virenis splits a large AI model into consecutive parts and gives each computer in a room the part its graphics card can hold. A question passes through every part in turn, and the part that reads and writes words, the head, can stay on the computer of the person asking. It all runs in a browser tab.
The model, in parts
A language model is a stack of layers with a head at either end of the trip. DiffusionGemma 26B, the model Virenis runs, has 30 layers and a head.
The head turns your words into the model's numbers on the way in, and on the way out reads the last layer's numbers against a vocabulary of 262,144 pieces of words to write the answer. The layers in between do the thinking: each takes the working state of the passage (its "hidden states") and hands a refined one to the next. DiffusionGemma 26B is an open mixture-of-experts model; Virenis runs it in NVIDIA's NVFP4 format, about 17.7 GB of weights, and about 18.5 GB of graphics memory with one conversation of 8K tokens.
That is more than any common graphics card holds alone, which is why the layers are shared out.
Who holds what
Every graphics card in a room is measured, and the layers are shared out by memory, so each card holds the part it can and together they hold all of it.
A card's memory is looked up from its model and confirmed by measuring it in the browser. By default each part is sized to its card's memory, which holds more of the model than equal parts; a room's owner can also share the layers equally, by memory or by speed. When a room lacks memory, the app shows whose computer would complete it, before anything downloads.
A laptop that holds part of the model keeps room beside it for its own head, so the person on it can chat privately. An RTX 4070, for instance, lends 8.5 GB beside its own head, and a MacBook Air M1 with 16 GB about 9 GB.
A passage at a time
DiffusionGemma writes a whole passage of 256 tokens at once and sharpens it over a few steps, so a model split across computers crosses the network once a step instead of once a word.
Most language models write one token after another; split across computers, every token makes a trip through all of them, and each trip waits on the network. A diffusion model starts from a rough draft of the whole passage and, step by step, keeps the words it is surest of and guesses the rest again. On 40 everyday questions it wrote 16.1 tokens a step, and 23.5 on code and maths: about 6 trips for 100 tokens, instead of 100.
Smaller trips
Each trip carries the working state of the passage from one computer to the next, compressed before it goes: about 445 KB instead of 1,442 KB, and 266 KB where the link is slowest.
- Faster. Over an 8 Mbit/s upload, a step went from 5.1 seconds to 1.5.
- Faithful. Over a 20 Mbit/s upload it changes 25% fewer of the model's decisions than keeping the model's own cache in 8 bits (FP8) does.
In a browser tab
Everything runs in the browser: the model's layers on the graphics card through WebGPU, and the room's host and its links in the page itself.
Opening Virenis is opening a web page: pick a name and a colour, and one switch lends the computer's graphics card to a room. Each computer downloads its part of the model once and keeps it in the browser.
The room itself is hosted by a tab too. If the computer hosting it goes, another of the owner's computers takes over, and a recovery code brings the whole room back on any computer.
Rooms and the links between them
A room is the group of computers that run one model together. It lets in only the people and machines you choose, and every link between them is encrypted end to end.
- Who comes in. A room opens by invitation, to people you have added, or to the computers on your own network; computers on one network find their room by themselves.
- How they talk. Computers link directly when they can, or through a relay that passes encrypted bytes it cannot read.
- Who is who. On every link, the room's host proves itself with the room's own key before a word is said, so nothing in between can pose as it.
What each machine sees, and what is kept where.
Checking the work
The engine's results are checked against a reference computed in 64-bit arithmetic, and its answers against questions with known answers.
- Every one of the model's 30 layers on a graphics card is within 3.7 × 10⁻⁶ of a reference computed in 64-bit arithmetic.
- With its trips compressed, the model answered 13 of 13 quality questions correctly.
- The scheduler that shares work between computers passed 7 million randomised runs without a failure.
What a computer needs
A browser with WebGPU (Chrome, Edge or Safari) and a graphics card; a room as a whole needs about 18.5 GB of graphics memory for DiffusionGemma 26B.
One graphics card with 24 GB, such as an RTX 4090, or a Mac with 32 GB or more, holds the whole model alone. Otherwise two or three ordinary computers hold it together: an RTX 4070 and an RTX 3060 with 12 GB, say, or a gaming PC, a laptop and a MacBook Air on one home network. A Mac's graphics processor shares the machine's memory: macOS lets it keep two thirds of it up to 32 GB and three quarters above, and a room asks for 60% of that unless its owner gives more. How fast each setup is.
Sources
- Virenis, How fast is Distributed AI?: what was measured, and how the rest is worked out (October 2026).
- W3C, WebGPU: the web standard that lets a page use the graphics card.
- S. Nie et al., Large Language Diffusion Models (2025): writing by sharpening a whole passage.
- E. Rescorla, WebRTC Security Architecture, RFC 8827 (2021): how browser-to-browser links are encrypted.