SLM on ESP32-S3: Training a Small Language Model on an $8 Microcontroller 2026

SLM on ESP32-S3: Training a Small Language Model on an $8 Microcontroller 2026

Introduction — Why Run a Language Model on an $8 Microcontroller? The idea of running a language model on a microcontroller that costs less than a cup of coffee sounds improbable, but the ESP32-S3 makes it a reality. With dual-core Xtensa LX7 processors running at up to 240 MHz, 512 KB of internal SRAM, and support for up to 8 MB of external octal SPI PSRAM, this $6–8 chip can execute small language models (SLMs) entirely offline — no cloud, no WiFi dependency, no API keys required. ...

August 6, 2026 · 14 min · baeseokjae