
Apple ships a single Swift API routing to on-device, Claude, or Gemini
Foundation Models is now a unified native Swift API that routes requests to Apple's on-device models — built in collaboration with Google — or to Claude, Gemini, or any provider implementing the new language model protocol, alongside Core AI for running full-scale LLMs locally on Apple silicon. An iOS developer can consolidate model-provider integrations to a single call today, and Xcode 27 adds agentic coding sessions with models from Anthropic, Google, and OpenAI directly in the IDE.
Source: apple.com ↗
Developers are at the heart of the Apple ecosystem, and our goal is to provide them with the best possible tools and technologies to build the future.
Susan Prescott, Apple VP Worldwide Developer Relations
Why this matters
- → Developers consolidate multi-model AI integration into single Swift API call.
- → On-device, Claude, Gemini options reduce vendor lock-in and deployment fragility.
- → Xcode agentic coding cuts boilerplate; agents validate work autonomously.
Unified AI routing