CoreAI-Model-Zoo

Core AI is Apple's on-device ML runtime in iOS 27 / macOS 27 and the successor to Core ML: PyTorch models are exported with Apple's coreai-torch (LLMs: coreai.llm.export) into .aimodel bundles that run on the GPU or the Neural Engine, e.g. Qwen3-8B 4-bit decodes at 94 tok/s on an M4 Max GPU, MLX 90 under the same protocol (apple-silicon-llm-bench, macOS 27 beta 26A5353q, 2026-06-11).
Converted models + conversion recipes for Apple Core AI (.aimodel, iOS 27 / macOS 27):
every model here is downloadable, gated against the original model before it ships, and carries
the recipe that produced it in models/<model>/recipe.toml — rerun it
(zoo_convert.py run <name>), check the published bundle against its source model
(zoo_verify.py), or adapt it for your own port. Don't take the gates on faith — they are run
here, and everything needed to re-run them is published. Each card states what was measured on
which hardware (iPhone tier is device-measured; the large models are Mac-only and say so) and how
strong that model's parity proof is, because it differs per model.
Where the shipped configuration could not be recovered from the repository, the recipe says so
rather than guessing. Model ports are open to everyone — the catalog serves
community ports from the contributor's own Hugging Face namespace, credited by name
(who).
Successor to CoreML-Models.
Start here — put one model in your Swift app
CoreAIKit 0.4.1: requirements, install and first answer →
Start with qwen3-0.6b in the release's built-in catalog. CoreAIKit downloads the matching
platform bundle once and caches it; your prompts and inference stay on the device.
The first download is about 352 MB on Mac (the separate iPhone variant is about
456 MB). Follow the Kit README for the exact tested OS/SDK and current device
verification. A Mac run is not evidence for the iPhone variant.
import CoreAIKit
guard let modelID = ModelCatalog.builtin.entry(id: "qwen3-0.6b")?.modelID else {
throw CoreAIKitError.modelNotAvailableOnPlatform(id: "qwen3-0.6b")
}
let chat = try await ChatSession(model: modelID)
let reply = try await chat.respond(to: "What is the capital of Japan?")
print(reply)
The same published release includes the
ChatDemo app and CLI:
git clone --branch 0.4.1 --depth 1 https://github.com/john-rocky/coreai-kit
cd coreai-kit/Examples/ChatDemo
export DEVELOPER_DIR=/Applications/Xcode-27.0.0-Beta.5.app/Contents/Developer
swift run -c release chat-cli --model qwen3-0.6b --prompt "What is the capital of Japan?"
Adjust DEVELOPER_DIR to your installed beta 5 app if its name differs.
Expect a text answer mentioning Tokyo after the initial download and model load.
For a conversation, keep one ChatSession and call respond(to:) again. The GUI is
in ChatDemo.xcodeproj; use My Mac or a physical iPhone with the required OS and SDK.
After that first success, try text-to-speech with
Speak and VoxCPM 0.5B
from the same release (a separate download, about 1.37 GB on Mac). Each model card
below links its own runner, minimal Swift function and integration requirements.
For FoundationModels apps, KitLanguageModel(model: modelID) supplies a chat
model to LanguageModelSession. Tool calling depends on the model's dialect; guided
generation also needs a compatible sequential engine. Check the
capability matrix.
The catalog includes non-chat tasks, which use their own Kit APIs.