Back to news
Large Language Models
Jun 15, 2026

Apple Introduces Claude for Foundation Models as Server-Side Language Model

Jun 15, 2026
AI Summary

Apple has launched a Swift package called Claude for Foundation Models, enabling developers to integrate the Claude language model into their applications. This package allows for server-side processing while maintaining user privacy, as requests are sent directly to the Claude API without Apple intermediating.

  • Claude for Foundation Models is a Swift package that integrates the Claude language model into Apple's Foundation Models framework.
  • The package conforms to the LanguageModel protocol, allowing developers to use the same API for both Claude and Apple's on-device model.
  • Requests are sent directly from applications to the Claude API, ensuring that Apple does not access user prompts or responses.
  • The package is currently in beta and targets the Foundation Models server-side language model API introduced in the OS 27 betas.
  • Developers can switch between using Claude and Apple's on-device model by passing the desired model to each session.
  • The package includes features for structured output, server-side tools, and error handling, enhancing the capabilities of applications using the Claude model.
  • To use the package, developers need to add it to their Package.swift file or Xcode project and configure it with their Anthropic API key.
  • The package is licensed under Apache 2.0, and bug reports can be submitted through GitHub issues during the beta period.
applefoundation modelsmachine learningai researchtechnology