# Apple Foundation Models Framework

> Apple's new Swift API lets developers integrate large language models directly into apps with privacy and on-device capabilities.
- Title: Apple Foundation Models Framework · Apple Developer | Shortify
- Summary: Apple's new Swift API lets developers integrate large language models directly into apps with privacy and on-device capabilities.
- Keywords: apple, foundation models, swift api, large language models, on-device privacy, private cloud compute, dynamic profiles, evaluations framework, fm cli, Apple Developer
- Source: Apple Developer — https://developer.apple.com/foundation-models-framework
- Author: Apple Inc.
- Read time: 1 min
- Topics: apple, foundation models, swift api, large language models, on-device privacy, private cloud compute, dynamic profiles, evaluations framework, fm cli, technology, startups
## What is Foundation Models framework
The Foundation Models framework is a native Swift API for integrating any large language model into your app.
## Key features
Guided generation, tool calling, image understanding, and Dynamic Profiles are built into the framework.
## Image understanding
Multimodal prompts let you pass images alongside text for visual content reasoning.
## On-device models
The framework provides direct access to on-device foundation models for privacy and offline use.
## Third-party model support
The framework extends to server models like Claude and Gemini through the same Swift API.
## Private Cloud Compute
Developers with fewer than two million App Store downloads get free access to Apple Foundation Models on Private Cloud Compute.
## Dynamic Profiles
Dynamic Profiles allow continuous updates to session models, tools, and instructions on the fly.
## Key takeaway

Apple released a Swift framework for building apps with large language models using on-device privacy features and third-party model support.