Running Qwen3.6 Locally on a MacBook: oMLX + opencode, Faster Than I Expected A developer ran Qwen3.6-35B-A3B, a 35B-parameter mixture-of-experts model with roughly 3B active parameters, locally on a 14-inch MacBook Pro (M5 Pro, 48GB) using the MLX-based oMLX v0.7.2 inference server, and connected it to the opencode terminal coding assistant through oMLX's OpenAI-compatible API. Estimating from the chat UI's token counter, the setup generated roughly 100 tokens per second, though the developer cautioned this was an order-of-magnitude figure rather than a rigorous benchmark. The omlx-server process alone used about 18GB of memory, and the developer concluded that simple and text-heavy tasks can be handed to a local model while only deep-reasoning work needs a top cloud model. One 14-inch MacBook Pro. No internet, no API bill. Chat and coding both work, and token output is fast. Load Qwen3.6-35B-A3B MLX 4bit locally with oMLX . It is good enough for everyday chat and coding. | Item | Spec | |---|---| | Machine | MacBook Pro 14" M5 Pro | | CPU | 15 cores 10 performance + 5 super cores | | GPU | 16 cores | | Memory | 48 GB | | OS | macOS Tahoe 26.6.1 | | Inference server | oMLX v0.7.2 | | Model | Qwen3.6-35B-A3B-MLX-4bit | The 35B-A3B in the name is the key. It is a MoE Mixture of Experts model with 35B total parameters, but only about 3B are active per token. MLX is Apple's own machine learning framework. It uses Metal and unified memory directly, and is usually easier and faster on a Mac than generic solutions. oMLX is a local inference server built on MLX, with a built-in web Chat. Once oMLX is running, it comes with a web chat UI. Model selection, conversation history and search all work out of the box. A few details from the screenshot: Qwen3.6-35B-A3B-MLX-4bit . The recording below about 34 seconds is one complete conversation: The flow: This detour is normal: oMLX is a new tool and not in the model's training data. A local model is good for general Q&A, rewriting and explaining code. For very new tools, you still need to read the docs yourself. For coding I used opencode an AI coding assistant for the terminal . After pointing its model at the local oMLX endpoint, the bottom of the UI shows the current mode and model: Build · Qwen3.6-35B-A3B-MLX-4bit · oMLX . Here is a recording about 23 seconds : How to connect it: oMLX exposes an OpenAI-compatible API, so you only need to add a custom provider in the opencode config. The config below is an example. Use the port and model ID that your own oMLX shows. { "$schema": "https://opencode.ai/config.json", "provider": { "omlx": { "npm": "@ai-sdk/openai-compatible", "name": "oMLX", "options": { "baseURL": "http://localhost: