A Swift package that lets any Mac app use Apple's Private Cloud Compute models via the command-line tool fm, bypassing Apple's 2-million-download cap restriction.

Stars

78

7-day growth

No data

Forks

0

Open issues

0

License

BSD-2-Clause

Last updated

2026-07-10

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It provides a clever, entitlement-free workaround for developers excluded from Apple's Private Cloud Compute program due to high app downloads, enabling AI features without requiring special approval.

Who it is for

  • Mac developers distributing outside the Mac App Store
  • Independent developers whose apps exceed 2 million downloads
  • Small developers wanting to use Private Cloud Compute without entitlement

Use cases

  • Integrating AI-powered features into Mac apps without Apple's permission
  • Bypassing Apple's download-based restriction on Private Cloud Compute
  • Experimenting with Apple's local and cloud language models in non-sandboxed apps

Strengths

  • Simple drop-in LanguageModel implementation using the built-in fm tool
  • Works without any special entitlement from Apple
  • Enables Private Cloud Compute for apps distributed outside the Mac App Store
  • Leverages a standard macOS command-line tool already present in macOS 27

Considerations

  • Does not work for sandboxed apps (e.g., Mac App Store distribution)
  • Relies on an undocumented or internal tool that may change or be removed
  • Use is at the developer's own risk and may violate Apple's intended policy

README quick start

TwoMillionKit

Apple added the ability for third-party apps to use Private Cloud Compute language models in macOS 27 and aligned releases, but with a significant caveat: only developers who are a part of the Small Business Program can participate, and only those who haven’t had any of their apps surpass 2 million downloads.

According to Apple, one of my apps has surpassed 2 million downloads. That’s an iOS app that’s been in the App Store for nearly 10 years, and has had most of its 2 million downloads within the first few years of existence. Because of that, none of my apps can use Private Cloud Compute, putting me in a significant disadvantage because I can’t ship cool AI features like many other small developers will be doing this Fall.

It’s worth noting that even though Apple claims that my app has had more than 2 million downloads, none of their reports in App Store connect come close to that number. I asked them to provide me the report that says that my app has had more than 2 million downloads, but my email must have ended up in /dev/null because I never got any response.

The “Solution”

Apple ships the fm command-line tool in macOS 27, which can be used to run inference with the local system model or Private Cloud Compute from Terminal or scripts. You know what else can run command-line tools? Mac apps! 😃

I decided to spend some of my Codex tokens and take GPT 5.6 Sol for a spin. I asked it to create this Swift package. All it does is provide a LanguageModel implementation that uses the fm command-line tool under the hood, meaning that any Mac app can use the Private Cloud Compute model without requiring a special entitlement from Apple.

The main limitation is that this will not work for sandboxed Mac apps, so any Mac app distributed via the Mac App Store won’t be able to use it.

But for developers of Mac apps distributed outside the Mac App Store, this provides a simple and entitlement-free way to use Private Cloud Compute in their apps.

Use sparingly and at your own risk.

Enjoy!

Description

Use Private Cloud Compute in FoundationModels without an entitlement

Related repositories

Similar projects matched by category, topics, and programming language.

Blaizzy
Featured
Blaizzy GitHub avatar

nativ

Nativ is a native macOS app that lets you run AI models locally on Apple silicon, offering chat, model management, performance analytics, and an OpenAI/Anthropic-compatible API server.

AI & Machine LearningAI Vision & Audio
985
uzairansaruzi
Featured
uzairansaruzi GitHub avatar

hermex

Hermex is a native SwiftUI iPhone app that lets you control a self-hosted Hermes AI agent directly from your phone, with no subscriptions, tracking, or third-party relay.

AI & Machine LearningLarge Language Models
941
simonw
Featured
simonw GitHub avatar

speech-analyzer-cli

A macOS command-line tool that uses Apple's on-device speech APIs to transcribe prerecorded audio into plain text, JSON, JSONL, SRT, or WebVTT.

Developer ToolsCLI & Terminal
20