The 180M-Parameter LLM on a 10-Dollar Chip
A new project called p-for-llm is doing something impressive. It runs a 180.9 million parameter model on an ESP32-P4 microcontroller. This chip costs between six and ten dollars.
Most viral AI projects on small chips focus on simple tasks. They show off a model that writes short stories. Those models often have very few parameters and no real utility.
p-for-llm is different. It aims for usefulness.
Here is how it works:
- It uses a Mixture-of-Experts (MoE) architecture.
- For every token, the router picks one expert out of 29.
- The other 28 experts stay dark.
- This saves compute power while keeping high knowledge.
- It uses ternary weights to fit the model into small memory.
- The model generates about 9 tokens per second.
The training process is also notable. The developer used a single RTX 5060 Ti consumer graphics card. There is no massive lab or huge budget here. Just one person with a mid-range GPU and patience.
There is one catch you should know. The model is not fully autonomous yet. You must push the weights to the board via USB at startup. It is not yet a standalone device that loads from an SD card.
It is still not a cloud demo. The math happens locally on the chip. This is a massive step above projects that just stream data to a server.
Why does this matter?
Small models usually hit a wall. They can be charming but they cannot follow instructions. p-for-llm attempts to cross that cliff. It supports ChatML prompts and shows early signs of tool calling.
This project shows that real progress often happens quietly. While viral projects chase headlines, serious builders publish their limits and their footnotes.
I will be testing this hardware personally to verify these numbers.
Optional learning community: https://t.me/GyaanSetuAi
