TwoMillionKit: Use Private Clo... Note

TwoMillionKit: Use Private Cloud Compute in MacOS 27 Foundation Models Without an Entitlement

Apple includes the fm command-line tool in macOS 27, enabling local system model or Private Cloud Compute inference. Mac applications can also execute command-line tools. Guilherme Rambo utilized GPT 5.6 Sol to generate a Swift package for this purpose. This package facilitates using the fm command-line tool within Mac apps. It offers a LanguageModel implementation that leverages the tool for model inference. Consequently, any Mac app can utilize the Private Cloud Compute model. This circumvents the need for a special entitlement from Apple. However, this solution is not compatible with sandboxed Mac applications. Therefore, Mac apps distributed through the Mac App Store cannot use this approach. Developers distributing apps outside the App Store can now integrate Private Cloud Compute without entitlements. This workaround addresses Apple's limitation, which restricts Private Cloud Compute access. The limitation targets developers not in the App Store Small Business Program with fewer than two million first-time downloads.