Vision & Multimodal
Local Vision Models for iPhone: How to Choose and Test One
To ask about a photo from your iPhone, the model needs to accept images and suit the task.
What to try
- Prepare a scene photo, one with text and one in low light.
- Ask about verifiable details and record when the model invents something or cannot read it.
To ask about a photo from your iPhone, the model needs to accept images and suit the task. Reading small print and describing a scene are different tests.
How On-Device Vision-Language Models Actually Work
A multimodal model does not simply "read" raw pixels. The pipeline consists of three tightly coupled stages:
- Vision Encoder: A specialized vision transformer (such as SigLIP or CLIP) slices an image into a grid of 14x14 or 16x16 pixel patches, producing continuous spatial embeddings.
- Cross-Modal Projector: A lightweight linear layer or multilayer perceptron aligns the visual embeddings with the hidden dimensionality of the language model.
- Autoregressive LLM Backbone: The language model processes both the visual tokens and the user text query simultaneously, generating structured textual responses.
To explore how vision encoders and autoregressive decoders interact in unified memory, read our technical breakdown on running vision language models locally.
The Memory Challenge: Image Patches vs. iOS Jetsam Limits
In standard text generation, one word corresponds roughly to one token. In visual models, a single high-resolution document photo can produce between 576 and 1,600 visual tokens before the user asks a single question. On an iPhone with 8GB RAM where third-party apps have an operating budget of roughly 4.5 GB, uncontrolled token expansion can quickly trigger iOS memory termination.
Recent mobile architectures solve this through token compression and dynamic resolution scaling. Models like SmolVLM2 compress multi-patch visual representations, reducing visual token count by up to 4x while preserving fine document typography.
Text and visual patches add context. See the guide to KV cache memory and quantization to understand that memory use.
To see how those visual patches scale when sampling multiple frames per second in a clip, read how local video analysis works on Apple Silicon.
How to test it on your device
Prepare a scene photo, one with text and one in low light. Ask about verifiable details and record when the model invents something or cannot read it.
For a closer look at a compact option, read the analysis of offline SmolVLM on iOS.
Why Local Vision Matters: Privacy and Zero Server Exposure
Sending text prompts to a cloud server carries privacy risks, but sending photos is significantly more critical. Smartphone camera rolls contain identity documents, financial statements, medical tests, family photographs, and sensitive workspace diagrams.
When vision inference runs locally on Apple Silicon:
- No Image Uploads: Pixels are decoded directly from camera buffers into unified RAM and discarded immediately after inference.
- Zero Cloud Telemetry: No intermediate crops, bounding coordinates, or extracted text strings leave the device.
- Complete Offline Operation: Inspect receipts, read signs in foreign languages, or digitize handwritten notes in subterranean transit or airplane cabins without an internet connection.
If you want to synthesize new imagery directly on-device alongside visual analysis, explore the offline AI image generator on iOS.
Document OCR and Extraction in Lapis
In Lapis, on-device vision is optimized for instant document capture. You can take a photo of an invoice, dense contract clause, or whiteboard diagram, and the model extracts clean Markdown tables or structured text in seconds, leveraging the Apple Neural Engine and Metal Performance Shaders for low thermal overhead.
Once you have picked a model, try asking questions about a photo in Lapis.
Check the requirements for photo questions before choosing a model in Lapis.
Sources and references
- SmolVLM: Redefining small and efficient multimodal models
Hugging Face and collaborators (2025)
- Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution
P. Wang, S. Bai, et al. (Qwen Team, Alibaba Group / arXiv:2409.12191, 2024)
- Core ML and Metal Optimizations for Vision Transformers and Attention Layers
Apple Machine Learning Research (2024)
Local execution with Lapis
Chat with compatible models on iPhone, iPad and Mac. Download them once and use local inference offline; model size depends on your device’s resources.