A 52 KB WebAssembly engine runs Qwen3 in a browser tab at ~50 tok/s on CPU

kmodi · reddit · 2026-11-28

A developer put an LLM in a browser tab—no server, GPU, or API key, CPU only. Qwen3 (1.7B/0.6B) compiled to a 40 KB WebAssembly engine running at 50 tok/s; the project, LLM.OS, is inspired by llm.asm and unkernel.dev with quantized models from UnslothAI. Three variants are offered (1.7B Q4KM at 1968 MiB that can run Python, 0.6B Q4KM at 382 MiB, 0.6B Q80 at 614 MiB), downloaded once and kept locally. The author warns it will break more often than it works.

Original post →

More from Infra

Infra channel →