Claude Integration Available for Apple Foundation Models
Original: Apple Foundation Models
Why This Matters
Expands Claude's availability to Apple's native ecosystem, enabling hybrid on-device and cloud AI deployment for developers.
Anthropic released Claude for Foundation Models, a Swift package enabling Claude AI access on Apple platforms through the Foundation Models framework. The package supports iOS 27, macOS 27, visionOS 27, and watchOS 27 beta releases with standard API pricing billing.
Anthropic has introduced Claude for Foundation Models, a Swift package that integrates Claude as a server-side language model within Apple's Foundation Models framework. The package conforms Claude to the framework's LanguageModel protocol, allowing developers to use Claude with the same LanguageModelSession API used for Apple's on-device models. Key features include support for respond(to:) calls, streaming, guided generation, and tool calling functionality. All requests travel directly from the app to the Claude API; Apple does not see prompts or responses. Usage is billed to Anthropic accounts at standard API pricing. Developers can choose which model to use for each session—Claude or Apple's on-device model. The package currently targets the Foundation Models server-side language model API introduced in OS 27 betas and requires Xcode 27 beta. A Claude API key from the Claude Console is needed for development. Installation is available via Package.swift or Xcode's Add Package Dependencies interface. The package is in beta status with APIs subject to change before general availability.