The Tech Stack Behind LLM Hub: 15+ AI Models in One App
LLM Hub runs 15+ AI models entirely on the phone — chat, images, music, code, translation and transcription. Here is the tech stack that makes it work.

Most AI apps are a thin client wrapped around somebody else's server. You type a prompt, it travels to a data centre, a model runs there, and the answer comes back. LLM Hub works the other way around. The app ships 15+ AI models that run entirely on the phone: chat, image generation, music, code, translation and transcription, all with no signal, no accounts and no tracking.
That sounds simple when you say it in one sentence. It is not simple to build. Fitting that many models into one app, on hardware that also has to be a phone, is a stack of deliberate trade-offs. This is what the stack looks like, and why each piece is there.
The core idea: the model runs where the data is
Every design decision in LLM Hub follows from one rule: prompts, images and outputs never leave the device. That is not a privacy policy bolted on after the fact; it is the architecture. There is no API key to manage, no per-token bill, no server that can go down and take your features with it, and no account that ties your usage to an identity.
The cost of that rule is that the phone has to do all the work. A data centre can throw racks of GPUs at a model. A phone has a battery, a thermal limit and a user who expects the rest of their apps to keep working. So the stack is built around making models small enough, fast enough and efficient enough to run on a device that fits in a pocket.
Quantized language models on CPU, GPU and NPU
The heart of the app is a set of quantized large language models. Quantization is the technique that makes the whole thing possible: a model's weights are stored at lower precision, which makes the model several times smaller and several times faster to run. A model that would be far too large to ship at full precision becomes something a phone can hold in memory and run without melting.
LLM Hub runs those models on whichever compute the phone offers — CPU, GPU or NPU. That matters more than it sounds. Phones are not uniform: one device has a strong neural engine, another leans on its GPU, and a budget handset may only have the CPU to work with. A stack that can dispatch the same quantized model to the best available hardware is what lets one app work across the Android and iOS devices people actually own, instead of only on the newest flagship.
The payoff is visible in what the phone can actually do. The RunAnywhere case study on LLM Hub — "LLM Hub: Android to iOS in six weeks" — documents models up to 31B parameters running on iPhone. That port took 6.5 weeks from first commit to the App Store, was built solo as a first Swift project, and upstreamed 16+ SDK builds along the way. It is a useful reality check on the "phones can't run real models" claim: they can, when the model is quantized and the runtime knows how to use the hardware.
One app, many models — because one model cannot do everything
A single general-purpose model is a poor fit for an app that does many things. LLM Hub's 15+ models exist because each job gets a model built for it:
- Chat runs on a quantized language model on the device. Your conversation stays on the phone, and it works on a plane.
- Image generation uses Stable Diffusion, running locally. Generating an image on-device means the prompt and the result never touch a server.
- Music generation is a dedicated on-device music model, not a language model asked to improvise audio.
- Code runs through Vibe Coder and its coding agent — an on-device coding sandbox where the model can help write and work with code without your project leaving the phone.
- Translation and transcription are separate on-device models, each tuned for its own task. A transcriber that turns speech into text locally is a different engineering problem from a chat model, and it deserves its own model.
This is the opposite of the "one giant model does everything" approach that cloud AI has trained people to expect. On a phone, specialization wins: a smaller model that does one job well beats a larger model that does everything badly, and it beats it on speed, battery and memory too.
The supporting work: getting models onto the phone
A chat model on its own is only part of an AI app. Each of those 15+ models has to be downloaded to the device, stored, loaded when needed and updated when a better version ships — all without a server doing the heavy lifting. That supporting work is a large part of the stack: model management, on-device storage, and loading models on demand so the app stays responsive instead of trying to hold everything in memory at once.
The pattern to notice is that none of these capabilities needs a server to function once the model is on the device. That is what makes the app genuinely offline-first rather than "offline until you want the good features". The features are the models, and the models are on the phone.
Why no server changes the economics
Cloud AI apps pay every time a user asks a question: compute, bandwidth, and the infrastructure to keep it all running. Those costs scale with usage, which is why so many AI apps are subscriptions with usage caps, or free tiers that quietly throttle you.
An on-device stack flips that around. The expensive part is shipping the model to the device once. After that, running it costs the user some battery and costs the developer nothing per query. There is no API bill, no per-token meter running in the background, and no reason to cap how much someone uses the app they already installed. That is a large part of why an offline-first app can be sold as a straightforward product instead of a metered service.
It also changes reliability. A cloud feature fails when the network fails, when the provider has an outage, or when the provider changes its pricing or shuts down an endpoint. An on-device feature fails only when the phone itself fails. For users in places with patchy coverage — on a plane, in the field, on a rural road — that is the difference between an app that works and an app that shows a spinner.
The hard parts nobody sees
Shipping 15+ models in one app creates problems that a single-model app never faces:
Storage. Models take space, even quantized. The app has to manage which models live on the device, download them sensibly, and let users control what they keep. A user who only wants chat should not be forced to carry the image model too.
Updates. Models improve, and the app has to ship updates without breaking what users already have — without re-downloading everything, and without changing behaviour users rely on. That is a real maintenance burden, and it is one of the reasons on-device apps need a different release discipline from cloud apps, where the model can be swapped server-side without the user ever knowing.
Thermals and battery. Running a model hard will heat a phone and drain its battery. The stack has to be honest about that: pick model sizes the hardware can sustain, throttle gracefully, and let the NPU do the heavy lifting where it exists. A demo that runs beautifully for thirty seconds and then throttles is not a shipped feature.
Fragmentation. Android alone spans an enormous range of hardware, from devices with dedicated neural engines to handsets where the CPU does everything. Testing on real devices — watching thermals, battery drain and memory pressure — is not optional. It is where the stack either works or falls apart.
The model choices are part of the product
One decision in LLM Hub's stack deserves to be stated plainly, because it shapes which models are in the app at all: LLM Hub bans Chinese models. That is the studio's stated policy, and it is enforced in the code — the llama.cpp-cleaned fork the studio published strips out support for models and hardware from vendors based in the PRC, so a removed model's files simply fail to load. The reason, in Timmy's own words, is that he built LLM Hub to be a local AI app without Chinese models, because he was sick of other local AI apps promoting them.
For users, the practical effect is a model list they can inspect: every model in the app is one the studio chose deliberately, and the list of what is excluded is public. For the studio, it means the stack is curated rather than assembled from whatever is popular. That curation is part of the product — the models you get are the models the studio is willing to stand behind.
What this means if you are building one
If you are scoping an on-device AI app of your own, LLM Hub's stack is a useful template — and a useful warning. The template: quantize aggressively, dispatch to CPU, GPU or NPU, give each capability its own model, and design for no server from day one. The warning: the work is not in the demo. It is in model management, updates, thermals, battery and testing across real devices. The demo takes a weekend. The stack takes a product team that is willing to keep shipping it.
That is also why the studio behind LLM Hub does this work for other companies. LLM Hub Studio is an Australian software studio specialized in on-device AI app development — private, offline-first AI that runs on phones, laptops, browsers and edge hardware. The same stack thinking that put 15+ models on a phone is what the studio brings to client apps, including OpenSleep, the studio's phone-only sleep tracker with a Gemma-powered on-device AI sleep coach that needs no wearable and no servers.
The takeaway
LLM Hub's tech stack is not one clever trick. It is a set of ordinary engineering decisions, applied consistently: quantized models, hardware-aware runtimes, one model per job, and no server in the loop. The result is an app that works on a plane, costs nothing per query to run, and keeps everything you type, record or generate on the device you typed it on.
That is the bet behind on-device AI. The cloud will always have the biggest models. But the phone in your pocket is getting better every year, the models that run on it are getting smaller and smarter, and for a growing list of jobs — chat, images, music, code, translation, transcription — the phone is now enough. LLM Hub is built on that bet, 15+ models at a time.
LLM Hub Studio builds private, offline-first AI apps that run entirely on-device. If you are planning an AI app and want to talk about what on-device can do for it, reach out at timmy@llmhub.com.au.
Questions
How can one app run 15+ AI models on a phone?
By shipping quantized models and running them on the phone's own hardware. LLM Hub uses quantized large language models that run on the phone's CPU, GPU or NPU, plus dedicated on-device models for image generation, transcription and translation. Each capability is a separate model chosen for the job, downloaded to the device and run locally — nothing is streamed to a server at inference time.
Do LLM Hub's models need an internet connection?
No. Once a model is on the device, LLM Hub works with no signal at all. Prompts, images and outputs never leave the phone, and the app needs no account. An internet connection is only needed to download a model in the first place and to install the app from the App Store or Google Play.
What AI features does LLM Hub include?
Chat with a local language model, image generation with Stable Diffusion, music generation, code assistance through Vibe Coder and its coding agent, a translator and a transcriber. All of them run on-device, so they work offline and keep everything you type, record or generate on your phone.
What is quantization, and why does it matter for phones?
Quantization shrinks a model by storing its weights at lower precision — for example, using 4-bit numbers instead of 16-bit ones. A quantized model is several times smaller and faster, which is what lets a capable language model fit in a phone's memory and run on its CPU, GPU or NPU without draining the battery in minutes.
Can a phone really run a large language model?
Yes, with the right model and the right runtime. The RunAnywhere case study on LLM Hub documents models up to 31B parameters running on iPhone, after the app was ported from Android to iOS in 6.5 weeks. Modern phones have powerful NPUs and GPUs, and quantized models are designed to use them efficiently.
Does LLM Hub send my data to any server?
No. LLM Hub is built around the idea that prompts, images and outputs never leave the device. There are no accounts and no tracking, so there is no server-side profile of you to build. That is the practical meaning of on-device AI: the model runs where your data already is.
LLM Hub 

