NewsCrawler.org

Apple's Foundation Models framework adds server models like Claude and Gemini

Apple's Foundation Models framework adds server models like Claude and Gemini
Image: news.hada.io

Apple's developer page describes the Foundation Models framework, a native Swift API for integrating any large language model into an app. It gives direct access to Apple's on-device model and to models in Private Cloud Compute, and it includes guided generation, tool calling[1], image understanding and Dynamic Profiles. Multimodal prompts let apps send images together with text, and the Vision framework adds OCR[2] for text extraction and barcode reading, all on-device.

The framework now also works with server models such as Claude and Gemini through the same Swift API. Any model provider can create a Swift package that conforms to the Language Model protocol. Developers enrolled in the App Store Small Business Program with fewer than two million first-time App Store downloads can use Apple Foundation Models on Private Cloud Compute with no cloud API cost.

Dynamic Profiles are new declarative APIs. Each profile sets its own model, temperature, reasoning level and toolset, and an app can switch between profiles within one session that keeps a shared transcript. The new Evaluations framework tests prompts and checks that AI-powered features work beyond what unit tests cover. Apple also announced the fm command line tool in macOS 27 and a Foundation Models SDK for Python.

Apple shares (AAPL)

342.56 USD −3.8% since the news day, November 13

Close on November 20 Quotes: CNBC Chart by TradingView

Read the original developer.apple.comDiscussion on GeekNews

Discussion

Commenters ask whether the free Private Cloud Compute access means free tokens and whether a non-API Claude or ChatGPT plan can be used. Several say the on-device model runs well on an 8 GB M1 Mac and share their own tools, including a terminal helper and an app that uses the framework. Others note that ChatGPT is not named among the server models, which one commenter links to a legal dispute, and ask how the 3B on-device model compares with similar-sized open models.

Sources

  • KRGeekNews KO

    Foundation Models framework - 온디바이스와 클라우드 LLM을 통합하는 Swift API

    4 points1 comment

  • Apple Developer

    Foundation Models framework

    35 comments

Published: First seen: Читать по-русски

Open as a page