Qwen3.8 27B
M5 Max 36GB · Ollama · 16,384 ctx
- generation:
- 19.0 tokens/s
- quant:
- Q4_K_M (GGUF)
Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.
User compares Qwen3.8 27B variants on an M5 Max 36GB Mac Studio under Ollama 0.40.13, with single API requests on a 14k-token prompt at num_ctx 16384. Plain Q4_K_M in llama.cpp gives ~19 tok/s, nvfp4 in the MLX runner ~35-46 tok/s, and Q4_K_M with MTP ~36-38 tok/s (28 at 14k context). In real Cline agent sessions the MLX runner's held memory grows from 20 GB to 26.5 GB with peak 29.8 GiB in about 6 minutes, and swap reaches 8 GB of 9 GB. The llama.cpp runner with MTP holds ollama ps at 16 GB but the llama-server process reaches 19-20 GB RSS and swap grows from 1.7 to 4.4 GB. User links Ollama issues on prefix-cache accumulation and the llama-server host prompt cache (--cache-ram 8192 MiB) and plans to try LLAMA_ARG_CACHE_RAM=1024 or 0 via launchctl setenv, removing the mmproj, and LM Studio's MLX runtime or mlx_lm.server.