What is ChatTorrent?
ChatTorrent is a free AI chatbot that runs on its users' computers. There's no data centre behind it: visitors lend part of their graphics card, and together their browsers run one large AI model that everyone can chat with.
How it works
The AI model ChatTorrent runs, Qwen3.8-27B, is about 27 GB: too big for most single computers. So it's cut into pieces, and every visitor who chooses to contribute downloads one or more of them onto their graphics card.
When you send a message, it passes from browser to browser, each running its own piece of the model, until the last one produces the next word of the reply. That repeats for every word. It's like a torrent, except that instead of sharing pieces of a file, people share the work of running the model.
People come and go all the time, so the mesh rearranges itself as they do: several browsers can hold the same piece, and when one leaves, another carries on. A new browser starts with a small piece and takes on more while it's idle, up to the limit its owner chose.
You can chat without contributing anything. Contributing is what keeps the model running, though, so if your computer has a graphics card to spare, please consider it.
The technology
- WebGPU lets a web page use your graphics card. ChatTorrent's model code is written from scratch for it: no AI libraries, no plugins, nothing to install.
- WebRTC lets browsers talk to each other. It carries the model's working data from one browser to the next, encrypted, through a relay so that nobody learns anyone else's IP address.
- Two small servers help out. One introduces browsers to each other, and the other relays their encrypted traffic. Neither runs the AI or can read your messages.
All of it is open source: the code is on GitHub.
Why it exists
ChatTorrent is an experiment that explores the question: Can large AI models be run by ordinary people, on consumer hardware, freely and privately?
In a world where AI is dominated by large, private, data centers - or really expensive GPUs - ChatTorrent aims to bring control back and make private AI more affordable.
- A more democratic AI. No company gatekeeps AI deciding who can use what and how. The model runs by the people using it, the code is open source, and anybody can host their own private instance.
- A more accessible AI. It's free. There is no account or subscription, and works in any browser. A school, library, friend group or community can pool a few graphics cards together and run their own models.
- Your own everyday hardware, put to use. It takes advantage of all the GPUs that ordinary people (predominantly gamers) already own. It puts those computers to work rather than relying on more data centers.
- Your own data. No accounts and no companies collecting your data so they can sell you more things. In a private mesh, only those you trust could see anything you send - you may prompt in peace.
What to expect
- It's slower than commercial chatbots: a few words a second when the mesh is healthy, and it needs enough people contributing to run at all.
- It isn't private in the global mesh. Your messages are processed in strangers' browsers, so don't send anything sensitive. For more privacy, create a private mesh and share its link only with people you trust. The privacy notice explains exactly who sees what.
- It can be wrong. Like any AI, it makes mistakes. Check anything important.
Yes, as you can probably tell, this project used a lot of help from LLMs. It allowed me to create it - and to be honest, even attempt it - way faster than I otherwise would have been able to. The idea, architecture & design choices were all mine, and AI focussed on implementation and domain specific knowledge.
Thanks for checking out my project :)