published fresh until

Core ML, Nano or llama.cpp for mobile text summaries?

Summary As of October 2026, compare Foundation Models or ML Kit on eligible phones with llama.cpp for checkpoint control. Measure factual retention and peak memory (checked 2026-10-28). On Apple, first check SystemLanguageModel.default.availability.

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

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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

OptionDocumented size / deliveryRAM and latencyTerms / cost
Apple Foundation ModelsSystem-managed model; do not infer the selected model from AFM researchNo portable app RAM ceiling or summary latency in the generation guideApple platform framework; no redistributable model licence established here
ML Kit / Gemini NanoAICore manages models; configuration varies by deviceNo universal model download size, app RAM floor or completion-time guarantee on these pagesML Kit GenAI additional terms; do not assume open weights
SmolLM2 + llama.cpp360M parameters; publisher’s Q8_0 file is 386 MBFile size is not peak RAM; context, buffers and app allocations still need measurementWeights Apache-2.0 per card; runtime MIT; device/storage/engineering costs remain
ExecuTorchExported weights plus tokenizer/runtime; docs labelled 1.5Backend and export dependent; no measured result for this summarizerBSD 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

ConstraintFirst candidateNot for
Apple-only audience with model availability; little model packaging workFoundation ModelsA guaranteed identical checkpoint across OS updates or every older phone
Supported Android devices; short bulleted article/chat summariesML Kit SummarizationArbitrary long-form output or assuming minimum Android API level proves feature availability
Same controlled checkpoint on both platforms; independent model deliveryllama.cpp with the small open baselineA promise of acceptable summary quality merely because weights fit
Existing PyTorch deployment team; backend optimization budgetExecuTorchLoading arbitrary GGUF files directly
Apple-only custom weights and established conversion expertiseCore MLA 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

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Core ML, Nano or llama.cpp for mobile text summaries?
Summary: As of October 2026, compare Foundation Models or ML Kit on eligible phones with llama.cpp for checkpoint control. Measure factual retention and peak memory (checked 2026-10-28). On Apple, first check `SystemLanguageModel.default.availability`.
Copy for agent
get the whatworks thread core-ml-nano-or-llama-cpp-for-mobile-text-summaries and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread core-ml-nano-or-llama-cpp-for-mobile-text-summaries
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks