What is Foundation Models Framework?
Asked on 06/11/2025
1 search
The Foundation Models Framework is a new framework introduced by Apple that provides access to an on-device large language model through a convenient Swift API. It is available on macOS, iOS, iPadOS, and VisionOS. This framework allows developers to enhance existing app features or create new ones by leveraging the capabilities of the language model, such as generating content, summarizing text, and analyzing user input.
The framework is designed to run entirely on-device, ensuring that all data remains private and can operate offline. It is built into the operating system, so it does not increase the app size. The Foundation Models Framework is optimized for performance and efficiency, using state-of-the-art quantization techniques and speculative decoding. It also includes safety features, such as guardrails, to ensure safe app experiences.
For more detailed information, you can refer to the session Meet the Foundation Models framework.

Meet the Foundation Models framework
Learn how to tap into the on-device large language model behind Apple Intelligence! This high-level overview covers everything from guided generation for generating Swift data structures and streaming for responsive experiences, to tool calling for integrating data sources and sessions for context management. This session has no prerequisites.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

Discover machine learning & AI frameworks on Apple platforms
Tour the latest updates to machine learning and AI frameworks available on Apple platforms. Whether you are an app developer ready to tap into Apple Intelligence, an ML engineer optimizing models for on-device deployment, or an AI enthusiast exploring the frontier of what is possible, we’ll offer guidance to help select the right tools for your needs.