What’s Foundation Models token limit?
Asked on 06/17/2025
1 search
The Foundation Models framework discussed at WWDC does not specify a particular token limit in the provided context. However, it is mentioned that a session has a limit for how large it can grow, which implies there is some form of constraint on the number of tokens or the size of the session. For more detailed information, you might want to refer to the session titled "Deep dive into the Foundation Models framework" for insights on how sessions and tokens are managed.

Deep dive into the Foundation Models framework
Level up with the Foundation Models framework. Learn how guided generation works under the hood, and use guides, regexes, and generation schemas to get custom structured responses. We’ll show you how to use tool calling to let the model autonomously access external information and perform actions, for a personalized experience. To get the most out of this video, we recommend first watching “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.