Running a 28.9M parameter LLM on an $8 microcontroller
boveyking
131 points
28 comments
July 25, 2026
Related Discussions
Found 5 related stories in 405.3ms across 14,850 title embeddings via pgvector HNSW
- Hosting a website on an 8-bit microcontroller zdw · 84 pts · May 17, 2026 · 54% similar
- Flash-MoE: Running a 397B Parameter Model on a Laptop mft_ · 332 pts · March 22, 2026 · 51% similar
- A complete Llama2 inference engine that fits in 1356 bytes of x86 assembly monax · 26 pts · May 05, 2026 · 51% similar
- ESP32-S31 volemo · 275 pts · June 03, 2026 · 50% similar
- Show HN: I replaced a $120k bowling center system with $1,600 in ESP32s section33 · 1963 pts · July 19, 2026 · 50% similar
Discussion Highlights (9 comments)
cr125rider
9.7 tokens/sec actually seems like a lot! That’s fun!
althea_tx
This is a really cool project. Thanks for sharing!
rao-v
This is a really neat use of the per-layer embedding trick. It's also worth noting that there viable TTS models that are ~20-30M param, so it might mean you can have a ESP32 with no network access read stuff out to you in near real time!
chrishynes
Why can't this scale to run much larger models on CPU backed by flash with good access patterns?
smy20011
Super cool, thank you for sharing!
spacedoutman
>esp32-s3 This microcontroller is a beast, currently using it to do dev work on a pi4. Having two usb ports with one otg lets you do some neat things that would cost $100+ otherwise
titzer
It's crazy what $5 can buy you in a microcontroller these days. Have a look at these Milk-V boards: https://milkv.io The duo has up to 256MB of memory, and a 1TOPS@INT8 TPU. They run Linux and are $5. I bought 5!
ReactiveJelly
Finally, an LLM that can run on my i5
NooneAtAll3
While running LLM on tiny device is awesome, I'm more impressed by whatever training has produced the weights