A 28.9 million parameter language model is running on an $8 ESP32-S3 microcontroller.
The model operates entirely on the chip, generating text at about 9 tokens per second and displaying it on a small screen. This achievement is possible because most of the model's parameters are stored in flash memory, using Google's Per-Layer Embeddings technique.