Qwen3.8-Flash-Next on MLX-serve, 1m context is released!

Reddit r/LocalLLaMA Tools

Summary

The article announces the release of Qwen3.8-Flash-Next on MLX-serve, supporting 1 million token context with efficient performance on M5 Max hardware using quantized weights.

Hi, I'm the co-creator of this Qwen3.8-Flash-Next engine support in MLX-serve. I've been tuning this one to run both fast, efficient and correct up 1m context using kv cache 8 bits in M5 Max 128GB. Qwen is working well at very long context as showed in the video (a snapshot at ~760k context), I let it build MLX Serve Monitor plugin that you've seen on the right side of Opencode2's app. The generation sustain through 1m context at around 40 tok/s on prose and 75 tok/s on coding. This specific quant uses 8 bits for dense layers and 4 bits expert layers, so the model's quality remains very high. I didn't build this engine to show off tok/s on a very short context, repetitive greedy generation, but a real temp 1.0 sampling through deep context work. You would need iogpu.wired_limit_mb=120000 before attempt 1mb full context, because it needs around ~117GB on peak memory usage. There will be bugs around here and there, I couldn't test everything and every single use case, pls report. You can grab it here: https://github.com/ddalcu/mlx-serve Model's weight: https://huggingface.co/ddalcu/Qwen3.8-Flash-Next-MLX-Serve-mixed-4-8bit Opencode2's plugin: https://github.com/beamivalice/opencode2-mlx-serve Launch parameters (for 1 concurrency) --model ./llm/models/Qwen3.8-Flash-Next-MLX-Serve-mixed-4-8bit \ --host 127.0.0.1 \ --port 11234 \ --ctx-size 1048576 \ --kv-quant 8 \ --max-tokens 64000 \ --mtp \ --prefix-cache-mem 10GB \ --prefix-cache-entries 1 \ --ssm-checkpoint-max 16 \ --metrics
Original Article

Similar Articles

Qwen3.8-Flash-Next

Simon Willison's Blog

Qwen has released Qwen3.8-Flash-Next, an open-weights multimodal MoE model with 125B tokens but only 6B active parameters, providing a performance boost and serving as an early preview of the Qwen4 architecture.

Qwen3.8-Flash-Next optimised for Macs

Reddit r/LocalLLaMA

The article details custom optimizations for running the Qwen3.8-Flash-Next AI model on Mac M1 Max hardware, including SSD streaming, custom quantizations, and a sparse attention mechanism to improve performance.