comparison

AgentKit Cloud vs Apple Foundation Models

As of June 2026, Apple's framework runs models on-device, on Apple's Private Cloud Compute, and via Claude and Gemini packages. What it has no concept of is a backend: no end-user identity, no per-user spend caps, no server-side control. AgentKit Cloud is that backend, and it reaches the older iPhones Apple's framework cannot.

Apple Foundation Models is Apple's Swift framework for running language models on-device and through Apple's Private Cloud Compute, on iOS 26 and later (as of June 2026).

AgentKit CloudApple Foundation Models
Model providersAnthropic, OpenAI, Gemini, and Apple on-deviceApple, plus Claude and Gemini packages
Provider keys off the deviceEncrypted server-side; the app ships a publishable keyNone on-device; you manage any cloud keys
End-user identity verified per requestA JWT from your trusted issuer, checked every requestNo backend, so no end-user check
Hard spend cap per userA hard ceiling per user and per project. Hit it, requests stop.No usage backend
Subscription-tier model routingBind tiers to RevenueCat entitlementsNo entitlement routing
Change models without an app updateName a tier; remap it server-sideChosen in the app
On-device optionApple Foundation Models on-device, cloud when neededOn-device and Apple's server
In-app agent loop with tools, guards, undoRuns in your app with guards, undo, and run limitsTools and guided generation, no guard or undo layer
Device attestationOptional App Attest binds requests to real devicesApp Attest exists, but no server to bind it to
Backend to build and maintainNone. AgentKit Cloud is the backend.None on-device; build any server yourself
  • AgentKit runs on-device too

    The SDK runs Apple Foundation Models on-device. The difference is the server layer around it, not the model.

  • A backend, not just a framework

    Apple's framework is client-side: prompts, tools, and model choice live in the app. AgentKit keeps them server-side, with end-user identity and per-user spend caps.

  • Reach older iPhones

    Apple Foundation Models needs iOS 26 and Apple Intelligence hardware (iPhone 15 Pro and later). Cloud inference runs the same agents on the older iPhones your users already carry.

Skip the server. Ship the agent.