A developer who goes by slvDev just got a real language model running entirely on an ESP32-S3 — a microcontroller that costs about $10 (some reports put it closer to $8, depending on the vendor) and is better known for smart plugs and video doorbells than artificial intelligence. No Wi-Fi call, no cloud API, no GPU anywhere near it. The chip generates original short stories at about 9.5 tokens per second, printing them straight to a wired display, and per Tom's Hardware, the model behind it has 28.9 million parameters — roughly 100 times bigger than anything previously demonstrated on a chip this small.
Someone got a working AI language model onto a $10 ESP32 chip. It writes stories
No cloud, no Wi-Fi, no GPU — just a cheap microcontroller quietly telling itself bedtime stories, one token at a time.

The trick: keep the big part of the model somewhere you don't have to load it
A standard transformer keeps one embedding table and folds most of its capacity into dense weight matrices that all have to sit in memory at once, ready to be multiplied against whatever comes through next. That's exactly what a microcontroller with half a megabyte of SRAM can't do. Per-Layer Embeddings, the technique Google built for its Gemma models, splits things differently: a small, dense compute core stays in fast memory, while a much larger embedding table — one that gives every token its own learned vector at every layer — sits in flash storage and gets looked up a few hundred bytes at a time, exactly when it's needed.
A token arrives at the model.
The chip pulls roughly 450 bytes of that token's embedding slice out of the 16MB flash table — not the whole table, just that token's row for that layer.
That slice combines with the tiny ~3.9-million-parameter compute core, which runs 4-bit quantized in the 8MB of PSRAM.
The next token prints to the screen, and the chip repeats the lookup — about 9.5 times a second.
~$8–10
Chip cost
512 KB
SRAM
8 MB
PSRAM
16 MB
Flash storage
28.9 million
Total parameters
9.5 tok/sec
Speed
It doesn't know anything, can't answer a question, and can't hold a conversation. It just writes toddler-length stories, forever, on a chip built for doorbells — and that's exactly the point.
Why this matters beyond doorbells
My honest take: this won't replace anything you're running through Ollama on a real GPU, and it isn't trying to. It can't. What it demonstrates is that the industry's obsession with bigger GPUs and more VRAM is only half the story — the other half is architecture, and a hobbyist with a cheap microcontroller just made that case more convincingly than most research papers do.

What it can't do — and what to actually watch next
Be clear about the limits: this model can't answer a question, follow an instruction, or recall a fact outside its training stories. It's a proof of concept for an architecture idea, not a product. But proof-of-concept is exactly how most of the local-AI trends this site covers started — running DeepSeek on a consumer GPU looked like a stunt not long before it became routine. The thing worth watching isn't whether your smart speaker gets a chatbot. It's whether a chip vendor takes this same trick one size class up — a wearable or a basic smart-home hub running a genuinely useful few-hundred-million-parameter model, not just short stories.
Want something you can actually chat with? Running a local AI on a Raspberry Pi is the practical next step up.
This guide is part of our how to run a local AI model on your own PC in 2026 — a genuinely simple beginner's guide guide. Related guides: Best local coding model for OpenCode (2026): which ones call tools, how to run an AI that can see — local vision models for image analysis and OCR, Run OpenClaw or Hermes on a local model: which fits your GPU.
Quick answers
What is Per-Layer Embeddings?
Can I run a real chatbot on an ESP32?
Is the code available?
Does this matter if I never touch a microcontroller?
Nobody's shipping a doorbell with opinions any time soon. But the direction here is worth sitting with: for years, running a bigger model meant buying a bigger GPU. This is a small, very specific counter-example — proof that with the right split between what has to be fast and what can afford to be slow, the floor for 'a language model can run here' keeps dropping. The full project is open source on GitHub if you want to try it yourself.
Found this useful? Share it
Sources
What this guide was researched from. How we check facts and compute numbers: methodology.
Founder & chief editor
Ari Vale
Founder and chief editor of Aliteq (a PC hardware shop from 2019, now a US-based publication). Ari Vale is my pen name: I stay anonymous, the work doesn't. I research the questions people actually ask, check every price and limit against the vendor's own pages, and write down what I'd choose and why. I use the cloud-GPU and AI-video services I write about.
Work out the hardware
Email list
The Aliteq brief
The few things in AI tools, GPUs and gaming hardware worth your inbox. Rare, short, and only when it matters.
Written and sent by hand. One-click unsubscribe in every email. Emails may contain referral links.
Keep reading

Which Gemma, Llama, Mistral or gpt-oss model can you run on an 8 to 24GB GPU?
Google, Meta, Mistral and OpenAI all ship open models that fit a gaming card, if you pick the right size and know each family's trap. Which one fits 8, 12, 16 and 24GB, the quant to use, the Ollama tag to type, and what changes on a Mac, from our VRAM engine and the model cards.
Ari Vale · · 8 min

Is a used GPU, a Mac or a rented GPU the cheapest way to run a 70B model?
Renting a 48GB card costs $0 upfront and $0.33 to $0.59 an hour. Two used RTX 3090s cost about $2,000 for the cards. A 64GB Mac Studio starts at $3,499. Which one is cheapest depends on your hours, so here's the math with prices read Nov 3, 2026.
Ari Vale · · 8 min

Which Gemma 4 size fits your GPU? Match E4B up to 31B to your VRAM
8GB gets E4B, 12GB gets 12B, 16GB gets 12B at Q8 (or 26B-A4B with Google's own 4-bit file), and 24GB gets 26B-A4B or 31B. The VRAM for each size and quant, the exact Ollama tag (the bare one pulls a small model), the 4K-context default that catches Ollama users on cards under 24GB, and when Qwen3.8 27B is the better pick.
Ari Vale · · 13 min

What's the best local LLM for your VRAM? One pick each for 8GB to 32GB cards
Your VRAM picks the model before you do. One clear pick for 8, 12, 16, 24 and 32GB cards, worked out on our VRAM engine and re-checked against each model card and Ollama's download sizes on Dec 1, 2026, plus what to do when the model is bigger than your card and where Intel Arc cards land.
Ari Vale · · 11 min