A fully air-gapped local inference environment for high-performance agentic coding and general AI workflows. No cloud. No telemetry. No API keys.
Apple Silicon's unified memory architecture eliminates the VRAM bottleneck that constrains NVIDIA-based systems. The CPU, GPU, and Neural Engine share the same high-bandwidth memory pool, allowing large models to run at full GPU speed regardless of parameter count. The M4/M5 Max chips are the only laptop-class silicon capable of running 27–31B parameter models at interactive speeds while simultaneously running a full Xcode development environment.
The M4 Max provides excellent local LLM throughput at a lower price point. The 96 GB configuration runs Q8_0 models comfortably alongside Xcode, though memory headroom is tighter during heavy Simulator sessions.
The M5 Max with 128 GB is the definitive portable LLM workstation in 2026. The 614 GB/s bandwidth nearly doubles inference speed over the M4 Max, and 128 GB provides maximum headroom to run two models or a model plus heavy IDE usage simultaneously.
Large model files demand substantial local storage. A Q8_0 27B model occupies ~29 GB; a 31B model ~33 GB. Additional quantization variants (Q4, Q6) for testing, plus future model downloads and project data, accumulate quickly. 4 TB provides sufficient runway without managing storage constraints.
Both runtimes are free and open source, run entirely offline after initial model download, and expose an OpenAI-compatible API on localhost — meaning any Xcode AI plugin, Claude Code, Cursor, or custom Swift tooling can connect without modification. Choose one based on workflow preference; they can coexist on the same machine.
A native macOS desktop app with a polished GUI for browsing, downloading, and switching models. Supports MLX-native builds with a simple filter, exposes a local server at port 1234, and includes a built-in chat interface for rapid testing. Best choice for users who prefer visual tooling over the terminal.
A lightweight CLI daemon that manages model downloads and inference via a single terminal command. Now ships with an MLX backend on Apple Silicon for improved speed. Ideal for scripted workflows, shell integration, or when running the model as a persistent background service. Connects to the same OpenAI-compatible API endpoint.
Two specialist models cover distinct workload profiles. The 8-bit MLX quantization format is used for both — it preserves ~99% of full-precision quality while reducing memory footprint by ~45% versus BF16, and runs natively on Apple's Metal GPU via the MLX framework for maximum throughput. Both models are Apache 2.0 licensed with no usage restrictions.
A 27-billion parameter dense model from Alibaba's Qwen team, purpose-built for agentic coding workflows. Its SWE-bench Verified score of 77.2% places it at flagship level for real-world GitHub issue resolution — matching cloud-hosted models. The extended 262K token context window holds entire Swift packages, project hierarchies, and long debugging sessions in a single context. The dense architecture (as opposed to MoE) provides more consistent, reliable output on complex multi-step coding tasks, with minimal hallucination on API signatures and framework specifics. Thinking mode is enabled by default for deeper reasoning on architecture decisions.
Google DeepMind's flagship open model — a 31-billion parameter dense model built on the same research lineage as Gemini 3. It currently ranks #3 among all open models on the Arena AI leaderboard and excels at general reasoning, writing, summarization, and multimodal tasks. Its native image and document understanding (OCR, chart comprehension, UI screenshot analysis) makes it the right tool for analyzing design mockups, parsing PDFs, or reviewing visual assets alongside code. The 256K context window and day-0 MLX support make it an ideal complement to the Qwen coding model.