Developer workflow · Practical guide
Qwen4 on a Mac: what SSD offload saves in memory
The Qwen4 oMLX checkpoint lists 35.2 GB of weights in memory by default and 22.4 GB with SSD offload. Here is how to use those numbers without mistaking them for a system requirement.
The 12.8 GB moves to storage
Hugging Face announced Qwen4-35B-A3B on December 4 with local runtime support. If you want to move a private summarization workflow from an API to a Mac, the memory question turns on where the runtime keeps one part of the model. The oMLX maintainers list 35.2 GB of weights in memory by default and 22.4 GB with SSD N-gram Offload. Neither number tells you how much memory the whole job needs.
The model consults a table of learned representations for recent token sequences, known as n-grams. It reads a small set of rows for each token. With offload enabled, oMLX gets the required rows from storage instead of keeping the whole table in memory. The setting leaves the checkpoint intact: you still need space for the full package. It also changes when the runtime reads from the drive, so measure that trade-off on the machine that will do the work.
Where the same checkpoint keeps its weights
Scroll sideways to read all columns.
| oMLX setting | Weights in memory | N-gram table at runtime |
|---|---|---|
| Default | 35.2 GB / 32.8 GiB | In memory |
| SSD N-gram Offload | 22.4 GB / 20.9 GiB | 12.8 GB on SSD |
Check the exact runtime and checkpoint
The model card’s roughly 3 billion activated parameters describe which weights participate in processing a token, not which weights must be stored. A later token can use different experts. The card also lists a native context of 1,048,576 tokens; treat that as a model capacity, not a tested context length for a laptop. Session state, cache and working buffers sit outside the published weight numbers.
The table above is for the mixed-precision oQ4e-MTP conversion on oMLX. The ggml-org GGUF card describes a separate path: a llama.cpp build with Qwen4 support can lazy-load the n-gram table from disk under the default lazy mode. The oMLX memory figures don’t transfer to that package. If your workflow needs images, also check the exact runtime’s image support; ggml-org documents a separate vision projector file. The oQ4e-MTP card says its tokenizer and chat rendering require executing code shipped in the model repository. Review that code and approval requirement before deciding whether this package is suitable for your environment.
Test the longest request you actually need
For a first comparison, pick one representative short document and one at the longest length you routinely handle. Keep the checkpoint, prompts, output cap and runtime version fixed. Measure both settings with the apps you would normally have open. Record peak memory pressure and swap, time to first output and time to a usable answer. Separate a fresh start from a repeat on an already loaded model so that startup and disk reads do not disappear into one average.
Compare the long case with your existing API workflow at the same acceptance bar: for example, does the summary preserve the facts that a reviewer needs? Include rework when an answer fails. If the offloaded version only works when you close other apps, or its delays make you keep the API as a fallback, count that when judging what the local route replaces. The memory figures in this guide come from the package maintainers; we did not run a hardware benchmark.
Sources & verification
Provider documentation supports the facts referenced below. Our explanations and recommendations are editorial interpretation.
- Hugging Face: Welcome Qwen 4 ↗Checked Dec 5, 2026
- Alibaba Qwen Team: Qwen4-35B-A3B model card ↗Checked Dec 5, 2026
- MLX Community: Qwen4 oQ4e-MTP checkpoint ↗Checked Dec 5, 2026
- ggml-org: Qwen4 GGUF conversion notes ↗Checked Dec 5, 2026
Corrections: hello@aiapicost.com