Speculative decoding with the model’s own MTP head.
Three draft tokens per round, verified in one pass of the full model.
Meld Turbo runs Qwen3.8-Flash-Next — a Mixture-of-Experts model with 125B parameters, 6B of them active per token — on a single Mac, behind an OpenAI-compatible API. No cloud, no API key, nothing leaves your Mac.
~45 tokens/s on a 2023 MacBook Pro (M2 Max), ~35 tokens/s with 32K tokens of context — and it fits in 64 GB (simulated so far; help us confirm it on a real one). To our knowledge, as of October 17, 2026, the fastest generation for Qwen3.8-Flash-Next on an M2 Max with 64 or 96 GB.
Numbers are end-to-end through the OpenAI-compatible API with speculative decoding on. Results from other Macs are very welcome.
Quality profile (96 GB Macs): EXL3 experts at 2.625 bits per weight — HumanEval 97.6%, MMLU 87.5%, at ~35 tok/s on short replies and ~31 tok/s at 32K context. Model file on Hugging Face
How they were measured| Generation | ~40–47 tok/s on code and English, ~41 tok/s on Chinese; ~33–37 tok/s at 32K context |
|---|---|
| Edits and rewrites | up to ~130 tok/s |
| Prompt processing | ~335–350 tok/s up to 16K tokens, ~315–325 tok/s at 32K |
| Task scores | GSM8K 98.0% · HumanEval 93.3% · MMLU 82.5% |
| Memory | ~53 GB on 96 GB Macs, ~45–50 GB on 64 GB Macs |
| On disk | ~68 GB |
| Context | 128K tokens |
Models this size usually live on GPU clusters. A MoE model only reads a small part of its weights per token, and Apple silicon puts fast unified memory right next to the GPU.
Three draft tokens per round, verified in one pass of the full model.
The draft head scores 106K common tokens instead of all 248K, with no change in acceptance — including for Chinese.
Low-bit K-quants are integer-ALU bound when verifying several tokens on Apple GPUs. Q8_0 decodes cheaply, at a KL divergence of only 0.0026.
Kernels for 2-bit and EXL3 experts and for the small-batch matrix–vector products that verification is made of, as patches on llama.cpp.
When a reply repeats part of the prompt, long spans are drafted from the prompt and verified in one pass.
Setup fetches llama.cpp, applies the patches, and builds with Metal. Model downloads and the one-time Q8_0 re-encode are in the README.
64 GB works in a simulation on the 96 GB Mac (GPU capped at 48 GB, 27–32 GB of RAM locked away): default settings, ~45–50 GB, ~39 tok/s on short replies, ~32 tok/s at 32K context, up to ~120 tok/s on edits. Close memory-heavy apps first; if the server does not start, try CTX=32768. Have a real 64 GB Mac? Post a run in issue #1 on GitHub.
Full instructions on GitHub$ git clone https://github.com/MeldlabsAI/meld-turbo
$ cd meld-turbo
$ ./setup.sh
# Download the models and re-encode the
# dense layers (see README), then:
$ ./serve.sh
# or, on 96 GB Macs:
$ PROFILE=quality ./serve.sh
# API http://127.0.0.1:8080/v1
# Chat http://127.0.0.1:8080
Point any OpenAI-compatible client at http://127.0.0.1:8080/v1. Any API key and any model name will do. Thinking is on by default; turn it off per request when you want faster replies.
$ curl http://127.0.0.1:8080/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{
"messages": [{"role": "user",
"content": "Write a haiku about unified memory."}],
"chat_template_kwargs": {"enable_thinking": false}
}'
Yes. Qwen3.8-Flash-Next is a Mixture-of-Experts model: 125B parameters, but only 6B are active per token. With 2-bit experts it needs ~53 GB of memory on a 96 GB Mac (~45–50 GB on a 64 GB Mac) and generates ~40–47 tokens/s on an M2 Max.
Only for the download. After that it runs offline; prompts and replies never leave your Mac.
Apple silicon with a Max-class GPU or better and 64 GB of unified memory or more. Tested on an M2 Max with 96 GB; 64 GB works in a simulation. The quality profile needs 96 GB.
The server speaks an OpenAI-compatible chat API, the Messages API format and the Ollama API on one port, so chat apps, coding agents, SDKs and the ollama command connect directly.
Greedy, thinking off, on fixed subsets: GSM8K 98.0%, HumanEval 93.3%, MMLU 82.5% (fast profile) and 96.5% / 97.6% / 87.5% (quality profile).
We would rather tell you up front. Short benchmarks are optimistic; these are the trade-offs today.
The GPU holds its top clock for a few seconds, then settles about 20% lower. Long sessions run slower than short benchmarks.
Both profiles are quantized (2-bit and 2.625-bit experts). Task scores are measured; a direct comparison with the original BF16 model has not been run.
The quality profile needs 96 GB. A version for 64 GB Macs is planned.
At ~315–350 tok/s of prompt processing, a 32K-token first prompt takes about 100 s. Later turns reuse the prompt cache.
One request at a time by default.
Benchmarks from other Macs, bug reports, and patches are all welcome.
Star on GitHub