Über dieses Video
Native software is becoming obsolete as browsers prove they can handle heavy AI workloads without breaking a sweat. In this video, I test the new Tesseracted Labs engine and Wllama to see if a browser tab can really beat native Llama.cpp performance. Key Takeaways: - Chrome matches native Llama.cpp generation speeds at roughly 71.6 tokens per second. - New engines are shrinking from 10.8mb to a staggering 76kb. - 12 threads proved more efficient than 18 threads on the M3 Max. - Safari remains the laggard, performing at 0.5 the speed of Chrome. - Prompt reading remains the primary bottleneck for browser-based AI.
Native software is dead because your browser just outperformed your desktop applications.
The landscape of local AI changed this week. I built an app called Tab Coder to test a radical new engine that runs entirely in your browser using WebAssembly. The results are frankly absurd.
The 76kb Revolution
A company called Tesseracted Labs recently showcased a Qwen model running on an engine that is only 76kb. For comparison, most modern websites are hundreds of times larger. I decided to put this to the test using Wllama, which is Llama.cpp compiled to WebAssembly.
Chrome vs Native Performance
In my testing on an M3 Max, Chrome actually matched or beat native Llama.cpp. Running a Qwen 3.5 2B model, Chrome hit 71.6 tokens per second, while the native program managed 63.8. Even after retesting to account for heat or order bias, they remained remarkably similar. Whether you use 1 core or 12, the performance gap rarely exceeded 13%.
The Safari Problem
If you are using Safari, you are essentially working at half speed. In my benchmarks, Safari managed 41.8 tokens per second while Chrome was cruising at 83.6. It is clear that WebAssembly optimisation varies wildly between browsers.
The Hidden Bottleneck: Reading Speed
Whilst writing text is incredibly fast, reading the prompt is the weak point for browsers. Chrome reads at about 0.75 the speed of native Llama.cpp, and Safari drops to a dismal 0.33. For apps that send long conversation histories back to the model, this latency adds up quickly.
Fazit
We are entering an era where high performance AI does not require a complex setup or expensive API credits. You just need a browser tab. As these engines move from 10.8mb down to 76kb, the friction for local AI disappears entirely.
Transkript▾
This is a Vibe Co app I built. It is using AI to create the app you are seeing on screen. Now, the surprising thing, the AI that is doing the coding is running entirely in the browser and on the CPU. And here is the weird bit, if that was not already weird enough. Chrome generated text as fast as Llama.cpp did on the same CPU. What is this witchcraft?
The end of November, a company called Tesseracted Labs posted a page on Hacker News: a Qwen model running in a browser tab on an engine that is about 76kb. So, I decided to test it in Chrome, Safari, and Llama.cpp in a Vibeco app I built to test it. It is only 1.3gb, which is then kept in your browser storage. There is a catch, though, and it shows up the moment you actually ask it to change something. So, what the hell is this thing for anyway? Let us find out the tiny engine.
So, check this out. I am on my iPad whilst my laptop over there does some testing. You could probably hear it in the background. Basically, you can download on their website here. You can download the model. So, I am going to download Qwen 3.5 2B. And now, this is running completely inside my browser. It is downloaded that to the browser. And I can say what is web assembly? Hit enter on that. And it is just going to generate. And you can say the prefill was to 16 tokens a second, finished in 1391ms. And then the decoding 512 tokens a second, which is actually pretty good. 29.32 tokens a second on average.
If we go to stats here, you can see that it is 29.2 tokens a second. And they even have a game. And this is going to be played completely by AI that is working out. I am not touching anything here. Working out where the paddle should go. Pretty cool. The model weights download once and then every word is worked out on your CPU by an engine written in Zig and compiled to WebAssembly. WebAssembly is a way of running compiled code inside of a browser. On their M3 Max, they got about 39 tokens a second using 8 of its CPU cores.
Hacker News title said 52kb. The page now says 76kb. Now, I wanted to build something with it and I cannot yet. The source code is not published. The author said on Hacker News that it is coming. So, everything from here runs on a different engine called Wllama: which is Llama.cpp compiled to WebAssembly. It uses the same model files but the engine is 10.8mb on Chrome, not 76kb.
Let us get cracking and build something. This is Tab Coder. I built it for this video. You can pick a model, it downloads once, and then you describe a page and the model writes it. I am using Qwen 3.5 2B quantized to 2 bits from Unsloth and it is 1.28gb. In the time test using 8 of the CPU cores, Chrome did 71.6 tokens a second. Llama.cpp running as a normal program outside of the browser did 63.8. Same model, same prompt, both on CPU.
I ran the test again in the opposite order. Chrome first and then Llama.cpp. That time, it was 66.1 against 64.8. So, I am not going to tell you the browser is faster, they are pretty even. Whether I gave it 1 CPU core or 12, the biggest gap either way was 13%. On a Mac, you would probably normally let it use the GPU. I actually like building stuff using these models rather than just running benchmarks.
In Chrome, the tab keeps up. Threads is how many CPU cores the engine uses. My M3 Max has 18 cores. Of the thread counts I tested, 12 was the fastest at 83.6 tokens a second. On the second run, it was 78.3. Using all 18 was slower at 69.2, so more threads is not always better.
Safari performance: I did 41.8 tokens a second at 12 threads. Chrome did 83.6. So Safari wrote at 0.5 the speed. Wllama documentation says Safari is actually slower. Anyway, the catch: Reading is the one thing Chrome is properly slow at. At 12 threads, Llama.cpp reads 294 tokens a second. Chrome reads 220, which is about 0.75. Safari reads at 74.
Chrome writes text as fast as Llama.cpp, but it is slower at reading the prompt. And an app like this sends long prompts because a change sends the whole conversation back. When I tried it once on the even smaller 0.8b, I asked it to change a button to green and it flat out refused.
Overall, this is pretty cool. When Tesseracted finally publishes their engine, I will put it in the app and run it in the same test. Like, subscribe if you have not already. Till next time, keep on vibing.