Monday, Nov 30, 2026
1 Alexey Fateev Builds 113 KB Pure Assembly OS That Runs 2.5B LLM on Bare Metal
🤖 AI Nov 30, 3:43 AM EST 14/10
Alexey Fateev Builds 113 KB Pure Assembly OS That Runs 2.5B LLM on Bare Metal
Alexey Fateev has released a 113 KB operating system written entirely in x86-64 assembly that runs a 2.5B parameter MiniCPM5-2B large language model on a bare-metal CPU. The system boots without a disk and uses the model to write, assemble, and execute applications—such as a version of Flappy Bird—directly from user prompts without using a traditional OS, C, Rust, or the GCC compiler.
The pure NASM kernel, which is roughly 37.6% smaller than a comparable C and assembly build, includes a Ring-0 micro-assembler and a hardware-isolated sandbox. Fateev reported that using a bare-metal Prefix KV-Cache reduced 2,354-token prefill times from 13.3s to 93 ms. This project follows Fateev's earlier release of a 74 KB hypervisor designed to intercept and repair fatal Linux kernel crashes in real time. Source code and model weights are available on Hugging Face.