A 29M-parameter LLM runs on an ESP32-S3 at 9.88 tok/s with no server.
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.
Why it matters
Demonstrates that per-layer embeddings can keep a 29M-parameter LLM almost entirely in flash on a $5 microcontroller, widening what embedded devs can run locally.
A hobbyist project called esp32-ai runs a very small AI language model, one trained to write simple children's stories, on a tiny computer chip called an ESP32-S3, the kind used in gadgets, not laptops. The chip has far less memory than a phone, so the trick is keeping most of the model stored in slow flash memory and reading only tiny pieces as needed. It writes stories at about 10 words' worth of output per second, entirely offline. The project is a proof of concept for enthusiasts, not a useful assistant, it can't answer questions or follow instructions.
This is a weekend open-source project, not a product, and it changes nothing for businesses today. Its significance is architectural: Google's per-layer embeddings idea from Gemma 3n lets a 28.9M-parameter model run on hardware with 512KB of SRAM, suggesting edge-AI deployments could eventually skip servers entirely. Companies building on-device AI features should watch this technique, but no cost, competitive or timing decision follows from this release.
esp32-ai runs a 28.9M-parameter TinyStories model (plus a 'Barista' espresso-QA model) at 9.88 tok/s on an ESP32-S3 with 512KB SRAM, 8MB PSRAM and 16MB flash, at 4-bit quantization (14.9MB). Borrowing Gemma 3n's per-layer embeddings, the 25M-parameter embedding table stays resident in flash and is sampled lazily (~450 bytes/token); activations live in SRAM, dense weights in PSRAM. Limitations: no instruction-following, one model on-device at a time, no benchmark beyond tokens/second.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Frame generation on NVIDIA cards: DLSS on RTX 40/50, FSR 3 elsewhere
Enabling frame generation on non-RTX 40/50 GPUs lets gamers run console-build games at higher frame rates without buying new hardware.
Self-hosted YouTube client that falls back to SABR when side doors close
A self-hosted YouTube client lets users watch videos without Google accounts, ads, or tracking, keeping data local and enabling shared libraries across devices.
datasette-charts 0.4a0
Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.