Language models on a chip that fits in your palm.
Who got them there, what grew from it, and what you can make one do.
| jeď, dokud nebudeš 10 cm od překážky (drive until you're 10 cm from a wall) | Franta: *hlidam* VRRRM! STOP! |
| znáš chatgpt? (do you know chatgpt?) | Franta: oni jsou velci. (they are big.) |
| do what i asked you last time again | Franta: I forget everything |
| umyj nádobí (wash the dishes) | a Czech plant: to neumim (I can't) |
A 4-million-parameter model, on a $10 chip, no cloud. You can make one.
ESP32-S3. About $10.
| SRAM | 512 KB | fast, tiny |
| PSRAM | 8 MB | medium |
| flash | 16 MB | huge, slow |
Half a megabyte to think in. Less than one photo of your cat.
slvDev/esp32-ai README · github.com
The chip listens for one word, or spots a person.
It classifies. It does not write. "Hey." "Heard you." End of conversation.
TensorFlow Lite Micro on the ESP32, 2020.
TensorFlow blog, Aug 2020 · blog.tensorflow.org
| 2023 · llama4micro, Cortex-M7 | Karpathy's llama2.c on a microcontroller | |
| 2024 · DaveBben, ESP32-S3 | 260 K parameters | 19 tok/s |
| 2026 · EmbedLlama, STM32H7 | 260 K | 87 tok/s |
| 2026 · slvDev, ESP32-S3 | 28.9 M | 9.88 tok/s |
Mostly bedtime stories, word by word, no cloud. Some of them even make sense.
About thirty such projects by now, nearly all hobbyists.
the projects' GitHub READMEs; re-measurements by jake-g and manjunathshiva · github.com
| flash | a 25 M lookup table, 87 % of the model | ~450 bytes read a token |
| PSRAM | the core that actually multiplies: 556 K | once a token |
| SRAM | activations | many times a token |
Most of the model sleeps in flash. Each word wakes up ~450 bytes of it. (Per-Layer Embeddings, from Gemma 3n.)
Same chip, bonus: 48,311 neurons of a real fruit fly brain, escaping a spider.
slvDev/esp32-ai README and model card · huggingface.co
| SRAM | 3,800 MB/s |
| PSRAM | 89 MB/s |
| flash | 32 MB/s |
The chip thinks fast. Reading is the slow part. Relatable.
Measured on an ESP32-S3: a model is as fast as the memory it has to read.
Oído, arXiv 2610.13447 (preprint); JARACH-209/esp32-30.7M · arxiv.org
Espressif: LLMs "still rely on cloud servers".
Arm: 15 M at 7.5–8 tok/s on its NPU, on an FPGA.
ST, in a preprint by its engineer: to fit its own NPU, a language model had to drop softmax attention.
The hobbyists got there first.
Espressif ESP-Techpedia; Arm Newsroom, Nov 2024; arXiv 2611.28935 (preprint) · newsroom.arm.com
| stories | "Once upon a time, there was a little hanger. The hanger was sad…" | chip |
| stories, 260 K | "He put the bug on the bug and started to bug." | chip |
| chat | "The largest planet is Earth…" | chip |
| a narrow helper | "if the cup reads bitter, coarsen a step." | chip |
| sentence → pin | blink pin 4 every 5 seconds 3 times → blinking 1 pin every 5000ms, 3 times | chip |
| sentence → robot | LEDライトの色を青にして → LED を青にする | chip |
Stories: cute. Chat: confidently wrong. Narrow jobs: actually useful.
JARACH-209, jake-g, ViezeVingertjes, slvDev Barista, esp32-gpio-llm, ayousanz · GitHub and Hugging Face · huggingface.co
| elsewhere | here |
| one command, rule or JSON | a program with loops and if; the chip runs it and checks the picture |
| only the output | the inside: a thermometer sets T, attention on LEDs, a dial into the stream |
| the author's own numbers | a test set someone else wrote, chip = PyTorch, what failed published too |
| a model to download | your own robot, any language, 48 s on Colab |
Not first: sentence → pin (esp32-gpio-llm, llmOS) and sentence → robot action (ayousanz) came earlier. Not the biggest either.

it writes programs, the chip checks them

the room sets its temperature

attention on 64 LEDs

Franta, a car with a dial into its head
A story can't be checked. A program can: the house is drawn, or it isn't.
moudrkat, 2026 · github.com
| 1 · a program | what a tiny model does | one command |
| 2 · temperature | softmax, entropy, a thermometer | one command |
| 3 · attention | one head, in your hand | 3 solder joints |
| 4 · wheels | inputs that are not words | an afternoon |
| 5 · a trick | what training is | 3½ min |
| 6 · your robot | a model in any language | 48 s |
Add your robot to our crew. Ducks welcome. 🦆
moudrkat.github.io/ai-in-your-hand
Start in Colab: free GPU, about five minutes, no board.