Hacker News·First covered 13 Nov 2026HN front page
Foundation Models framework
Apple's Foundation Models framework is a Swift API for putting language models in apps, now covering its on-device model, Private Cloud Compute and third-party servers such as Claude and Gemini.
Stats
(As of 13 Nov 2026)- Points
- 247
- Comments
- 33
- Submitted by
- kermatt
- Posted
- 18h
- Any provider can ship a Swift package conforming to the Language Model protocol, keeping tool calling and guided generation.
- Multimodal prompts accept images, and Vision tools such as OCR and barcode reading run on-device.
- Dynamic Profiles swap model, temperature, reasoning level and tools within one session while sharing the transcript.
- Small Business Program members under two million first-time downloads can use the Private Cloud Compute models at no API cost.
- An Evaluations framework, an fm CLI in macOS 27 and a Python SDK round it out.
The discussion
- ThemeReaders parse the Private Cloud Compute offer, with one calling it free samples of tokens. comment
- DisputedOne user finds the on-device model capable for fixing terminal commands on an 8 GB M1; a reply finds its safety limits aggressive. comment
- CounterpointCoding is a weak spot: one tester says even the Private Cloud Compute model struggled to build a simple platformer. comment
- ThemeOthers note Claude supports App Attest, letting iOS apps call models without shipping a key. comment