Foundation Models framework(developer.apple.com)
266 points by kermatt 17 days ago | 35 comments
tl;dr: Apple's Foundation Models framework is a native Swift API that provides access to on-device Apple Intelligence models and extends to server models like Claude and Gemini through a unified protocol. New capabilities include multimodal image understanding, Dynamic Profiles for swapping models/tools mid-session, an Evaluations framework for testing prompts, and an `fm` CLI tool in macOS 27. Developers in the App Store Small Business Program get free access to Apple's models via Private Cloud Compute, and a Python SDK plus open-source utilities are also available.
HN Discussion:
  • ↑Highlights the free PCC access benefit for Small Business Program developers
  • ↑Points to related Apple CoreAI efforts adapting open-weight models for Swift
  • ↑Shares positive hands-on experience with on-device models in real projects
  • •Questions how Apple's on-device model compares to similarly sized competitors
  • •Asks practical questions about capabilities like coding or using consumer LLM plans