AI features once felt like free upgrades. You could add a chatbot, a recommendation engine, or a smart search bar, launch it, and move on. That's changed. Now, every time a mobile app sends a request to a cloud AI model, it creates a real, measurable cost. When you multiply that by millions of users, the AI feature that seemed like a competitive advantage can quietly turn into a liability on your profit and loss statement.
Determining the main issue between on-device and cloud AI comes down to one thing: deciding where AI processing happens is no longer just an engineering choice. It's now about unit economics: how much it costs per user, per month, to keep an AI feature running. On-device AI shifts computing workload from a rented cloud server to the user's own hardware. Cloud AI keeps things central, flexible, and easy to update, but you pay for every request.
Neither option is always better. The right choice depends on three things: the feature's cost at scale, how fast it needs to respond, and the level of data protection required. The following article covers each of these points.
Key takeaways
- Cloud AI inference is a variable cost that grows with usage. The more people use your app, the higher your bill. For this reason, AI-focused software companies often have lower gross margins than traditional SaaS companies.
- On-device AI shifts computation to the user's hardware, so the cost per query drops to nearly zero once the model is shipped. However, it's not completely free, since there are still fixed engineering and device costs.
- A 100-millisecond response feels instant to users, based on decades-old research on perception. The threshold isn't an AI-specific rule, but it's a helpful target, especially since mobile network delays can use up most of that time before the model even starts working.
- On-device processing avoids the data transfers that cause most privacy risks under GDPR and HIPAA. However, it also means losing central logs, analytics, and moderation tools that compliance and security teams depend on.
- Enterprise mobile products often use a hybrid approach. They send simple, frequent, or sensitive tasks to the device and use the cloud for complex reasoning or tasks that require up-to-date, centralized data.
The cost divergence: Per-token API taxes vs. zero marginal cost
Why cloud inference behaves like a utility bill
Cloud-based AI models have real costs. Every time a mobile app sends a request to a large language model, it's processed on remote servers in a data center, using GPUs that are expensive to rent and operate. Cloud providers usually charge per token, a token is about part of a word, so your bill grows directly with how much people use the feature.
This creates a very different cost structure from what most software teams expect. Traditional SaaS software has mostly fixed costs: after building the product, adding another user costs little. Cloud AI inference is different. It functions more like a utility bill than a subscription. The more users interact with the AI feature, the more you pay, with no upper limit.

The margin math: What the data says about AI-native gross margins
The financial impact isn't a theoretical concern, as it's already visible in the numbers. According to ICONIQ Capital's State of AI research, gross margins for AI-native products have moved from roughly 41% in 2024 to about 45% in 2025, with a projected 52-53% in 2026. Traditional SaaS companies, by comparison, typically run at 75-85% gross margins. That gap is 20 points or more, largely explained by one thing: the recurring cost of AI inference, which scales with usage, unlike most other cost lines in a software business.
Venture firm CRV says investors have already changed their expectations, moving away from the usual 70-90% SaaS gross margin standard for AI-heavy products. The key point for business leaders: if your product's AI features use a flat subscription price but your compute costs rise with usage, your margins shrink every time engagement increases, which is usually something to celebrate.
Zero marginal cost, hybrid routing, and the honest caveat
On-device AI removes the connection between usage and cost. Instead of sending requests to remote servers, the AI model runs right on the mobile device, using the phone's own processing power. The process relies on special hardware called neural processing units (NPUs), which are designed to run AI algorithms efficiently and use less battery than regular processors. Once the model is on the device, running it again doesn't add any cloud fees. Whether you have ten queries or ten million a day, your extra cloud bill stays at zero.
Local execution is possible because AI models for local devices are made smaller using model optimization techniques like quantisation and knowledge distillation. Quantisation lowers precision, while distillation trains a smaller model to copy a larger one. The result is a model small enough to run on a phone, yet capable of handling tasks such as translation, transcription, image classification, tagging, and simple recommendations.
In reality, the best setup is rarely all on-device or all cloud. Most use hybrid routing: simple, frequent, or privacy-sensitive tasks run locally, while requests needing deep reasoning, fresh external data, or a much larger model go to the cloud. This approach helps control costs by avoiding cloud charges for most requests, while still using the cloud when it's truly needed.
There's an important point: "zero marginal cost" doesn't mean "free." On-device AI still has fixed costs: the NPU already built into the user's phone, and the engineering time needed to compress, test, and ship a model that works well on different devices. Also, today's cloud AI prices might not last. Some analysts say providers are charging less than their real costs to gain market share, so current per-token prices may not be reliable for long-term planning.

Latency & offline availability: Chasing a moving 100ms target
The three response-time thresholds
Long before generative AI existed, usability researcher Jakob Nielsen defined three response-time thresholds that still shape how people experience digital products today: a response within 0.1 seconds (100ms) feels instantaneous, as if the interface reacted directly to the user's own action; a response within 1 second is noticeably slower but doesn't break the user's train of thought; beyond 10 seconds, people assume something has gone wrong and disengage. A related and often-cited finding, the Doherty Threshold, found that keeping system response times under roughly 400 milliseconds measurably increases productivity, because neither the person nor the system is left waiting on the other.
It's important to be clear: these are constants of human perception, not benchmarks made for AI. The research was done decades before AI chat interfaces existed. Still, the psychology of what feels instant hasn't changed. The 100ms figure is a helpful design target based on real research, but it shouldn't be seen as a strict rule for every AI feature.
The network tax: Why mobile round-trips eat the budget before compute starts
Cloud-based AI features encounter tricky performance bottlenecks at this stage. Sending a request to a remote server and waiting for a response takes time, even before processing begins. On a typical 4G internet connection, this round trip takes 30 to 50 milliseconds in good conditions. High traffic or distant servers increase that delay significantly. Real-world 5G is better, but actual latency is still in the low double digits, not the near-1ms speeds you see in marketing, since perfect signal conditions are rare.
In short, on a real mobile connection, the network can use up most or all of the 100ms "instant" window before the cloud server even starts processing. When you add queueing and model compute time, cloud-based AI features often struggle to meet that threshold, especially outside strong 5G coverage.
On-device execution: Removing the round trip
Running the model on the device avoids this problem because there's no network round trip. Lightweight on-device models for tasks like image classification or object detection can respond in just a few to a couple dozen milliseconds on today's mid-range hardware. That's well within Nielsen's "instant" threshold, whether the user has a strong signal, a weak one, or no connection at all.
That point is just as important as speed. On-device AI not only responds faster, but it also works when internet connectivity doesn't. For field service apps, in-flight tools, warehouse scanners, or any product used in basements, elevators, or rural areas, offline functionality isn't just a bonus. It's what makes a feature reliable instead of something people stop using.
The compliance equation: Zero data transit vs. operational visibility
What GDPR and HIPAA actually require (and what they don't)
Many people say "on-device AI is more compliant," but that's not quite accurate when it comes to data privacy. The real answer is more interesting for business leaders, and it's important to get it right, since the two main regulations don't say what most people think.
GDPR does not require personal data to be stored inside the EU. It restricts the transfer of personal data to jurisdictions that don't offer equivalent legal protection, which is why cross-border transfers require mechanisms such as Standard Contractual Clauses or an adequacy decision. HIPAA, meanwhile, does not impose any geographic data-residency requirement at all. A US company serving only US patients doesn't need regional hosting to be compliant. HIPAA requires a signed Business Associate Agreement with any third party that handles protected health information.
On-device AI avoids both of these issues, not because regulators require it, but because there's no data transfer and no third-party processor involved. Local execution provides a stronger position than just choosing a compliant cloud region. It also avoids a tricky problem: data stored in an EU data center by a US-based provider can still be accessed under the US CLOUD Act, no matter where the servers are. The risks are growing: GDPR penalties can reach 4% of global annual revenue, and with the EU AI Act now in force, a single compliance failure that triggers both regulations at once can cost a company a double-digit percentage of global turnover.
Case study: What Apple's private cloud compute reveals
Apple's Private Cloud Compute (PCC) is the real-world illustration of this trade-off. It's a cloud system Apple built specifically to extend on-device-level privacy into the cloud for AI tasks too large to run on an iPhone: no persistent storage, no logging, data is deleted immediately after each request, and it's independently verifiable by outside security researchers.
It's arguably the most rigorous privacy setup in production AI today. Still, independent reviews of PCC for enterprise use have been clear about what's missing. As one enterprise IT analysis says, PCC has no enterprise APIs for tracking or reporting on AI usage, no integration with security monitoring, and no custom usage policies. It was designed for individual privacy, not for enterprise oversight, and that gap remains even with excellent privacy engineering.
The engineering bill you give up
Engineering teams face a trade-off that rarely appears on a compliance slide. When AI runs locally and nothing is logged centrally, your team loses the backend visibility it's used to: central records for debugging, analytics to see which features people use, and real-time moderation to catch harmful or incorrect responses before they reach users. As one engineering write-up on mobile AI trade-offs says, on-device processing helps with privacy, but it's not a cure-all. Teams still need to design separate systems for logging, analytics, crash reporting, and cloud fallback, and be clear internally and with users about what stays on the device.
In practice, a truly privacy-preserving on-device setup needs its own investment in observability. This setup requires on-device error reporting, aggregate usage metrics, and clear fallback paths to a moderated cloud model. For these reasons, hybrid routing matters here too: keep sensitive, frequent tasks on the device, and send anything high-risk or safety-critical through the cloud, where moderation and audit trails are still in place.
Ready to control your mobile AI unit economics?
There's no single right answer between on-device and cloud AI. Cost, speed, and compliance are three separate levers, and every AI feature in your product can land differently on each one. Getting this right means treating it as an architecture decision made feature by feature, not a one-time infrastructure choice. Book a quick call with our AI engineering team to find out which of your AI features belong on the device, and which should stay in the cloud.
Is on-device AI truly a $0 marginal cost for developers?
It's close, but not exactly zero. Once a model is compressed, tested, and shipped to a device, running it again doesn't incur any cloud inference costs; that part is really free at the margin. What isn't free are the fixed costs: the engineering time to optimize the model for mobile hardware, ongoing updates, and support for all the devices your users have.
How do I decide what runs locally versus in the cloud?
Ask four questions for each AI feature: How often is it used? High-frequency tasks make cloud costs add up quickly. Does response speed matter? Does it handle sensitive data? Does it need to work without a reliable connection? The more these apply, the better the case for on-device processing. But if the task needs complex reasoning, fresh external data, or a much larger model, it probably still belongs in the cloud.
How do you monitor and debug edge models without server logs?
You need to build observability into the on-device architecture from the beginning, instead of relying on cloud-style central logging. This usually means adding on-device crash and performance reporting, using aggregate analytics that don't reveal individual user data, and setting up a clear fallback path so higher-risk or unclear cases go to a cloud model where full moderation and audit logging are still possible.
What is the break-even MAU threshold for going on-device?
It really depends. There's no single answer, because it comes down to your cloud cost per query, how often an average monthly active user (MAU) uses the feature, and how much engineering work on-device deployment needs for your app. A good way to decide is to compare your current or expected monthly cloud inference cost for that feature with the one-time and ongoing engineering costs of building and maintaining an on-device version. When the cloud bill for a feature starts to become a regular expense rather than a minor detail, it's time to take that comparison seriously.

![[header] on device ai vs. cloud overhead controlling the unit economics of mobile intelligence](https://www.miquido.com/wp-content/uploads/2026/09/header-on-device-ai-vs.-cloud-overhead-controlling-the-unit-economics-of-mobile-intelligence-1920x1280.jpg)


![[header] on device ai vs. cloud overhead controlling the unit economics of mobile intelligence](https://www.miquido.com/wp-content/uploads/2026/09/header-on-device-ai-vs.-cloud-overhead-controlling-the-unit-economics-of-mobile-intelligence-432x288.jpg)
![[header] ai risks in mobile](https://www.miquido.com/wp-content/uploads/2026/09/header-ai-risks-in-mobile-1-432x288.jpg)
![[header] the hidden cost of legacy](https://www.miquido.com/wp-content/uploads/2026/09/header-the-hidden-cost-of-legacy-432x288.jpg)
