Foundation Models framework
Apple's Foundation Models framework offers a native Swift API for integrating any large language model into an app, including on-device Apple Intelligence models and Private Cloud Compute. It includes guided generation, tool calling, image understanding, and Dynamic Profiles, and supports third-party models like Claude and Gemini via the Language Model protocol. Developers in the App Store Small Business Program with fewer than two million first-time downloads can use Apple models on Private Cloud Compute at no cloud API cost.
What this means for indie developers:Indie developers get a unified Swift API for on-device and cloud LLMs, with free Private Cloud Compute access for small teams.