What this thread does
On Apple devices, first check SystemLanguageModel.default.availability. Use the platform summarizer when available; compare llama.cpp for checkpoint control and ML Kit for eligible Android devices.
What changed
- Apple’s June 8, 2026 model announcement (checked 2026-10-28) describes AFM 3 Core with 3 billion parameters and a separate Core Advanced model. The announcement does not establish which model apps can select; use documented APIs.
- Google now documents a task-specific ML Kit Summarization API, currently beta (checked 2026-10-28), over Gemini Nano. It produces article/conversation bullet summaries, with device-dependent availability.
How to choose and build the first comparison
1. Collect actual notes, articles and chats; mark names, decisions, amounts and negations that must survive. Include unsupported languages and long inputs. Define latency and memory budgets. 2. On Apple devices, check SystemLanguageModel.default.availability, then create a fresh LanguageModelSession() per independent document and call respond(to:options:). These names come from Apple’s current generation guide (checked 2026-10-28). Offer an unavailable-state UI. 3. On Android, use com.google.mlkit:genai-summarization:1.0.0-beta1 (checked 2026-10-28). Call checkFeatureStatus() and download the feature when needed before inference. Follow Google’s sample; choose the article or conversation configuration to match your input. 4. For an open-weight baseline, use the publisher’s HuggingFaceTB/SmolLM2-360M-Instruct-GGUF, smollm2-360m-instruct-q8_0.gguf (checked 2026-10-28), with llama.cpp’s Android or SwiftUI example. Untested experiment: compare it with HuggingFaceTB/SmolLM2-1.7B-Instruct (checked 2026-10-28) after checking conversion support. Preserve the chat template. 5. For a PyTorch deployment team, evaluate ExecuTorch’s export-to-.pte and Swift/Java bindings. Untested experiment: exporting the candidate above through ExecuTorch or Core ML needs its own compatibility and output-parity check. Verify the model/backend pairing.
Model, memory and terms snapshot — checked 2026-10-28
| Option | Documented size / delivery | RAM and latency | Terms / cost |
|---|---|---|---|
| Apple Foundation Models | System-managed model; do not infer the selected model from AFM research | No portable app RAM ceiling or summary latency in the generation guide | Apple platform framework; no redistributable model licence established here |
| ML Kit / Gemini Nano | AICore manages models; configuration varies by device | No universal model download size, app RAM floor or completion-time guarantee on these pages | ML Kit GenAI additional terms; do not assume open weights |
| SmolLM2 + llama.cpp | 360M parameters; publisher’s Q8_0 file is 386 MB | File size is not peak RAM; context, buffers and app allocations still need measurement | Weights Apache-2.0 per card; runtime MIT; device/storage/engineering costs remain |
| ExecuTorch | Exported weights plus tokenizer/runtime; docs labelled 1.5 | Backend and export dependent; no measured result for this summarizer | BSD runtime licence; model licence is separate |
All sizes, versions, licences and terms in this table were checked 2026-10-28. The larger model card has summary examples and English-focused limitations. Core ML conversion means exporting and converting your own graph; it is distinct from accessing Apple’s system model.
Pick by constraint, including Not for per option
| Constraint | First candidate | Not for |
|---|---|---|
| Apple-only audience with model availability; little model packaging work | Foundation Models | A guaranteed identical checkpoint across OS updates or every older phone |
| Supported Android devices; short bulleted article/chat summaries | ML Kit Summarization | Arbitrary long-form output or assuming minimum Android API level proves feature availability |
| Same controlled checkpoint on both platforms; independent model delivery | llama.cpp with the small open baseline | A promise of acceptable summary quality merely because weights fit |
| Existing PyTorch deployment team; backend optimization budget | ExecuTorch | Loading arbitrary GGUF files directly |
| Apple-only custom weights and established conversion expertise | Core ML | A ready-made summarization model; conversion alone does not supply tokenization or decoding |
What breaks and what to test
Google’s summary input must be under 4000 tokens; article input must exceed 400 characters (checked 2026-10-28). Test chunk boundaries, factual omissions, cold/warm completion time, model downloads, airplane mode after preparation, cancellation and memory pressure. Avoid silent truncation.
Diagnostic: AICore failed with error type 4-CONNECTION_ERROR and error code 601-BINDING_FAILURE: AICore service failed to bind.
Google’s setup guidance associates this with device setup or AICore removal; update AICore and reinstall the app. This symptom does not select the best summarization model.
Community evidence
- zhouwg’s llama.cpp Android discussion tracks hardware acceleration and phone benchmarks. Test the actual SoC/backend; its throughput claims do not establish summary quality.
- Simon Willison’s Apple analysis highlights task-specific adapters, including summarization. It is historical commentary, not an evaluation of the current framework or evidence that custom open models perform equally well.
Pitfalls
Do not equate parameter count with summary accuracy, model bytes with RAM, or on-device inference with offline first installation. Do not append every document to a growing chat transcript. Never silently send private text to a cloud fallback.
A prompt for your agent
Your training data may predate these APIs. Read the linked Apple generation guide, Google summary guide, model cards and runtime docs first; do not guess package versions or model IDs. Build one cancellable summarization screen and an availability fallback. Compare the same documents, record exact runtime/model revisions and quantization, peak app memory, cold/warm completion latency and factual errors. Label unrun pairings “Untested experiment”. Keep document text out of trusted instructions.
Limits
No builds, conversions, memory/battery/latency measurements or comparative quality tests were run. Community evidence is thin; multilingual quality and low-end device support remain untested. Not for: loading a GGUF file directly in ExecuTorch; that is a runtime/export-format problem. Related: on-device-llm-in-a-mobile-app-litert-lm-gemini-nano-foundation-models.
Started from a post by @HuggingFaceTB, packaged by the editor. Original post