Run local models on your Mac
Portato is a menu bar app for chat and coding work with models that run on your own machine. It is built on mlx-node, an open source engine you can also use from the terminal, over HTTP or from TypeScript.
Here's your November 2026 spending by category (all 31 transactions, total $3,696.33):
| Category | Amount | Share |
|---|---|---|
| Housing (rent) | $1,850.00 | 50.05% |
| Travel (Coastline Air, Seaside Inn) | $437.00 | 11.82% |
| Groceries | $383.46 | 10.37% |
| Utilities (power, water, internet, phone) | $248.55 | 6.72% |
| Dining out | $243.90 | 6.60% |
| Shopping (clothing, books, home) | $239.70 | 6.48% |
| Transportation (transit, gas, parking, taxi) | $138.10 | 3.74% |
| Health (pharmacy, dental) | $78.65 | 2.13% |
| Fitness (gym) | $39.00 | 1.06% |
| Subscriptions (video, music, news, storage) | $37.97 | 1.03% |
| Total | $3,696.33 | 100% |
Rent alone is half the month. The trip (flight + hotel) is the second-largest chunk at ~12%.
Chat, coding work and a control panel in one app
Portato bundles the engine, the mlx command and a coding agent. You need no Node.js and no terminal to start. Each picture is one of Portato's own components, showing data recorded from real sessions, not a benchmark.
Chat with a local model
Attach text files, pictures and PDFs. Here the model reads a photo of a letter in Japanese.
Install models from a catalog
Or point Portato at model files you already have on disk.
Every turn is measured
Speed, token use and failures, by model and time range.
Let an agent work in a folder
It reads, edits and runs commands in the folder you point it at. Each command shows its output.
Watch speculative decoding
See how many drafted tokens each step keeps.
It runs on your machine
The engine listens on 127.0.0.1 and asks for a token. The Control Panel opens no port.
The engine inside is mlx-node
Portato is one way in. The same engine installs from npm as the mlx command, an HTTP server and TypeScript packages. The APIs are TypeScript on a Rust and C++ native layer, and nothing runs Python at runtime.
Node.js 22.19 or newer. Apple Silicon with macOS 26.2 or newer. CUDA is a preview.
- Command: npm install --global @mlx-node/cli. added 52 packages in 5s
- Command: mlx download model --model Qwen/Qwen3-0.6B. Model: Qwen/Qwen3-0.6B Output: ~/.mlx-node/models/qwen3-0.6b Downloading 9 file(s) (~1.41 GB)... Model downloaded successfully!
- Command: mlx serve --port 8080. [mlx] models dir: ~/.mlx-node/models | listening on http://127.0.0.1:8080 | discovered 1 model(s) | default: qwen3-0.6b [mlx] paged KV disk cache: on Press Ctrl+C to stop.
What the engine does
- Many chats share one model
- Requests to the same model decode together in one batch, up to 4 chats on Qwen3.5-family models and 8 on Macs with 256 GB or more.
- Models bigger than memory
- Large mixture-of-experts models keep their experts on the SSD and read only the ones each token needs.
- A cache that survives restarts
- Chat state is kept on disk, so a restarted server does not read the whole history again.
- GGUF files load as they are
- K-quant weights are repacked into MLX layout in memory, and no second copy of the model is written to disk.
- Speculative decoding
- Some models guess a few tokens ahead with extra heads or a small draft model, then check the guesses in one pass.
- Context up to a million tokens
- Qwen3.5-family models and Qwen3.8-Flash-Next take --max-context up to 1,048,576 tokens when memory holds it.
One repository: the app, ten packages and the engine
Everything here is built from the same source tree. Pick a package to see what it does and how to call it.
packages/desktopPortato, the desktop app. It bundles everything below.
Meet Portatopackages/*Ten public packages on npm under @mlx-node. Each has a page in the docs.
Open the quickstartcrates/*The native engine in Rust and C++ on top of MLX, loaded by the packages as @mlx-node/core.
Read the architecture notes
@mlx-node/cli
The mlx command. Download, convert and serve models, and run a coding agent on a local model.
npm install --global @mlx-node/climlx agent runs a coding agent on a local model. mlx launch claude runs Claude Code on one.
@mlx-node/lm
Load a model and keep a chat session in your own process. Streaming, tool calls, images and embeddings use the same package.
npm install @mlx-node/lm@mlx-node/server
The OpenAI Responses API and the Anthropic Messages API on 127.0.0.1. mlx serve starts it; the package lets you start it from your own code.
npm install @mlx-node/server@mlx-node/vlm
Read a page with PaddleOCR-VL. Qianfan OCR and the PP-StructureV3 pipeline cover layout and tables.
npm install @mlx-node/vlm@mlx-node/asr
Speech to text with Qwen3-ASR, for audio files, live streams and meetings.
npm install @mlx-node/asr @mlx-node/tts@mlx-node/tts
Qwen3-TTS streams audio while it is generated, with preset voices, designed voices and voice cloning.
npm install @mlx-node/tts@mlx-node/rerank
Order documents by relevance to a query with Jina Reranker v3 or v3.5.
npm install @mlx-node/rerank@mlx-node/privacy
Find and mask personal data on your own machine with a port of openai/privacy-filter. Eight kinds of entity.
npm install @mlx-node/privacy@mlx-node/trl
GRPO with four loss types, and SFT. For Qwen3 and the Qwen3.5 family on Apple Silicon.
npm install @mlx-node/trl@mlx-node/agent
The model catalog and the local model list that the mlx agent and Portato use. The agent itself runs through mlx agent.
npm install @mlx-node/agentThe samples read models from ~/.mlx-node/models, where mlx download puts them. Each package page says how to get its model. @mlx-node/core is the native addon; the packages load it for you.
Measured on one M5 Max
One machine with 128 GB of memory. The setup and the source for each number are listed below.
- Prefill speed against llama.cpp at 18,754 prompt tokens
- 1.569x
- 778.2 against 495.9 tok/s, same GGUF file1.268x at 6,219 tokens and 1.303x at 32,488
- Total output of four chats on one model, against one chat alone
- 1.90x
- 115.03 tok/s summed across the fourThe ratio is the source's own. One trial per case
- Prefill after a restart, for a 25,276-token chat
- 146ms
- 25,264 tokens came back from the disk cache36,255 ms on the first start. One trial
- Peak memory while running a model of about 500 GB
- 29.7GiB
- DeepSeek V4.1 Flash, experts read from the SSDIt is slow: 2.09 to 2.50 tok/s. Peak was 23.6 to 29.7 GiB across prompts
- 1.569x prefill. Qwen3.8-27B UD-Q4_K_XL, the same GGUF file in both runtimes. Matched 2,048-token prefill chunks; BF16 K/V in mlx-node, F16 in llama.cpp. Greedy, 512 new tokens, no speculative decoding, median of 3. M5 Max with 40 GPU cores and 128 GB, macOS 26.6.2, 2026-09-09. Issue #142
- 1.90x with four chats. Qwen3.8-27B UD-Q4_K_XL with its DFlash2 draft, 20 tools, thinking on, temperature 1.0. M5 Max, 128 GB, one trial per case, 2026-11-17. The four-chat row has its own one-chat baseline in the source, so do not divide 115.03 by a figure from another row. The source says to read its step ratio and not tok/s, because tok/s carries sampling luck; on 2026-11-18 its per-step ratio for four chats was 1.88x to 1.98x. Concurrent inference notes
- 146 ms. Same model, machine and date as line 2. One trial. Concurrent inference notes
- 29.7 GiB peak. DeepSeek V4.1 Flash UD-Q4_K_XL, a 9-file GGUF of about 500 GB. 32 new tokens, greedy, each prompt cold in a fresh process, other apps holding about 69 GiB. M5 Max, 128 GB, internal SSD, 2026-10-28. Model notes
Not every row wins. Gemma 4 12B prefill ran at 0.921x of llama.cpp at 7,733 prompt tokens, and Qwen3.8-27B decode at 0.999x at 32,488.
Models and platforms
Thirteen chat model families run today. Apple Silicon is the main target. CUDA is a preview.
A first model
Portato and the mlx agent offer these four chat models on first run.
| Model | Download | Offered on | Notes |
|---|---|---|---|
| Qwen3.8-27B | 17.5 to 18.6 GB | Every supported machine | The default. A 3.85 GB draft model comes with it |
| Inkling-2-Mini | 17.7 to 20.2 GB | Every supported machine | A 1.0 GB draft model comes with it |
| Qwen3.8-Flash-Next | 112.2 GB | 96 GiB of RAM or more | Experts are read from the SSD |
| Hy4-flash | 169.4 GB (macOS build) | 96 GiB of RAM or more | Experts are read from the SSD. A 6.24 GB draft model comes with it on macOS |
Every chat model family
These families come from nine makers.
Pick a maker to see only its families. Arrow keys move between makers.
- Qwen
- Qwen3
- Qwen3.5, 3.6, 3.8 dense
- Qwen3.5, 3.6 MoE
- Qwen3.8-Flash-Next
- Gemma 4
- Meta
- Muse-Glimmer 30B
- Liquid AI
- LFM2, LFM2.5
- LFM2.5-8B-A1B
- IFM
- K2-Horizon
- NVIDIA
- Nemotron 3.5 Lightning
- DeepSeek
- DeepSeek V4.1 Flash
- Thinking Machines Lab
- Inkling-2-Mini
- Tencent
- Hy4-flash
The model guide lists what each family supports, with sizes and context limits. Open the model guide
The marks are trademarks of their makers. Showing one does not mean its maker endorses mlx-node.
Platforms
| Platform | Backend | Status | What you get |
|---|---|---|---|
| macOS 26.2 or newer on Apple Silicon | Metal | Supported | Inference, training, images and audio. npm binary and the Portato app |
| Linux arm64 (glibc) on NVIDIA DGX Spark | CUDA 13 | Preview | Inference only. npm binary and a Portato preview build |
| Windows ARM64 on NVIDIA RTX Spark | CUDA 13.4 | Preview | Inference only. npm binary and a Portato preview build |
x86_64 and Intel Macs are not supported. Read the platform notes
Questions people ask first
Portato is the desktop app built on mlx-node. It lives in the menu bar, bundles the engine, the mlx command and the agent, and has a Control Panel for models, sessions, speed and caches.
Download Portato, or start from the terminal
The app needs no setup. The mlx command takes one npm install.
Free and open source. Apple Silicon first, CUDA in preview.