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 57.3ms across 5,917 title embeddings via pgvector HNSW
- Show HN: A tiny LLM running at 21,000 tok/s on a $250 FPGA (Live Demo) mikeayles · 12 pts · August 10, 2026 · 57% similar
- The smallest edge AI device for local LLMs alex-moon · 21 pts · September 07, 2026 · 54% similar
- Show HN: I replaced a $120k bowling center system with $1,600 in ESP32s section33 · 1963 pts · July 19, 2026 · 50% similar
- Clever hacker fits 537,000 domains in a $5 ESP32 ad-blocking dongle sbulaev · 82 pts · July 19, 2026 · 47% similar
- I accidentally turned LLM memory into program analysis matt_d · 89 pts · August 28, 2026 · 47% 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