MELD TURBO · OPEN SOURCE · v0.1.1 · MIT

A 125B model.
On a MacBook.

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.

Real time, not sped up (idle pauses trimmed) — Qwen3.8-Flash-Next (125B) writing code on a MacBook Pro M2 Max, 96 GB, fully offline.
125BParameters6B active per token
~45Tokens / second~40–47 on code and English
128KContextTokens, on one Mac
0Bytes sent outOffline after download
RESULTS

Measured end to end,
through the API.

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
MacBook Pro 14″ · M2 Max (38-core GPU) · 96 GB · ~400 GB/s
Generation~40–47 tok/s on code and English, ~41 tok/s on Chinese; ~33–37 tok/s at 32K context
Edits and rewritesup to ~130 tok/s
Prompt processing~335–350 tok/s up to 16K tokens, ~315–325 tok/s at 32K
Task scoresGSM8K 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
Context128K tokens
HOW IT GETS THERE

Five changes.
One usable local model.

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.

3 drafts / round

Speculative decoding with the model’s own MTP head.

Three draft tokens per round, verified in one pass of the full model.

3.5 → 2.4 ms

A smaller draft vocabulary.

The draft head scores 106K common tokens instead of all 248K, with no change in acceptance — including for Chinese.

+19% generation

Dense layers re-encoded to Q8_0.

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.

Metal kernels

Kernels for verification.

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.

up to ~130 tok/s

Prompt lookup for edits.

When a reply repeats part of the prompt, long spans are drafted from the prompt and verified in one pass.

QUICK START

From clone
to local API.

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.

Apple silicon, Max-class GPU or better
64 GB of unified memory or more (96 GB recommended)
macOS 14+, Xcode command-line tools, CMake
Python 3 with numpy, ~110 GB free disk

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
meld-turboZSH
$ 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
USE IT

Bring your own client.

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.

Chat UI in the browser at 127.0.0.1:8080
Coding agents such as pi, via an OpenAI-compatible provider
Scripts and SDKs that speak an OpenAI-compatible API
Messages API and Ollama API on the same port, including the ollama command
LISTEN=0.0.0.0 to serve your local network
Agent setup on GitHub
request.shZSH
$ 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}
    }'
FAQ

Common questions.

Can a 125B model really run on a MacBook?

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.

Does it need the internet or an API key?

Only for the download. After that it runs offline; prompts and replies never leave your Mac.

Which Macs does it run on?

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.

Does it work with my tools?

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.

How good are the answers?

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).

KNOWN LIMITS

What to expect.

We would rather tell you up front. Short benchmarks are optimistic; these are the trade-offs today.

Sustained load

The GPU holds its top clock for a few seconds, then settles about 20% lower. Long sessions run slower than short benchmarks.

Quality

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.

Memory

The quality profile needs 96 GB. A version for 64 GB Macs is planned.

Long first turns

At ~315–350 tok/s of prompt processing, a 32K-token first prompt takes about 100 s. Later turns reuse the prompt cache.

Concurrency

One request at a time by default.

Credits. Built on llama.cpp and Unsloth’s MTP branch of it. The model is by the Qwen team, the GSQ-RCO quantizations are by ISTA-DASLab, the MTP head GGUF and the Q8_0 dense layers of the quality profile are by Unsloth, and the draft vocabulary comes from Strata. The quality profile’s experts use EXL3, turboderp’s format from exllamav3, taken from the 2.6 bpw pack of Sushi. Model weights are not included and are under their own licenses. Meld Turbo is MIT licensed.
BUILD IN THE OPEN

Run it. Break it. Tell us.

Benchmarks from other Macs, bug reports, and patches are all welcome.

Star on GitHub