smolmaxxing: 16B models on a 1 GB TV box and a 2013 iPad Air, and a 35B on a phone, with patched llama.cpp
- Hardware
- Xiaomi TV Box S (3rd Gen): Amlogic S7D, 4x Cortex-A55, 1.9 GB RAM (about 1 GB usable), Android 14, no root
iPad Air (2013): Apple A7, 1 GB RAM (about 700 MB usable), iOS 12.5.7, jailbroken
OnePlus Nord CE 2: Dimensity 900, 7.4 GB RAM (about 3 GB free), Android 13, no root - Models & engines
- Patched llama.cpp, plus models such as Qwen3.5-2B, Bonsai-1.7B (1-bit), Ling-mini-2.0 16B and Qwen3.6-35B-A3B
- Key gotcha
- The model files need the patched llama.cpp; stock llama.cpp can't load them.
What they built
smolmaxxing is an open-source project that tries to run the biggest language model each small device can really handle: a Xiaomi TV Box S (3rd Gen), a 2013 iPad Air and a OnePlus Nord CE 2 phone so far. The README says every number in the repo was measured on the device itself.
On the TV box and the iPad, each with about 1 GB of usable RAM, it runs 8B and 16B mixture-of-experts models. On the phone, with about 3 GB free, it runs a 35B one.
Everything is a patch on llama.cpp, with a lab notebook of 160 experiments, failures included. The author shared it on Hacker News on Nov 12.
Setup
- Xiaomi TV Box S (3rd Gen): Amlogic S7D, 4x Cortex-A55, 1.9 GB RAM (about 1 GB usable), Android 14, no root
- iPad Air (2013): Apple A7, 1 GB RAM (about 700 MB usable), iOS 12.5.7, jailbroken
- OnePlus Nord CE 2: Dimensity 900, 7.4 GB RAM (about 3 GB free), Android 13, no root
- Patched llama.cpp, plus models such as Qwen3.5-2B, Bonsai-1.7B (1-bit), Ling-mini-2.0 16B and Qwen3.6-35B-A3B
How it works
- Kernels built for each chip: a 1-bit lookup-table kernel, repacked 2-bit and ternary formats for the Cortex-A55, and versions for the A7, which has no dot-product instructions.
- Less RAM per model: rarely used vocabulary rows are dropped, and on the TV a headless mode stops the launcher and Google services while a model runs.
- Experts paged from flash: the popular experts of a mixture-of-experts model stay in RAM, the rest are read from flash on demand, and the next layer's are prefetched.
- Dense models bigger than RAM are streamed from flash at the flash's full speed.
Results & numbers
- TV box: Qwen3.5-2B at 7.7 tok/s for everyday use, and Ling-mini-2.0 16B at 5.1 tok/s.
- iPad Air: Bonsai-1.7B (1-bit) at 24-26 tok/s, and Ling-mini-2.0 16B at 2.6-4.5 tok/s.
- OnePlus phone: Ling-mini-2.0 16B at 11-15 tok/s, and Qwen3.6-35B-A3B at 4.9-5.7 tok/s.
- A dense 8B model crawls on the iPad at 0.08 tok/s, while an 8B mixture-of-experts model does 3.5 there.
Gotchas
- The model files need the patched llama.cpp; stock llama.cpp can't load them.
- The iPad route needs a jailbroken iPad on iOS 12.
- Mixture-of-experts models are what make the big sizes work on 1 GB; dense models bigger than RAM are far slower.
“Every number in this repo was measured on the device itself.”— smolmaxxing README
Do it yourself
- Pick a device: a TV box or another ARMv8.2 Android device, or a jailbroken iPad on iOS 12.
- Follow the repo's setup guide for that device (docs/tv-box-setup.md or ipad-air/README.md) to get the patched llama.cpp onto it.
- Download a ready-made model file from their Hugging Face page (docs/models.md lists them with checksums).
- Start with a small everyday model, then try a mixture-of-experts model that streams experts from flash.
- If it runs on a new device, the project asks you to submit your numbers.
Similar setups
Bringing up vLLM and llama.cpp on a DGX Spark with the network fully blocked
Ashwin J.B. spent about a week getting vLLM, llama.cpp and a native backend to serve on an arm64 DGX Spark (GB10) with all outbound traffic blocked, and wrote down every error, its fix and the speeds he measured.
Running NVIDIA's looped Dory 4B on a CPU homelab with llama.cpp and an Ollama wrapper
Big Iron built NVIDIA's llama.cpp fork on a no-GPU Debian VM, measured Dory 1.0 4B at each loop count against Qwen3.5-4B, and got it running inside Ollama 0.40 through a wrapper around Ollama's internal llama-server.
Booting a local Qwen3.6 35B chat server straight from UEFI on an RTX 3090
Alexey Fateev wrote a 528 KB pure-assembly UEFI file that boots an RTX 3090 with no operating system, loads a 20.5 GB GGUF model and serves an OpenAI-style API and web chat on his LAN.
Running Inkling 2 Mini on a 12 GB AMD card for a Twitch AI moderator
An applied AI engineer tuned llama.cpp to run Inkling 2 Mini on an RX 6750 XT for his home Twitch moderator project, and found that a shared-KV loop setting was quietly hurting the model's quality.