A 2013 iPad Air runs a 16B model at 4.5 tokens per second
I'm making LLMs work on small and old devices

A developer pushes large language models onto hardware nobody expects to run them: a 1.9 GB Xiaomi TV box and a jailbroken 2013 iPad Air with 1 GB of RAM. Through custom kernels, 1-bit lookup tables, expert paging from flash, and weight streaming, the TV box hits 7.2 tok/s on an 8B mixture-of-experts model and 5.1 tok/s on a 16B one, while the iPad runs a 1.7B model at 24–26 tok/s. Every claim is measured on the device itself.
Every device around you is more capable than it looks.
- Farmadupe2
For the last five months or so, opus and fable have both been able to do this task as a soneshot prompt. An inference engine is almost pure compute and to a first approximation the only operation your hardware needs to support to do llm inference is multiplication [the rest of an inference engine is "some trig"].
So to get any model working on $OLD_HARDWARE, the hardest part of the task is now sourcing the hardware itself and giving the agent ssh access -- a modern agent will be able to source a compiler, write the implementation, optimize it, test in qemu (or any other simulator) and push it onto the device.
Example prompt: "write an inference engine for qwen3 0.6b in pure assembly that runs on this device. Write a script to attach the weights to the resulting binary. Prefix is supplied as a stream of u32 token IDs on stdin. The engine streams u32 token IDs on stdout."
- mrashad74
Recently I started this open source project at my AI company, where I'm trying to make LLMs working
Now Reached 16B models running on iPad Air 1st gen and xiaomi tv box, both have less than 1GB of usable memory, and reached some decent speeds given the hardware.
I'm open sourcing the effort done, kernels developed and results for everyone to re-produce and push more, also the modified models are on hugging face : https://huggingface.co/hyperionaidev
I want a more challenging device, what do you think?
- nico
This is very cool. Love the trend of optimizing small models
I’ve been working on small local models and it’s amazing how fast the tech has progressed
A year ago, I was creating conversational characters by finetuning a qwen 2.5 0.5b param model, and it worked pretty well. But no reasoning or math capabilities, and still required some decent specs to run; could maybe do well enough in a beefy raspberry pi
But now, I have a locally trained 6.5M param model that does reasoning, solves multi-step math problems, does simple physics problem simulation, tool calling, RAG and conversational chat. Total size about 30MB packaged for ONNX, and runs with <10ms latency in the browser
- yjftsjthsd-h
It's technically sweet regardless, so don't take this as even a little bit of negative pushback, but I am curious what the utility of these small models is? Are they smart enough to be useful on practical tasks? What are people doing with them?
- ahrjay
Ha i had a go of getting an llm running on dreamcast hardware by using another project that lets you boot into windows ce it actually worked! https://x.com/ryanseddon/status/2088151404024344870?a=KduYRc...
- cjdell
I have a few Maxwell and Pascal series cards lying around, anywhere from 2GB to 11GB of VRAM. Have experimented with small/tiny models for agentic stuff with mixed results, however they are getting better at tool calling (before they'd just produce junk output that the harness couldn't parse).
I'm excited to see what we can squeeze out of older hardware, in the same spirit of demoscene or "will it run DOOM?".
Especially timely given current hardware scarcity. Will be watching this space.
- simedw
Thanks for sharing! I'm exploring a similar direction, but optimising for extreme model size. I have gotten an LLM down to 970 KB, with some interesting results compared to GPT-2 (small).
- jedbrooke
in a similar vein, somebody got tinystories LLM running on the nintendo wii, including gpu acceleration [0].