For years, asking Apple to play nicely with someone else's AI was like asking a cat to fetch: technically possible, spiritually unlikely. At WWDC 2026, Cupertino blinked. The same Swift API that runs Apple's own models will now happily phone up Claude and Gemini too.
One Swift API, Many Brains
Apple expanded its Foundation Models framework into a single native Swift API that supports more powerful on-device models, image input, and crucially a new language model protocol. Through it, developers can call third-party models like Anthropic's Claude and Google's Gemini using the exact same code they'd use for Apple's own.
There's a freebie hiding in the fine print, too. Developers in Apple's Small Business Program with fewer than two million App Store downloads get free access to Apple Foundation Models running on Private Cloud Compute, which quietly erases the cloud API bill for anyone just getting started.
Core AI and a Smarter Xcode
Apple also shipped Core AI, a brand-new framework built to run full-scale language models directly on device by exploiting the unified memory and Neural Engine of Apple silicon. Translation: real LLMs, on your iPhone, no round trip to a server farm required.
Then there's Xcode 27, which now wires coding agents from Anthropic, Google, and OpenAI straight into the editor. The agents can run tests, poke at Playgrounds, and check previews on their own, all stitched together via the Model Context Protocol and Agent Client Protocol. Xcode also went Apple-silicon-only, dropped 30 percent in size, and got faster, because apparently it was a good year to clean house.
The Walled Garden Grows a Gate
This is a genuine philosophical wobble for a company that loves owning the whole stack. By making rival models first-class citizens in its own SDK, Apple is admitting that developers will use the best tool regardless of logo, so it may as well be the one holding the API.
The smart play is control disguised as openness. Apple doesn't have to win the model race if every model, including Claude and Gemini, runs through Apple's protocol on Apple's hardware billed through Apple's store. The garden walls didn't come down. They just grew a very convenient gate with a turnstile.
Apple finally learned the oldest trick in platform economics: you don't need to make the best engine if you own the road. Vroom.
Source: Apple Newsroom