{"id":48117,"date":"2025-06-17T16:16:08","date_gmt":"2025-06-17T20:16:08","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=48117"},"modified":"2025-07-23T13:07:16","modified_gmt":"2025-07-23T17:07:16","slug":"foundation-models-framework","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2025\/06\/17\/foundation-models-framework\/","title":{"rendered":"Foundation Models Framework"},"content":{"rendered":"<p><a href=\"https:\/\/www.apple.com\/newsroom\/2025\/06\/apple-intelligence-gets-even-more-powerful-with-new-capabilities-across-apple-devices\/\">Apple<\/a> (<a href=\"https:\/\/www.macrumors.com\/2025\/06\/09\/foundation-models-framework\/\">MacRumors<\/a>, <a href=\"https:\/\/9to5mac.com\/2025\/06\/09\/apple-third-party-developers-apple-intelligence-models\/\">9to5Mac<\/a>, <a href=\"https:\/\/news.ycombinator.com\/item?id=44226978\">Hacker News<\/a>, <a href=\"https:\/\/apple.slashdot.org\/story\/25\/06\/09\/1859253\/apple-lets-developers-tap-into-its-offline-ai-models\">Slashdot<\/a>):<\/p>\n<blockquote cite=\"https:\/\/www.apple.com\/newsroom\/2025\/06\/apple-intelligence-gets-even-more-powerful-with-new-capabilities-across-apple-devices\/\">\n<p>Apple is opening up access for any app to tap directly into the on-device foundation model at the core of Apple Intelligence.<\/p>\n<p>With the Foundation Models framework, app developers will be able to build on Apple Intelligence to bring users new experiences that are intelligent, available when they&rsquo;re offline, and that protect their privacy, using AI inference that is free of cost. For example, an education app can use the on-device model to generate a personalized quiz from a user&rsquo;s notes, without any cloud API costs, or an outdoors app can add natural language search capabilities that work even when the user is offline.<\/p>\n<p>The framework has native support for Swift, so app developers can easily access the Apple Intelligence model with as few as three lines of code. Guided generation, tool calling, and more are all built into the framework, making it easier than ever to implement generative capabilities right into a developer&rsquo;s existing app.<\/p>\n<\/blockquote>\n\n<p>There are two <a href=\"https:\/\/developer.apple.com\/videos\/play\/wwdc2025\/286\/\">WWDC<\/a> <a href=\"https:\/\/developer.apple.com\/videos\/play\/wwdc2025\/301\/\">sessions<\/a> and <a href=\"https:\/\/developer.apple.com\/documentation\/FoundationModels\">documentation<\/a>.<\/p>\n\n<p><a href=\"https:\/\/mastodon.social\/@danielpunkass\/114654507821826090\">Daniel Jalkut<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@danielpunkass\/114654507821826090\">\n<p>This is EXACTLY (the bare minimum) what developers have been asking for!<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/www.reddit.com\/r\/swift\/comments\/1l85yh2\/first_impressions_of_foundation_models_framework\/\">mxdalloway<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.reddit.com\/r\/swift\/comments\/1l85yh2\/first_impressions_of_foundation_models_framework\/\"><p>In my opinion this is revolutionary.<\/p><p>It was obvious that we would get framework access to models eventually, but I&rsquo;m a little shocked that it&rsquo;s already here.<\/p><p>I was skeptical of the performance in the demos, but running on M1 MBP I&rsquo;m happy with the performance.<\/p><p><code>@Generable<\/code> macro is intuitive to use and so far I&rsquo;m impressed with the quality of the structured results that the model generates (admittedly, I need to do more extensive testing here but first impressions are promising).<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.social\/@stroughtonsmith\/114669245587725498\">Steve Troughton-Smith<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@stroughtonsmith\/114669245587725498\"><p>The wider tech press seems to think that Apple failed to show anything meaningful to do with AI at WWDC, without understanding that <em>access to the Foundation Models<\/em> is <em>bigger<\/em> than anything Apple announced at last year&rsquo;s WWDC with Apple Intelligence. It&rsquo;s what will give a million apps new AI features, and it&rsquo;s built-in, and free.<\/p><p>As much as I want Siri to not suck, I have ChatGPT on all my devices, and that solves 95% of the use-cases I have.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.cloud\/@drewmccormack\/114686716865513584\">Drew McCormack<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.cloud\/@drewmccormack\/114686716865513584\">\n<p>Having played with the new Foundation Models framework and thought about ways we can use it in our apps, I think it could be Apple&rsquo;s Trojan horse for AI. It barely gets a mention in mainstream media, understandably, but it leverages Apple&rsquo;s developer base. I think we are going to see very creative uses in apps, and Apple just have to iterate year on year (eg add private cloud compute next year).<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.cloud\/@drewmccormack\/114698859906616395\">Drew McCormack<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.cloud\/@drewmccormack\/114698859906616395\"><p>Was optimistic about Foundation Models yesterday, and today I think I know why they didn&rsquo;t ship the improved Siri. The local model really is pretty thick. I thought it would be capable of stringing together tool calls in a logical way, and sometimes it is, but other times it fails to understand. Exactly the same prompt will work one time, and fail the next. Sounds like what Apple was saying about the new Siri.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/bsky.app\/profile\/mackuba.eu\/post\/3lrrdbjv5322n\">Kuba Suder<\/a>:<\/p>\n<blockquote cite=\"https:\/\/bsky.app\/profile\/mackuba.eu\/post\/3lrrdbjv5322n\">\n<p>Ahh wait, so the Foundation Models thing will only work on the latest and greatest phones, right? &#x1FAE4;<\/p>\n<\/blockquote>\n\n<p>It doesn&rsquo;t fall back on Private Cloud Compute.<\/p>\n\n<p><a href=\"https:\/\/mastodon.social\/@stroughtonsmith\/114688159415434856\">Steve Troughton-Smith<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@stroughtonsmith\/114688159415434856\">\n<p>Oof, the FoundationModels framework is not exported to Mac Catalyst in Xcode 26 seed 1 &#x1F62B; That puts a damper on prototyping<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.social\/@cocoawithlove\/114684943945173589\">Matt Gallagher<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@cocoawithlove\/114684943945173589\"><p>The Foundation Models in macOS 26 are quantized to 2 bits? I&rsquo;m amazed anything coherent comes out.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/x.com\/steipete\/status\/1933457377602232425\">Peter Steinberger<\/a> (<a href=\"https:\/\/www.reddit.com\/r\/swift\/comments\/1lalhae\/fyi_foundation_models_context_limit_is_4096_tokens\/\">Reddit<\/a>):<\/p>\n<blockquote cite=\"https:\/\/x.com\/steipete\/status\/1933457377602232425\">\n<p>Apple&rsquo;s on-device AI has a brutally small 4,096 tokens window.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/superwall.com\/blog\/an-introduction-to-apples-foundation-model-framework\">Jordan Morgan<\/a>:<\/p>\n<blockquote cite=\"https:\/\/superwall.com\/blog\/an-introduction-to-apples-foundation-model-framework\"><p>In this post, I&rsquo;ll show you the basics of how to get started with the Foundation Models framework, and we&rsquo;ll even make a few calls to its API to generate some responses.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2025\/06\/13\/wwdc-2025-links\/\">WWDC 2025 Links<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2025\/03\/17\/how-apple-could-help-with-ai-and-llms\/\">How Apple Could Help With AI and LLMs<\/a><\/li>\n<\/ul>\n\n<p id=\"foundation-models-framework-update-2025-06-19\">Update (<a href=\"#foundation-models-framework-update-2025-06-19\">2025-06-19<\/a>): <a href=\"https:\/\/azamsharp.com\/2025\/06\/18\/the-ultimate-guide-to-the-foundation-models-framework.html\">Mohammad Azam<\/a>:<\/p>\n<blockquote cite=\"https:\/\/azamsharp.com\/2025\/06\/18\/the-ultimate-guide-to-the-foundation-models-framework.html\">\n<p>In this article, we will walk through how to get started with Apple&rsquo;s Foundation Models framework and explain the core concepts you need to understand in order to take full advantage of its powerful on-device AI capabilities.<\/p>\n<\/blockquote>\n\n<p id=\"foundation-models-framework-update-2025-07-01\">Update (<a href=\"#foundation-models-framework-update-2025-07-01\">2025-07-01<\/a>): <a href=\"https:\/\/www.natashatherobot.com\/p\/apple-foundation-models\">Natasha Murashev<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.natashatherobot.com\/p\/apple-foundation-models\"><p>This blog post is focused on the <a href=\"https:\/\/developer.apple.com\/videos\/play\/wwdc2025\/286\/\">Meet the Foundation Models framework<\/a> video[&#8230;]<\/p><\/blockquote>\n\n<p id=\"foundation-models-framework-update-2025-07-23\">Update (<a href=\"#foundation-models-framework-update-2025-07-23\">2025-07-23<\/a>): <a href=\"https:\/\/mastodon.social\/@Gte\/114898471465060659\">Guy English<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@Gte\/114898471465060659\">\n<p>This API is pretty incredible. What an amazingly simple way to interact with a complex service. I&rsquo;ve been marvelling at it since it was announced. Some times a technology comes along and it&rsquo;s capabilities exceed my imagination. I kind of feel this way about A.I. Maybe the first thing to make me feel old.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/appleinsider.com\/articles\/25\/07\/18\/meta-has-poached-two-more-heavyweights-from-apples-ai-team\">Amber Neely<\/a>:<\/p>\n<blockquote cite=\"https:\/\/appleinsider.com\/articles\/25\/07\/18\/meta-has-poached-two-more-heavyweights-from-apples-ai-team\"><p>After luring one of Apple&rsquo;s chief AI researchers with a blockbuster pay package, Meta has now hired two more key members of his former team.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Apple (MacRumors, 9to5Mac, Hacker News, Slashdot): Apple is opening up access for any app to tap directly into the on-device foundation model at the core of Apple Intelligence. With the Foundation Models framework, app developers will be able to build on Apple Intelligence to bring users new experiences that are intelligent, available when they&rsquo;re offline, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2025-06-17T20:16:12Z","apple_news_api_id":"09e328aa-759c-423d-a2f7-02547a7601c1","apple_news_api_modified_at":"2025-07-23T17:07:19Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAw==","apple_news_api_share_url":"https:\/\/apple.news\/ACeMoqnWcQj2i9wJUenYBwQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[2602,2315,1351,1621,2781,31,2741,30,2742,71,901,1221],"class_list":["post-48117","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-apple-intelligence","tag-apple-software-announcement","tag-artificial-intelligence","tag-marzipan","tag-foundation-models-framework","tag-ios","tag-ios-26","tag-mac","tag-macos-tahoe-26","tag-programming","tag-swift-programming-language","tag-wwdc"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/48117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=48117"}],"version-history":[{"count":5,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/48117\/revisions"}],"predecessor-version":[{"id":48611,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/48117\/revisions\/48611"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=48117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=48117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=48117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}