Apple Foundation Models
Points and comments are a snapshot, not live.
Anthropic releases a Swift package integrating Claude into Apple's Foundation Models framework for iOS 27 and later.
Claude for Foundation Models is a Swift package that makes Claude available through Apple's Foundation Models framework, the standard API for on-device AI in iOS 27, macOS 27, visionOS 27, and watchOS 27. Developers use the same LanguageModelSession API for both Apple's on-device model and Claude, swapping models without rewriting code. Requests go directly to the Claude API; Apple sees neither prompts nor responses. Usage is billed at standard API pricing. The package supports streaming, structured output via @Generable, tool calling (both client-side and server-side tools like web search), vision input, and effort levels. It requires Xcode 27 beta and an API key for development or a proxy backend for production. The package is currently in beta, targeting APIs that may change before general availability.
What commenters are saying
Commenters debated Apple's strategic intent: whether the abstraction layer enables seamless migration to Apple's own trained models, helps Apple monetize third-party providers (potentially via an App Store-like 30% cut), or serves legitimate developer convenience. The thread identified missing affordances for shared model caching across multiple apps (each app downloading the same model duplicates storage), though one commenter noted WWDC 2026 session 339 addresses provider integration. Skepticism centered on whether the layer gives Apple credit for third-party AI and locks developers into their ecosystem. A smaller concern flagged that coding agents and abstraction layers consume more tokens than direct API calls.