Apple Core AI chat model — runs fully on-device on Apple Silicon
(iPhone / iPad / Mac, macOS/iOS 27+).
A quantized stateful KV-cache chat.aimodel — an Apple Core AI conversion of
Qwen/Qwen3-1.7B, with an embedded
tokenizer + chat template. Produced by
coreai-fabric and indexed by
coreai-catalog.
1importCoreAILanguageModels2importFoundationModels34// modelURL = the installed macos/ bundle directory for this model5let model =tryawaitCoreAILanguageModel(resourcesAt: modelURL)6let session =LanguageModelSession(model: model)7let reply =tryawait session.respond(to:"Explain on-device AI in one sentence.")8print(reply)
Deployment: macOS 27.0+ / iOS 27.0+, Xcode 27+. The asset serializes with
minimum_os v27, so the on-device Swift runtime requires macOS/iOS 27+.
A Mac on macOS 26 can convert and inspect the asset but cannot run it
on-device (the Swift runtime needs the 27 SDK).
Apple Silicon.
Intended use & limitations
Intended use: general on-device chat / text generation. Inherits the base
model's capabilities, languages, and biases.
Limitations: int8 quantized — the high-fidelity tier, near-lossless vs. fp16. See the Evaluation section for the measured
greedy fidelity vs the fp16 reference.
Evaluation (parity)
Gate A (structure): passed — the bundle's layout + metadata were
validated on real hardware (Apple Silicon); the asset loads and generates.
Gate B (numeric accuracy): not_run. Task-accuracy evaluation (e.g. tinyMMLU) is pending upstream: Apple's coreai.llm.eval is a stub in coreai-models 0.1.0 that cannot score a stateful KV-cache asset. Greedy fidelity vs fp32 can be measured on-device via the parity runner. fabric never fakes a parity number.
Runtime throughput (tok/s): to be published once measured on the on-device (macOS/iOS 27) Swift runtime via coreai-fabric bench. Not estimated — real numbers or none.
Community conversion. Not produced, hosted, or endorsed by Apple. Apple and
Core AI are trademarks of Apple Inc., used here only to describe the target
runtime/format. This is an independent community conversion.