What changed
An intrepid developer has deleted their Linux OS and coded a tiny assembly language bare-metal bootable alternative to run LLMs. The result is a super-fast standalone system that starts in milliseconds and runs LLMs up to 54% faster. Alexey Fateev, AKA alesha-pro on GitHub, has shared his Bare-Metal Bootable Qwen3-0.6B OS in 24 KB of Pure Assembly for other enthusiasts to code-tweak and test.
What this means in practice
The compact size of this Multiboot OS binary (asm-llm-os.elf) is remarkable. Weighing in at just 24KB (24,252 bytes), it makes modern operating systems seem gargantuan. However, one must remember that the legendary Commodore 64 worked off a smaller 20KB ROM, which included not only the kernel but also a BASIC interpreter and a character generator.
Users interact with the new OS via its support for 80x25 character color VGA displays, PS/2 keyboards, and serial communications. The hand-written NASM assembly language project can boot in 74-93 milliseconds directly to its multi-turn chat interface.
The OS loads Qwen3-0.6B Q8_0, which weighs in at 649MB. That's something of a lightweight LLM, but it is roughly 28,000 times bigger than the OS that references it.
Limitations and availability
While the OS and its carefully honed UI use only a tiny portion of the computer's resources, the OS loads Qwen3-0.6B Q8_0, which weighs in at 649MB. That's something of a lightweight LLM, but it is roughly 28,000 times bigger than the OS that references it. That's good, as you bought your computer to run applications and games – not for running an OS – didn't you?
Turning to performance, this is another area where Fateev's standalone asm-llm-os.elf excels. In some head-to-head benchmarks of the compact new OS vs. the previous Linux install running the same LLM via llama.cpp, the pure assembly-coded OS was up to 54% faster. On the dev's AMD EPYC 7642 system, "4 threads hit 78.89 tok/s vs 51.08 (+54%).
If you are interested in testing this project, Fateev has shared the full MIT source, ISO builder, and a setup guide at github.com/alesha-pro/llm.asm. Also, if bare-metal operation isn't required, you can test out the Linux-hosted version, which delivers the same basic asm-llm inference binary in just 14KB.
