A 32 GB M5 Mac generated 58.2 tokens/s with a 4,096-token input in one 4-bit oMLX run. Its first token arrived after 4.009 seconds, and oMLX reported 19.9 GB peak memory. In a separate test on the same M5 class, a 32,768-token input took 47.8 seconds before the first token. This model can write quickly after it starts. That does not make every long document feel interactive.
Model release: 2026-02-24. Alibaba’s release log records the exact checkpoint. All performance figures come from the original testers. OnDevice Works did not rerun them.
Which model is this?
This guide covers Alibaba’s released Qwen3.5-35B-A3B instruction checkpoint and its documented conversions. It is not the pretrained Base version, Qwen3.5-27B, Qwen3.6-35B-A3B, or AgentWorld.
This Apache 2.0 model accepts text and images and generates text. Its mixture-of-experts design uses about 3 billion active parameters per token out of 35 billion total. Fewer active parameters can help decode speed, but the full set of experts still has to fit somewhere or be offloaded. It does not have the memory footprint of a dense 3B model. Qwen lists 262,144 native context tokens; that is a model capability, not a tested memory or latency guarantee.
What do the official scores measure?
| Publisher evaluation | Reported score |
|---|---|
| MMLU-Pro | 85.3 |
| MMLU-Redux | 93.3 |
| C-Eval | 90.2 |
| GPQA Diamond | 84.2 |
These are the exact checkpoint’s publisher results, not quality scores for each 4-bit package or speed result below. A long-context speed test also does not establish that all details in the document were retained. If you are choosing between the dense 27B and this MoE, verify your real task before trading accuracy, memory or latency for more tokens per second.
What did Mac, NVIDIA and AMD runs measure?
Prefill (PP) measures input processing; generation (TG) measures output tokens per second after generation begins. TTFT is a reported first-token time, not a number inferred by dividing input length by PP. Each test has its own workload and timing boundary. A configured context limit is not the test’s actual input length. These are text performance comparisons, not image benchmarks.
Apple Silicon: eleven measured 32K configurations
Each row is an original oMLX submission with 32,768 input tokens and a package marked 4bit. These are different machines and oMLX versions, not a single run across devices. The exact weight hash, tuning, cache state and output mix are not uniformly documented. The chart answers how long these configurations waited for the first token under that test category; it is not a ranking of Apple chips. Reported peak memory is the tool’s reading, not total system RAM or headroom.
| Mac and unified memory | oMLX build | PP tok/s | TG tok/s | Measured TTFT | Reported peak |
|---|---|---|---|---|---|
| Apple M4 Max (40 GPU cores) / 64 GB | 0.3.0 | 2,309 | 47.6 | 14.194 s | 23.7 GB |
| Apple M5 Pro (20 GPU cores) / 48 GB | 0.3.8 | 1,836 | 76 | 17.851 s | 22.3 GB |
| Apple M3 Max (40 GPU cores) / 48 GB | 0.2.20 | 1,139 | 59.8 | 28.771 s | 23.4 GB |
| Apple M2 Ultra (60 GPU cores) / 64 GB | 0.2.6 | 977.7 | 51.8 | 33.514 s | 21.6 GB |
| Apple M4 Pro (20 GPU cores) / 48 GB | 0.2.24 | 704.3 | 43.9 | 46.525 s | 23.4 GB |
| Apple M5 (10 GPU cores) / 32 GB | 0.2.19 | 686.2 | 33.7 | 47.756 s | 23.2 GB |
| Apple M4 Pro (16 GPU cores) / 64 GB | 0.2.11 | 551.2 | 44.1 | 59.449 s | 21.6 GB |
| Apple M1 Max (32 GPU cores) / 64 GB | 0.3.5 | 525.4 | 42.1 | 62.371 s | 22.3 GB |
| Apple M1 Max (32 GPU cores) / 32 GB | 0.3.0 | 523.5 | 35.9 | 62.598 s | 22.5 GB |
| Apple M2 Max (30 GPU cores) / 64 GB | 0.2.7 | 513.1 | 44.4 | 63.857 s | 21.6 GB |
| Apple M4 (10 GPU cores) / 32 GB | 0.2.17 | 328.4 | 26.3 | 99.771 s | 23.2 GB |
The legacy 32 GB M5 measurement is from another run, oMLX 0.4.4. Its 1K entry reports 60.3 tok/s, 1.256 s TTFT and 19.2 GB peak; its 4K entry reports 58.2 tok/s, 4.009 s TTFT and 19.9 GB. The links point to the individual timed measurements, not two independent tests.
For a longer sweep on one machine, a 64 GB M1 Max, 32-core GPU with oMLX 0.3.5 moved from 67.5 tok/s at 1K to 42.1 at 32K and 27.5 at 64K. Its reported peak rose from 19.3 to 25.0 GB between 1K and 64K. The first-token timing at 32K was 62.371 s. The additional memory is not the whole story: how long you wait before generation can matter more than the eventual decode rate.
A separate 64 GB M4 Pro test measured 25.6 tok/s for the int4 MoE and 11.8 tok/s for dense 27B int4 in a 256-input, 100-output generation test. At 4,096 input tokens, the MoE started sooner (5.52 vs 36.57 seconds) but the reported peak was higher (23.7 vs 22.1 GiB). It is one matched comparison and illustrates why “3B active” does not mean “needs less memory.”
Four platforms with the same GGUF and llama.cpp protocol
BAEM1N’s Track B used llama.cpp and the same GGUF/settings per quant across four platforms. The gen-512 figures are medians, with one warmup and five measured repetitions per condition and a reported outlier filter. Q8_0 and Q4_K_M are separate comparisons. The dense 27B column is included to answer a different question: how changing the checkpoint affects throughput in this specific setup.
| System | 35B-A3B Q4_K_M | 35B-A3B Q8_0 | 27B dense Q4_K_M |
|---|---|---|---|
| M5 Max, 128 GB unified | 94.1 | 88.4 | 24.8 |
| RTX 3090 ×2, 48 GB VRAM total | 138.9 | 130.3 | 41.4 |
| DGX Spark GB10, 128 GB unified | 59.6 | 52.6 | 11.5 |
| Ryzen AI Max+ 395; 96 GB GPU allocation | 58.0 | 50.8 | 10.3 |
All entries here are output tokens/s. That means the MoE was faster at generating tokens than the dense 27B on each of these four setups, not that it needs less working memory or produces better answers. The same author also reports 156.3 tok/s with vLLM GPTQ-Marlin on the dual 3090 in Track A. Do not add it to Track B: both the runtime and weight format changed.
PC results with measured first-token time
These Timebench 3 run reports use one concurrent request, llama.cpp and Q4_K_M, but the builds, backend and offload settings vary. The labelling below preserves each report’s settings where relevant. The legacy A6000 and R9700 entries set server context to 49,152 and configured 12 parallel slots, but measured one request at a time. The server context is not the input length.
| Configuration and original run | PP tok/s | TG tok/s | Reported TTFT |
|---|---|---|---|
| RTX 5090 | 4,247.45 | 253.75 | 0.454 s |
| RTX PRO 6000 Blackwell Workstation | 5,147.44 | 247.36 | 0.375 s |
| RTX 3090 Ti | 2,921.91 | 161.86 | 0.660 s |
| RTX A6000, 48 GB | 3,575.92 | 143.98 | 0.540 s |
| Radeon PRO W7900 | 1,359.38 | 99.81 | 1.418 s |
| Radeon RX 7900 XTX | 2,411.95 | 95.19 | 0.804 s |
| Radeon AI PRO R9700, 32 GB, ROCm | 2,477.98 | 72.58 | 0.778 s |
A tester also ran one RTX 5090 with CUDA and one R9700 with Vulkan using the same UD-Q4_K_XL GGUF and llama.cpp commit. At pp512 the two measured 7,026 and 2,713 tok/s, respectively; the author’s average generation numbers were 194.0 and 127.4 tok/s. Those are different hosts and backends, and the table does not measure TTFT. Do not substitute these decode values for the Timebench measurements. On Ryzen AI Max+ 395, an independent Vulkan llama.cpp b8460 run found 1,080 PP / 64.85 TG tok/s with Q4_K_M, in separate pp512 and tg128 tests.
An Intel Arc integrated graphics test recorded 33.317 s mean runtime TTFT at 1,024 input tokens, with INT4 OpenVINO on Arrow Lake-P and a 64-token decode test. The author times prompt processing and the first decode step; the published 1.75 tok/s is end-to-end throughput including prefill, not decode speed. A separate research deployment compares client TTFT on M3 Ultra with LM Studio/llama.cpp GGUF and dual A100 with vLLM AWQ over more input sizes. It is not a hardware-only comparison; the paper’s AgentWorld series is a different model.
Separate a long-document decision from a short-answer decision
Start by deciding which input sizes the job requires and how soon you need the result. The original 32 GB M1 Max submission reports 62.598 seconds to first token at its 32,768-token test point, 35.9 output tok/s and 22.5 GB peak as reported by the benchmark. A timed 32K result is useful when you must work with long inputs. It leaves the short input question and the time to a complete correct answer for separate trials.
For an interactive task, use a short note with two facts that should appear in the final answer. Send it in a new conversation and record the first final-answer text and the complete result. Add a longer source only once the short task passes, then score the same values. If the answer changes after adding background, inspect which pages or tokens were included and whether the result reached the required finish point. A long request can need a more selective input rather than faster generation.
Use the matched four-platform table when considering the relative results of that exact GGUF and short test protocol. Keep the single 32K Mac records beside an actual longer task rather than blending those results with the short campaign. Note accelerator memory type and any offload. For an inference service, record one-request completion and the performance for several requests separately. The useful value changes with the kind of work you need the setup to complete.
Before changing models, save the data you need for a repeat. Keep the weights name, runtime version, output cap, source length and status. If you compare a warmed session with a cold one, record whether the prompt was new. If you use a structured extraction instead of a chat, keep expected values, raw output and a pass indicator. A quicker first token helps an interactive user only when a completed answer arrives with the required information.
How do I check my own setup?
Keep the synthetic generation run as a throughput check. For the app you will actually use, send one short question and then the same question with your long reference attached. Time until readable text appears in both. If that delay grows while the token stream still looks fast, use a narrower excerpt for chat first.
- Choose the exact checkpoint. Start with a named GGUF conversion or the explicit Ollama Instruct Q4_K_M tag, not Base or Qwen3.6. Record the exact file, runtime, GPU offload and whether the app enables thinking or speculative decoding. They are separate settings: thinking can increase how many tokens you wait for; speculative decoding can change generation rate.
- Use your normal workload before buying hardware. Try a 1K prompt and a document representative of your work, with one request and a fixed output cap. Time the first streamed token and the end of the answer separately. Record whether the model was already loaded or the prompt prefix was cached. If thinking is enabled, also note when the first useful answer text appears.
- Treat fitting and responding as separate tests. Check memory pressure, swap or GPU memory, and whether the runtime put some expert weights on the CPU. On a Mac with 32 GB, start with a short context and one active request; the public peak memory above does not account for everything else running. If a 16 GB GPU cannot hold your chosen file and runtime buffers, use a smaller quant, a smaller model, or report explicitly that you are testing CPU offload.
- Check the answer, not just the speed. Give both candidate setups the same real extraction or rewrite. Verify the facts you need before picking a faster model. These text results cannot tell you the first-token delay after adding images.
ollama run qwen3.5:35b-a3b-q4_K_M
If you already have a compatible GPU-enabled llama.cpp build, you can record separate pp512 and tg128 rates:
llama-bench -m /path/to/Qwen3.5-35B-A3B-Q4_K_M.gguf -ngl 99 -p 512 -n 128 -r 3
Read the startup output to confirm placement. This command does not measure an app’s first visible token, and a faster tg128 does not guarantee a faster first answer.
How we kept repeated measurements separate
A source can contain many test points. The context levels of one oMLX session, quantizations on one benchmark rig, or many concurrency values from one author are not independent sources. The chart selects one point per listed hardware/memory combination. Anonymous contributor identity and all host tuning details cannot be verified from these records. Quoted first-token timings are measured in the original reports and shown in their own protocol, not inferred from prefill rates.
Which runtime can I use?
Used in published benchmarks
- oMLX: Published 4-bit benchmark on 32 GB M5. Benchmark source. Install and use oMLX on Mac.
- llama.cpp: Published Q4_K_M GGUF tests on NVIDIA and AMD. Benchmark source. Install and use llama.cpp on Mac.
Officially listed, not benchmarked here
- Ollama (
qwen3.5:35b): Exact model listed in the Ollama registry; not benchmarked with Ollama in this guide. Official package. Install and use Ollama on Mac. - LM Studio (
qwen/qwen3.5-35b-a3b): This exact model is available in the LM Studio catalog. The speed table in this guide does not use LM Studio. Official package. Install and use LM Studio on Mac.
The setup links are for Macs. Use the benchmark and official package links to check the exact build, model file and requirements on your own hardware.