Skip to main content
On-Device AIExplainerJun 14, 2026, 3:57 PM· 3 min read

Apple Replaces Core ML with Core AI, Bringing Free On-Device LLMs to Developers

At WWDC 2026, Apple introduced Core AI, a new framework that allows developers to run Large Language Models directly on iPhones and Macs. The shift eliminates cloud API costs and guarantees user privacy by keeping data entirely on-device.

By Logan Price

App Developers 40%Open-Source AI Community 35%Privacy & Security Advocates 25%
App Developers
Focused on eliminating cloud API costs and building offline-capable AI features.
Open-Source AI Community
Focused on model conversion tools, PyTorch integration, and hardware optimization.
Privacy & Security Advocates
Focused on the data sovereignty benefits of keeping AI inference strictly on-device.

The artificial intelligence industry has a fundamental scaling problem: every time a user prompts an app, a server somewhere burns expensive GPU compute, and the developer pays the bill. For independent creators and startups, building a highly engaging AI feature often means risking bankruptcy by API fees as usage grows.[3]

At its Worldwide Developers Conference (WWDC) in June 2026, Apple introduced a structural solution to this economic trap. The company unveiled Core AI, a ground-up rewrite of its machine learning stack designed to run large language models (LLMs) and generative AI entirely on-device.[1][2][3]

Core AI officially replaces Core ML, the framework Apple introduced nine years ago in 2017. While Core ML was revolutionary for its time, it was built for traditional, deterministic prediction tasks like image classification and object detection. It struggled to handle the autoregressive token generation, streaming responses, and multi-turn sessions required by modern generative AI.[4]

On-device AI shifts the compute burden from expensive cloud servers to the user's local hardware.

The new framework is purpose-built for Apple Silicon, orchestrating heavy AI workloads across the CPU, GPU, and the Neural Engine without requiring developers to write complex, device-specific code. By keeping inference strictly local, Core AI eliminates server dependencies, network latency, and per-token API costs.[1][2]

"Apple is making the cloud optional," notes the developer community, pointing out that local execution shifts the compute cost from the developer's cloud bill to the user's existing hardware. A simple text summarization or code generation request now travels from the user directly to the Apple Silicon chip, rather than making a round-trip to a remote server farm.[3][6]

Beyond economics, the shift fundamentally alters the privacy landscape. Because the model runs exactly where the data lives, applications can process highly sensitive information—like health records, personal messages, or financial receipts—without ever transmitting it over the internet, side-stepping massive regulatory and security hurdles.[1]

Beyond economics, the shift fundamentally alters the privacy landscape.

To make this ecosystem accessible, Apple is not forcing developers to exclusively use its proprietary models. Core AI includes a Python package called `coreai-torch`, which acts as a direct bridge to the open-source PyTorch ecosystem. Developers can convert existing open-source models into a new `.aimodel` format with just a few lines of code.[2]

Developers can convert open-source PyTorch models into Apple's native format using the new coreai-torch bridge.

Once converted, these models benefit deeply from Apple's unified memory architecture. Core AI utilizes zero-copy data paths and Metal 4 kernels optimized specifically for transformer architectures, allowing multi-billion parameter models to run efficiently even on the constrained thermal and battery budgets of an iPhone or iPad.[2][6]

Apple also detailed its own on-device AI architecture, revealing a 20-billion-parameter sparse model. This model uses a lazy-loaded Mixture of Experts (MoE) design, where expert selection happens per-prompt rather than per-token, minimizing the heavy data movement from storage to active memory that usually bottlenecks mobile AI.[6]

For tasks that exceed local hardware limits, Apple introduced a seamless hybrid fallback. The updated Foundation Models framework provides a unified Swift API that can automatically route complex requests to Apple's Private Cloud Compute servers, or even to third-party providers like Anthropic and Google, using a standardized Language Model protocol.[1]

Local inference eliminates per-token API costs and network latency.

To further entice adoption, Apple announced that developers in its Small Business Program—those with fewer than two million App Store downloads—will receive free access to Private Cloud Compute inference. This move directly challenges the API pricing models of established cloud AI giants by commoditizing server-side generation for smaller apps.

Ultimately, Core AI signals a major strategic pivot for the tech giant. Rather than trying to be the sole provider of AI intelligence, Apple is positioning its 2.5 billion active devices as the premier arena for edge computing, giving developers the tools to build fast, private, and economically sustainable AI applications.[4][6]

Key points

  • Apple introduced Core AI at WWDC 2026, replacing the nine-year-old Core ML framework.
  • The new framework allows developers to run Large Language Models directly on Apple Silicon.
  • Local execution eliminates cloud API costs, network latency, and server dependencies.
  • A new toolchain, including coreai-torch, lets developers easily convert open-source PyTorch models.
  • Apple's Foundation Models framework provides a hybrid fallback to Private Cloud Compute for heavy tasks.
  • The shift guarantees user privacy by ensuring sensitive data never leaves the physical device.

Key terms

Core AI
Apple's 2026 framework for running generative AI and large language models directly on Apple devices.
Core ML
Apple's legacy machine learning framework, introduced in 2017, primarily used for traditional prediction and classification tasks.
Small Language Model (SLM)
A compact version of an AI language model designed to run efficiently on consumer hardware like phones and laptops.
Quantization
A technique that reduces the precision of an AI model's numbers, shrinking its file size and memory usage so it can run on mobile devices.
Unified Memory
Apple's hardware architecture where the CPU, GPU, and Neural Engine share the same pool of memory, drastically speeding up AI processing.
Autoregressive Generation
The process by which an AI model generates text one word (or token) at a time, predicting the next word based on the previous ones.

Sources

Source coverage

6 outlets

3 viewpoints surfaced

App Developers 40%Open-Source AI Community 35%Privacy & Security Advocates 25%
  1. [1]Apple DeveloperPrivacy & Security Advocates

    What's new in AI & machine learning - WWDC26

    Read on Apple Developer
  2. [2]AppcircleApp Developers

    WWDC26: Apple's Core AI Framework Explained

    Read on Appcircle
  3. [3]Code CoupApp Developers

    Apple Just Made On-Device AI a Reality With Core AI

    Read on Code Coup
  4. [4]byteiotaApp Developers

    Apple Core AI Replaces Core ML in iOS 27: Act Now

    Read on byteiota
  5. [5]AI CERTs NewsPrivacy & Security Advocates

    Apple Unveils AI Development Frameworks for On-Device Apps

    Read on AI CERTs News
  6. [6]r/LocalLLaMAOpen-Source AI Community

    Apple announced new on device inference engine for Apple Silicon

    Read on r/LocalLLaMA

Comments

Stay informed

Every angle. Every day.

Get ai stories with full source coverage and perspective breakdowns delivered to your inbox.