Diffusion Language Models: Parallel Text Generation and What It Breaks (2026)


Multimodal AI on a phone is not a smaller version of multimodal AI in the cloud. It is a different engineering problem with different constraints — a 4GB RAM ceiling, a thermal budget that throttles after ninety seconds, a 3000mAh battery the user expects to last all day, an App Store review that rejects 800MB of model weights, and a device fleet from A18 Pro to Snapdragon 6 Gen 1. This article covers quantised on-device model formats (CoreML, ONNX, MLC, llama.cpp), the JSI bridge and TurboModule architecture that makes native model invocation cheap enough to run per camera frame, the vision pipeline (camera frame to label) and language pipeline (small Llama or Phi via llama.cpp) with realistic latency and battery numbers, cloud-fallback decision logic, thermal management, OTA model update strategy, and the testing discipline that catches regressions.
The default — pick the largest frontier model and route every request through it — is the wrong default for a meaningful share of production workloads in 2026. Small language models in the 2 to 14 billion parameter range (Phi-4, Llama 3.1 8B, Gemma 2, Mistral 7B, Qwen 2.5) handle classification, extraction, summarisation, and RAG re-ranking at one-fiftieth the cost per token of frontier models, with 5 to 10x lower latency. This guide covers the workloads where SLMs win, the model families and hardware to choose, the role of quantisation and fine-tuning, and the small-first routing pattern with frontier model fallback that most mature deployments converge on.
VLA foundation models — GR00T, Gemini Robotics, π0.5, OpenVLA — reshaped robotics by 2026. The architecture that matters is not the model but the dual-rate loop around it.
Recursive Language Models (RLMs) represent a structural departure from flat-context transformer inference — applying language model reasoning hierarchically across document structure to achieve linear compute scaling, coherent multi-document synthesis, and operationally tractable long-context AI. This article presents the complete production architecture, from chunk graph construction and tiered inference to cost modeling, failure design, and observability, written for solution architects and staff engineers building production AI platforms.
Advertise and partner
Reach engineering leaders and CTOs reading about AI, mobile and cloud architecture.
Sponsored mentions and co-authored articles or technical deep-dives. Relevant products only, always disclosed.