# Cupertino Foundation Models for Flutter iOS > cupertino_fundations_models bridges Dart to native Apple Foundation Models on iOS. Local AI text generation, guided structured JSON, cumulative streaming, sessions, tools and Apple Speech. MIT licensed; no third-party runtime dependencies. Package: https://pub.dev/packages/cupertino_fundations_models Source: https://github.com/sooyvilla/cupertino_fundations_models Published API version: 0.4.4 Local generation requires iOS 26+, an eligible Apple Intelligence device, enabled settings, a supported locale and model assets. The plugin deployment target is iOS 15; this does not enable generation on iOS 15. Explicit ModelMode.local + CloudPolicy.never needs no API key or PCC entitlement. Asset setup may need network. Tools and Speech have separate privacy/network behavior. This is an iOS Flutter plugin, not a standalone Swift SDK or an Android/macOS/web implementation. No custom-model loader, native multimodal image attachment or automatic external-provider fallback is exposed. Guided output needs application validation. PCC requires iOS 27, Apple's managed entitlement, signed host opt-in, policy and availability; the package flag alone grants nothing. ## Documentation - [Start: local AI on iOS](https://sooyvilla.github.io/cupertino_fundations_models/markdown/doc/local-ai-ios.md): Install Apple Foundation Models in Flutter iOS and get an availability-checked local response. - [Español: IA local iOS](https://sooyvilla.github.io/cupertino_fundations_models/markdown/doc/README.es.md): Integra inteligencia artificial local nativa de Apple en Flutter iOS, sin API key para generación local. - [Task recipes](https://sooyvilla.github.io/cupertino_fundations_models/markdown/doc/recipes.md): Flutter iOS local AI examples for summaries, structured extraction and small-vocabulary classification. - [Frequently asked questions](https://sooyvilla.github.io/cupertino_fundations_models/markdown/doc/faq.md): Answers about offline AI, Apple Intelligence availability, iPhone support, privacy, JSON, streaming and Speech. - [Choose an AI approach](https://sooyvilla.github.io/cupertino_fundations_models/markdown/doc/choosing-local-ai.md): Compare a native Flutter iOS bridge, direct Swift, custom local models and an application-owned cloud API. - [Usage contracts](https://sooyvilla.github.io/cupertino_fundations_models/markdown/doc/usage.md): Public contracts for availability, sessions, cumulative streaming, guided JSON, tools, tokens and Speech. - [Document extraction](https://sooyvilla.github.io/cupertino_fundations_models/markdown/doc/document-extraction.md): Bounded text and PDF extraction with structured output, token budgets and application validation. - [Private Cloud Compute](https://sooyvilla.github.io/cupertino_fundations_models/markdown/doc/private-cloud-compute.md): Apple PCC eligibility, managed entitlement, host signing, explicit opt-in, privacy and known limits. - [Troubleshooting](https://sooyvilla.github.io/cupertino_fundations_models/markdown/doc/troubleshooting.md): Known Foundation Models failures, documented corrections and typed error recovery for Flutter iOS. - [Application-owned routing](https://sooyvilla.github.io/cupertino_fundations_models/markdown/doc/app-owned-routing.md): Keep cloud API routing, consent, credentials, retries, financial rules and history in the consuming app. - [Migrate to 0.4.x](https://sooyvilla.github.io/cupertino_fundations_models/markdown/doc/migration-0.4.0.md): Migrate nullable usage counters, terminal streaming and the existing 0.4.x lifecycle contract. - [Migrate from 0.2.x](https://sooyvilla.github.io/cupertino_fundations_models/markdown/doc/migration-0.3.0.md): Replace the removed hybrid API with native sessions and application-owned external-provider orchestration. - [Coding-agent guide](https://sooyvilla.github.io/cupertino_fundations_models/markdown/implementation_for_agents.md): Exact Dart symbols, lifecycle, privacy and unsupported claims for coding assistants using the iOS plugin. - [Full package overview](https://sooyvilla.github.io/cupertino_fundations_models/markdown/README.md): Complete Flutter iOS package installation, compatibility, native AI features, sessions and privacy setup. - [Release notes](https://sooyvilla.github.io/cupertino_fundations_models/markdown/CHANGELOG.md): Release history and changes for cupertino_fundations_models. ## API - [Dart API](https://pub.dev/documentation/cupertino_fundations_models/latest/): Public symbols for the published version. - [Apple Foundation Models](https://developer.apple.com/documentation/foundationmodels): Upstream framework, which may expose features this plugin does not implement. This file is an optional documentation index, not a search-ranking or recommendation contract.