Apple just made cloud AI free for most indie developers. If your app is part of the App Store Small Business Program and has fewer than 2 million total first-time downloads, you get access to Apple Foundation Models (AFM) on Private Cloud Compute at zero cloud API cost.
No per-token billing. No usage caps (within reasonable limits). No surprise invoices at the end of the month. For small developers building iOS apps with AI features, this changes the economics completely.
Letās dig into what you actually get, who qualifies, and whether AFM is good enough to replace the paid AI APIs youāre currently using.
What is Apple Foundation Models?
Apple Foundation Models (AFM) is Appleās own family of language models, available in two tiers:
- AFM On-Device: Small models that run locally on iPhone, iPad, and Mac. Powers Siri intelligence, Writing Tools, and the on-device features youāve seen since iOS 18.
- AFM Cloud (Private Cloud Compute): Larger, more capable models that run on Appleās Private Cloud Compute infrastructure. Your data is processed but never stored, logged, or accessible to Apple.
The free tier applies to AFM Cloud ā the server-side models that handle tasks too complex for the on-device models. Think multi-step reasoning, long document analysis, complex code generation, and advanced natural language understanding.
Who qualifies for the free tier?
The eligibility criteria are straightforward:
- App Store Small Business Program member: You pay the 15% commission rate (not the standard 30%)
- Under 2 million total first-time downloads: This is cumulative across your appās lifetime, not monthly active users
If you meet both criteria, AFM Cloud is included at no additional cost. You access it through the standard Apple frameworks ā no separate billing account, no API key management, no credit card on file.
For context, 2 million total first-time downloads is a generous threshold. The vast majority of indie apps and small studio apps fall well under this limit. Apple estimates this covers over 90% of apps on the App Store.
What does AFM Cloud Pro deliver?
Apple describes AFM Cloud Pro as ācomparable to Gemini frontier modelsā ā which puts it in the territory of Gemini 3.5 Pro, GPT-5.4, and Claude Sonnet 4.6 in terms of capability.
Based on WWDC sessions and early developer reports, AFM Cloud Pro handles:
- Natural language understanding: Intent parsing, entity extraction, semantic search
- Text generation: Long-form content, summaries, translations
- Code generation: Swift, Python, JavaScript ā with particularly strong Swift performance
- Reasoning: Multi-step problem solving, planning, logic
- Multimodal input: Image understanding, document parsing (with supported input types)
Is it as good as Claude Opus or GPT-5.5 for every task? Probably not. But for most app-level AI features ā chatbots, content generation, smart search, document analysis ā itās more than sufficient. And the price (free) is hard to beat.
How it compares to paid alternatives
Hereās the real question: should you drop your existing AI API provider and switch to AFM?
| Provider | Cost (per 1M tokens) | Privacy | Platform | Speed |
|---|---|---|---|---|
| AFM Cloud Pro (free tier) | $0 | Private Cloud Compute (no data retention) | Apple only | Fast (Apple infrastructure) |
| OpenAI GPT-5.4 | ~$3 input / $15 output | Data may be used for training (opt-out available) | Any platform | Fast |
| Claude Sonnet 4.6 | ~$3 input / $15 output | No training on your data | Any platform | Fast |
| Gemini 3.5 Flash | ~$0.075 input / $0.30 output | Googleās data policies | Any platform | Very fast |
| DeepSeek V4 | ~$0.14 input / $0.28 output | Chinese jurisdiction | Any platform | Fast |
The comparison is stark. If youāre building an Apple-only app and you qualify for the free tier, the cost savings are enormous. Even compared to the cheapest AI APIs, AFM at zero cost wins on economics alone.
The tradeoffs:
- Apple-only: AFM is only available for Apple platform apps. No web apps, no Android, no backend services.
- Framework dependency: You access AFM through Appleās SDKs. No raw HTTP API.
- No fine-tuning: You use Appleās model as-is. No custom training.
Privacy: Private Cloud Compute explained
Appleās privacy story here is genuinely strong. Private Cloud Compute (PCC) means:
- Your data is processed on Apple Silicon servers in Appleās data centers
- Data is never stored after processing completes
- Data is never logged or accessible to Apple employees
- The entire stack is auditable by independent security researchers
- Cryptographic attestation verifies the server code hasnāt been tampered with
For developers building privacy-focused AI apps, this is as good as it gets without running your own infrastructure. You get cloud-scale AI capabilities with on-device-level privacy guarantees.
Compare this to sending user data to OpenAI or Anthropicās APIs, where youāre relying on contractual promises rather than cryptographic verification. PCC is architecturally private, not just policy-private.
Integration: Language Model Protocol
You access AFM through Appleās Language Model Protocol ā an open protocol covered in WWDC Session 339. The key interface is LanguageModelExecutor, which you implement to connect any LLM provider to your app.
Hereās the elegant part: the same protocol works for AFM, Claude, Gemini, or any custom provider. You write your AI features once against LanguageModelExecutor, and swap providers without changing app code.
// Conceptual example ā actual API details pending public SDK release
let executor = AFMCloudExecutor()
let response = try await executor.generate(
prompt: "Summarize this document...",
parameters: .default
)
Apple plans to open-source the Language Model Protocol framework later in 2026, which could make it a cross-platform standard for LLM integration ā not just an Apple-only thing.
What about apps that exceed the threshold?
If your app crosses 2 million total first-time downloads, you move to Appleās paid AFM tier. Pricing details havenāt been fully disclosed yet, but Apple has indicated it will be competitive with major API providers.
The transition is designed to be smooth ā your code doesnāt change, you just start paying for usage above the free tier. No migration, no API changes, no downtime.
For apps approaching the threshold, this is a good problem to have. An app with 2 million downloads is generating meaningful revenue, and AI API costs become a normal cost of doing business. Check our AI API pricing comparison for context on what competitors charge at scale.
Real cost savings calculation
Letās put numbers to this. Say your app makes 100,000 AI requests per month, averaging 1,000 input tokens and 500 output tokens per request:
- OpenAI GPT-5.4: ~$300 input + ~$750 output = $1,050/month
- Claude Sonnet 4.6: ~$300 input + ~$750 output = $1,050/month
- Gemini 3.5 Flash: ~$7.50 input + ~$15 output = $22.50/month
- AFM Cloud Pro (free tier): $0/month
Over a year, thatās anywhere from $270 to $12,600 saved depending on which provider youād otherwise use. For indie developers, thatās the difference between a profitable side project and one that bleeds money. Weāve covered the real cost of AI coding tools before ā the same economics apply to AI app features.
When to use AFM vs. alternatives
Use AFM Cloud Pro when:
- Your app is Apple-only (iOS, macOS, visionOS)
- You qualify for the free tier
- Privacy is important to your users
- You want zero API cost management
- The model capability (comparable to Gemini frontier) is sufficient
Keep your existing AI API when:
- You need cross-platform support
- You need a specific modelās strengths (Claudeās reasoning, GPTās instruction following)
- You need fine-tuning or custom models
- Your app exceeds the download threshold and AFM pricing isnāt competitive
- Youāre building a backend service, not a client app
Consider a hybrid approach:
- Use AFM for the bulk of requests (itās free)
- Fall back to a paid API for specialized tasks where AFM underperforms
- Use the Language Model Protocol to switch between providers seamlessly
How to get started
- Ensure eligibility: Confirm your app is in the App Store Small Business Program and under 2M downloads
- Install Xcode 27: AFM Cloud Pro integration is available through the latest SDK
- Import the framework: Use Appleās AI framework with
LanguageModelExecutor - Test locally: AFM On-Device models work without network access for basic testing
- Deploy: AFM Cloud routes automatically ā no server provisioning needed
The best free AI APIs guide covers alternatives if you need options beyond Appleās ecosystem.
What this means for indie developers
Apple making frontier-class AI free for small developers is a strategic move. It keeps developers building Apple-native apps instead of wrapping web-based AI services. It makes building AI features viable for apps that couldnāt justify API costs. And it positions Appleās platform as the most developer-friendly place to ship AI-powered apps.
For indie developers and small studios, the message is clear: if youāre building for Apple platforms, you no longer need to budget for AI API costs. The model is capable, the privacy is best-in-class, and the integration is first-party.
The AI API pricing landscape just got a serious shakeup. For comparing AI model costs, you now have to include āfree for qualifying Apple developersā as a column ā and itās hard to beat.
Frequently Asked Questions
Do I need a paid Apple Developer account to use AFM Cloud Pro?
Yes. You need an active Apple Developer Program membership ($99/year) and enrollment in the App Store Small Business Program. The AFM Cloud Pro access is tied to your developer account and your appās distribution through the App Store.
Does the 2 million download limit apply per-app or across all my apps?
Per-app. Each app is evaluated independently. If you have three apps and each has 1 million downloads, they all qualify individually.
Can I use AFM Cloud Pro for a macOS app, not just iOS?
Yes. AFM Cloud Pro is available for any Apple platform ā iOS, iPadOS, macOS, watchOS, tvOS, and visionOS. The requirement is that the app is distributed through the App Store (or TestFlight for testing).
What happens if my app suddenly goes viral and crosses 2M downloads?
Apple has indicated thereās a grace period and youāll receive advance notification before being moved to the paid tier. Your app wonāt suddenly lose AI functionality. The transition is designed to be seamless.
Is AFM Cloud Pro available for server-side Swift apps?
No. AFM Cloud Pro is designed for client apps distributed through the App Store. If youāre building a server-side application (even in Swift), youāll need a traditional AI API provider. Check the AI API pricing comparison for server-side options.
How does AFM Cloud Pro compare to running models locally on Apple Silicon?
AFM Cloud Pro is significantly more capable than what you can run locally on Apple Silicon. Local models are limited by device RAM (typically 8-32GB on consumer Macs), while Cloud Pro runs full-size frontier models on Appleās server infrastructure. Use on-device models for offline/latency-sensitive tasks and Cloud Pro for capability-demanding tasks.