Looped-Qwen3.8-27B-DioLLLE8-1M-MLX (13.43 GiB RAM, T=1/2/3 Recurrent Depth + LoopCD + 2.22× MTP Speculative + 1M E₈ KV Cache)
tejadabheja/Looped-Qwen3.8-27B-DioLLLE8-1M-MLX brings calibrated recurrent latent-depth reasoning (64 → 80 → 96 effective layers), LoopCD-Hidden contrastive latent guidance, 2.13×–2.22× lossless hybrid speculative decoding, and 1,000,000-token 3-bit Nested-E₈ KV caching into a 13.43 GiB Apple Silicon MLX footprint — shrinking a ≈ 54 GB BF16 dense model by 4.0× so it runs effortlessly on 24 GB and 32 GB Macs with 0.0 MB swap.
It combines three complementary breakthroughs into a single turnkey .safetensors + MLX Metal package:
- Recurrent Latent-Depth
v3.1Adapter +LoopCD-Hidden(sliderforthewin/Looped-Qwen3.8-27B): Integrates Jason Titus's trainedv3.1/ckpt_200.safetensors(239.8 MiBBF16gated_workspacerecurrent loop + Rank-64 LoRA coda over layers24..51) and hidden-state Contrastive Decoding (LoopCD-Hidden), letting you dial test-time latent compute dynamically fromT=1(64layers) toT=2(80effective layers) orT=3(96effective layers) without increasing parameter RAM. - Diophantine-Butterfly
Hybrid D2Compression + 1M 3-Bit Nested-E₈ KV Cache (DioLLLE8): Applies Golden-Ratio (φ = (1 + √5) / 2) irrational-angle orthogonalButterfly64rotations (UᵀU = I) paired with hardware-accelerated Apple M5 Neural-Acceleratormx.quantized_matmul(4-bit21.2–22.2 dBSQNR on all Attention,GatedDeltaNet, Embeddings/LM-Head, and recurrent/coda layers24..51; MSE-grid 3-bit on non-loop MLPs0..23, 52..63), achieving1.6855Python 3.12 code PPL and7.3993WikiText-2PPL in12.97 GiBbase weights +4.00 GiB@ 1M context viaDioLLLE8KVCache. - 4-Bit Diophantine MTP Verifier +
tqllm-InspiredSuffixCopyDrafter&--thinking-budget: Compresses Jason Titus's calibratedmodel-mtphead into a227.9 MiB4-bit Diophantine sidecar (95.9%–99.0%acceptance!) and pairs it with David Y. Tan's (tqllm) suffix-copy continuation drafting and zero-re-prefill--thinking-budgetlive-cache</think>\n\nclosure — delivering2.13×–2.22×lossless greedy speedup (16.70 tok/s@T=1,12.77 tok/s@T=280L—1.70×faster than unlooped non-specT=1!, and9.79 tok/s@T=396L).
Companion Sparse-MoE Release: For maximum raw chat speed (
51.3–53.4 tok/sin13.27 GiBRAM), see sibling repositorytejadabheja/Qwen3.6-35B-A3B-DioLLLE8-3bit-1M-MLX.
Upstream Open-Source Credits & AI-Primary Authorship Disclosure
Upstream Research & Open-Source Attribution:
- Jason Titus (
sliderforthewin/Looped-Qwen3.8-27B&jasontitus/loopedqwen,MITLicense): Creator of the trainedv3.1recurrentgated_workspacelatent-depth adapter (ckpt_200.safetensors), calibrated Multi-Token Prediction (model-mtp) weights, andLoopCD-Hiddeninference runtime forQwen/Qwen3.8-27B(Apache-2.0).LoopCDContrastive Latent Guidance: Credit to@beamivalicefor identifyingLoopCDsynergy on looped Qwen models and to Apple's research team (Contrastive Decoding Unlocks Latent Reasoning in Looped Language Models,arXiv:2610.02185).- David Y. Tan (
turbo-tan/tqllm,Apache-2.0License): Creator oftqllm, inspiring our< 0.02 ms3..5-gramSuffixCopyDrafter, zero-re-prefill live-cache--thinking-budget</think>\n\nclosure, andO(1)deferred-commit hybrid cache rollback.- AI-Primary DioLLLE8 Compression & Metal Engineering: Mathematical formulation and MLX/Metal engineering performed autonomously by Gemini Carbon / Nano, Claude Fable, GPT Astra 6.0, and Google DeepMind Antigravity (preprint at
tejadabheja/DioLLLE8-Preprint), with prompting, red-team direction, and stewardship by Tejas Phatak (tejadabheja).
Plain-English (Layman's) Guide: How Do Latent Looping, DioLLLE8 & MTP Work Together?
- Thinking Deeper Inside the Network Instead of Writing Endless Scratchpad Text (
Looped-Qwen3.8-27B+LoopCD): Standard reasoning models "think" only by generating thousands of visible<think>words one token at a time — which can spiral for minutes on subtle code bugs or modular math. Latent looping feeds the middle 16 layers (layers 24..39) back into a learned recurrent workspace (T=2orT=3passes =80or96effective Transformer layers!) before emitting each token, whileLoopCD-Hiddencontrasts the deeper pass against the shallower pass (h_cd = (1 + ω) h_T − ω h_ref) to amplify the refined reasoning signal. On subtle algorithmic bugs (such as in-place Bellman–Ford relaxation), this cuts<think>spirals by11.5×–18.5×(1,408tokens →76tokens) and solves problems5.2×faster in wall-clock time! - Shrinking 54 GB into 13.4 GB Without Breaking Recurrent Passes (
DioLLLE8 Hybrid D2): When a model loops through layers24..51two or three times per token, naive 3-bit quantization compounds rounding errors across passes (AND custom LUT kernels bottleneck dense 27B bandwidth at≈ 4.3 tok/s). Our adversarial red-team audit solved both: we rotate weights with an irrational Golden-Ratio Diophantine Butterfly (U₆₄) to erase outlier spikes, keep all looped/coda layers (24..51), Attention, andGatedDeltaNetin 4-bit (21.2–22.2 dBSQNR, zero recurrent error compounding) while compressing non-looped outer MLPs (0..23, 52..63) to MSE-grid 3-bit on Apple M5's hardwaremx.quantized_matmulunits, and compress the 16 full-attention KV caches into 3-bit Nested-E₈ crystal slabs (1Mcontext in≈ 6.4 GiBKV). - More Than Doubling Dense 27B Speed (
2.13×–2.22×via 4-Bit MTP +tqllmSuffix-Copy): A dense 27B model running80–96effective layers is memory-bandwidth bound at4.6–5.9 tok/swhen generating 1 token per pass. By pairing the quantized 4-bit MTP head (95.9%–99.0%draft acceptance) withtqllm-style n-gram suffix copying, the target 27B model verifies2–5tokens in a single batchedmx.quantized_matmulpass — jumping to12.77 tok/satT=2(80L) (1.70×faster than unloopedT=1without MTP!) with 100% identical greedy tokens.
Measured Speed, Perplexity & Intelligence Benchmarks (Apple M5, 32 GB RAM)
All benchmarks were executed on an idle MacBook Pro (Mac17,2, Base Apple M5 153.6 GB/s, 32 GB Unified Memory) via diollle8_mlx/benchmark_v2_mtp_and_looped.py (raw JSON in benchmark_v2_looped_intelligence_and_speed.json):
1. Memory Footprint, Load Time & Held-Out Perplexity
- Total
.safetensorsBundle Size:13.430 GiB(12.973 GiBbase shards +0.234 GiBv3.1/ckpt_200.safetensors+0.223 GiBmodel-mtp-diollle8.safetensors) - Resting Unified GPU RAM (All Components Loaded & Fused):
13.43 GiB(0.0 MBswap, cold load:2.57 s) - Held-Out
WikiText-2Test Perplexity (8,192tokens):7.3993(40.75 s) - Held-Out Python 3.12 Stdlib Code Perplexity (
4,096tokens):1.6855(21.28 s— outperforming even 35B MoE's1.7000Python PPL!)
2. Lossless Speculative Decoding Speedup Across Recurrent Depths (T=1, T=2, T=3)
Evaluated at temp = 0 on structured Python class refactoring (max_tokens = 480), verifying 100% exact token-for-token parity (r_mtp == r_nonspec and r_hybrid == r_nonspec) and valid ast.parse() syntax at every depth:
| Recurrent Depth Mode | Effective Layers | Non-Spec (tok/s) | 4-Bit MTP (tok/s) | Hybrid MTP + Suffix (tok/s) | Speedup | MTP Acceptance | Exact Token Parity |
|---|---|---|---|---|---|---|---|
T=1 (Base Pass) | 64 L | 7.51 | 13.75 | 16.70 tok/s | 2.22× | 99.0% | 100% Exact |
T=2 + LoopCD (ω=0.25, first) | 80 L | 5.92 | 10.45 | 12.77 tok/s | 2.16× | 95.9% | 100% Exact |
T=3 + LoopCD (ω=0.15, prev) | 96 L | 4.59 | 8.19 | 9.79 tok/s | 2.13× | 95.9% | 100% Exact |
3. Hard Reasoning, Modular Math & Algorithmic Bug-Fix Intelligence + <think> Token Efficiency
Evaluated on a paired 8-problem competition math & algorithmic coding suite (crt_smallest_gt_1000, bugfix_bellman_k_stops, math_mod_pairs, algo_max_subarray_one_del, math_nonhomog_recurrence, dp_weighted_palindrome, aime_lcm_triples, math_constrained_derangements) under strict token budgets (1,408 unassisted cap + thinking_budget = 512 tqllm live-cache closure + enable_thinking = False pure latent mode):
- Suite-Wide Fixed-Budget Gain (
cap = 1,408tokens):T=1Base:12.5%(1/8), mean<think>length1,361.4tokens (7/8hit cap).T=2 + LoopCD:25.0%(2/8—2.0×solve rate), mean<think>length reduced to1,247.2tokens.T=3 + LoopCD:25.0%(2/8—2.0×solve rate), mean<think>length reduced further to1,150.8tokens (−15.5%across all 8 problems).
- Adding
tqllmLive-Cache--thinking-budget 512(max_tokens = 896):- Gracefully closing
</think>\n\nat512tokens doubledT=1's score (12.5% → 25.0%) while cutting total 8-problem wall-clock time by1.82×(935.6 s → 513.0 s), and unlockedalgo_max_subarray_one_delin718tokens atT=3(vs.837tokens atT=1).
- Gracefully closing
| Representative Hard Problem | T=1 (64L Base) | T=2 + LoopCD (80L) | T=3 + LoopCD (96L) | Latent-Depth Impact |
|---|---|---|---|---|
bugfix_bellman_k_stops (subtle Bellman–Ford k-stops relaxation bug, <think> on) | FAIL (1,408 <think> tok, 119.8 s) | PASS (122 <think> tok, 24.6 s) | PASS (76 <think> tok, 22.9 s) | 18.5× fewer <think> tokens & 5.23× faster wall-clock! |
bugfix_bellman_k_stops (pure latent enable_thinking=False) | PASS (347 tok, 25.3 s) | PASS (141 tok, 11.1 s) | PASS (141 tok, 13.8 s) | 2.46× fewer tokens & 2.28× faster wall-clock! |
crt_smallest_gt_1000 (3-modulus Chinese Remainder Theorem) | FAIL (1,035 <think> tok, wrong int) | Cap (1,408 <think> tok) | PASS (682 <think> tok, exact int) | Fixes arithmetic error in −34.1% fewer <think> tokens! |
math_mod_pairs (modular counting) | FAIL (1,408 <think> tok) | PASS (1,408 tok) | Cap (1,408 tok) | T=2 unlocks solution under fixed budget |
Complete Setup & Usage Instructions
System Requirements
- Hardware: Apple Silicon Mac (
M1–M5) with 24 GB+ Unified Memory recommended (13.43 GiBresting GPU RAM; runs up to256Kcontext on 24 GB Macs and1,000,000tokens swap-free on 32 GB+ Macs). - OS & Python: macOS
14.0+, Python3.11+(3.12recommended).
Quick Start: One-Command Install & Launch (macOS, Apple Silicon)
# Without cloning first: sets up uv + .venv, downloads the model, starts the OpenAI/Anthropic server on :8080
curl -fsSL https://huggingface.co/tejadabheja/Looped-Qwen3.8-27B-DioLLLE8-1M-MLX/resolve/main/install_and_serve.sh | bash
# From inside a downloaded copy of this repo:
./install_and_serve.sh # install deps on first run, then serve on http://127.0.0.1:8080
./install_and_serve.sh --claude # start the server in the background and open Claude Code on it
./install_and_serve.sh --chat # interactive terminal chat
./install_and_serve.sh --port 9000 --enable-thinking --thinking-budget 2048 # other flags go to serve_cli
./install_and_serve.sh --install-only # only create .venv and install dependencies
The script checks for macOS on arm64 and installs uv if it is missing. It creates .venv (Python 3.12) and installs mlx, mlx-lm, transformers, safetensors and huggingface_hub, and downloads the weights only when they are not already present. If a DioLLLE8 server is already running on the port, it re-uses it. In --claude mode it waits for /health, launches Claude Code with the right environment variables, and stops the server when Claude Code exits.
Step 1: Install Dependencies & Download Checkpoint
uv venv .venv --python 3.12
source .venv/bin/activate
uv pip install "mlx>=0.30.0" "mlx-lm>=0.30.0" "transformers>=4.51.0" "safetensors>=0.4.5" "huggingface_hub>=0.28.0" numpy
hf download tejadabheja/Looped-Qwen3.8-27B-DioLLLE8-1M-MLX --local-dir ./Looped-Qwen3.8-27B-DioLLLE8-1M-MLX
cd ./Looped-Qwen3.8-27B-DioLLLE8-1M-MLX
Step 2: Python API (T=1/2/3 Recurrent Depth + LoopCD + MTP Speculative + --thinking-budget)
import sys
from huggingface_hub import snapshot_download
model_dir = snapshot_download("tejadabheja/Looped-Qwen3.8-27B-DioLLLE8-1M-MLX")
sys.path.insert(0, model_dir)
from diollle8_mlx import load_looped_qwen38_diollle8, generate_looped_diollle8
# Loads 4-bit/3-bit Hybrid D2 base + BF16 v3.1 recurrent adapter + 4-bit MTP head in ≈ 2.6s (13.43 GiB RAM)
model, tokenizer = load_looped_qwen38_diollle8(
model_dir,
num_passes=2, # Default T=2 (80 effective layers); override per-call with num_passes=1, 2, or 3
enable_mtp=True,
fuse_projections=True,
yarn_mode="auto",
)
# Recommended LoopCD-Hidden settings (auto-selected if omitted):
# T=1: loop_cd_omega=0.0
# T=2: loop_cd_omega=0.25, loop_cd_ref="first" (~12.8 tok/s with MTP + SuffixCopy!)
# T=3: loop_cd_omega=0.15, loop_cd_ref="prev" (~9.8 tok/s with MTP + SuffixCopy!)
res = generate_looped_diollle8(
model,
"Fix any bug in Bellman-Ford with at most k stops when relaxing dist[v] = min(dist[v], dist[u] + w) in-place.",
tokenizer=tokenizer,
num_passes=2,
max_tokens=1024,
speculative=True,
enable_suffix_copy=True,
enable_thinking=True,
thinking_budget=512, # Optional tqllm-style live-cache </think> closure!
loop_cd_omega=0.25,
loop_cd_ref="first",
)
print(res["text"])
print(f"Speed: {res['tok_per_s']} tok/s | MTP Accept: {res['mtp_acceptance_rate']:.1%}")
Step 3A: Local OpenAI + Anthropic API Server (Claude Code, Codex, Cursor, OpenWebUI, …)
python -m diollle8_mlx.serve_cli --port 8080 # HTTP server (model type and KV bits are auto-detected)
python -m diollle8_mlx.serve_cli --port 8080 --enable-thinking --thinking-budget 2048 # <think> on by default
The server prints the exact client settings at startup. One process serves all of these API shapes from the same model and the same prefix cache:
| API | Endpoints | Supported |
|---|---|---|
| OpenAI Chat Completions | POST /v1/chat/completions | streaming (+stream_options.include_usage), tools / tool_choice (auto/none/required/named), assistant tool_calls + tool results, reasoning_effort → <think> with reasoning_content deltas, response_format (json_object/json_schema, best-effort via prompt), stop, max_completion_tokens, usage.prompt_tokens_details.cached_tokens |
| OpenAI Responses | POST /v1/responses, GET/DELETE /v1/responses/{id} | input string or items (message, function_call, function_call_output, reasoning), instructions, function tools, previous_response_id, reasoning.effort, max_output_tokens, full SSE event sequence (response.created … response.completed) |
| OpenAI Completions / Models | POST /v1/completions, GET /v1/models[/{id}] | streaming, echo, token-id prompts |
| Anthropic Messages | POST /v1/messages, POST /v1/messages/count_tokens | system (string/blocks, incl. interleaved system messages), tools → tool_use / tool_result (incl. is_error), tool_choice (auto/any/tool/none), extended thinking (thinking.type enabled/adaptive/disabled, budget_tokens, display: omitted) → thinking blocks, stop_sequences → stop_reason: stop_sequence, max_tokens, full SSE event sequence (message_start, content_block_*, ping, message_delta, message_stop), Anthropic-style errors |
| Gemini | POST /v1beta/models/{m}:generateContent / :streamGenerateContent / :countTokens | text, functionDeclarations → functionCall, thinkingConfig |
Tool calls use the model's native Qwen3.6 XML tool format and are parsed with the open-source mlx-lm qwen3_coder tool parser (derived from Qwen's qwen3coder_tool_parser.py), with a bundled fallback copy. Images, PDFs and audio are replaced with a text placeholder because this server is text-only.
Claude Code
ANTHROPIC_BASE_URL=http://127.0.0.1:8080 \
ANTHROPIC_AUTH_TOKEN=local \
ANTHROPIC_MODEL='Looped-Qwen3.8-27B-DioLLLE8-1M-MLX[1m]' \
ANTHROPIC_SMALL_FAST_MODEL=Looped-Qwen3.8-27B-DioLLLE8-1M-MLX \
ANTHROPIC_DEFAULT_HAIKU_MODEL=Looped-Qwen3.8-27B-DioLLLE8-1M-MLX \
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 \
CLAUDE_CODE_AUTO_MODE_SERVER=0 \
API_TIMEOUT_MS=1800000 \
claude
- The
[1m]suffix tells Claude Code the model has a 1M-token window. Without it, Claude Code assumes 200K and auto-compacts. You can also setCLAUDE_CODE_MAX_CONTEXT_TOKENS=1000000. - Any model name works: the server serves its one loaded model whatever name you send.
- Auto mode (
Shift+Tab, or--permission-mode auto): Claude Code normally asks the Anthropic API to run its safety classifier server-side. A local server cannot provide Anthropic's hosted classifier, so without extra settings Claude Code reports that127.0.0.1:8080"doesn't pass it through" and falls back to asking you.CLAUDE_CODE_AUTO_MODE_SERVER=0is the documented setting that makes Claude Code send its own classifier requests instead. They go to this server like any other request, so the local model acts as the safety classifier. That is weaker than Anthropic's hosted review, so keep that in mind for risky work, or use Manual /acceptEditsmode. The server keeps the classifier's long prompt in its own prefix-cache slot. The first classifier call prefills about 30K tokens; later calls reuse the cache.install_and_serve.sh --claudesets this variable for you. - Claude Code sends
thinking: {type: "adaptive"}by default. That follows the server's--enable-thinkingsetting (off by default, which is faster). Override it with--adaptive-thinking/--no-adaptive-thinking. - Claude Code's first request is a ~20K-token system prompt plus tools, so the first turn takes about 3 minutes at the default
T=3on a base M5 (~19.5K tokens at ~106 tok/s prefill; decode ~4-5 tok/s exact). We measured later turns at a few seconds of prefill. For interactive agent use, prefer--num-passes 1or2, or the 35B-A3B sibling. After that, prefix caching re-uses the conversation: later turns only prefill the new tokens. - If you set
--api-key KEY, useANTHROPIC_AUTH_TOKEN=KEY.
OpenAI-compatible clients (OpenAI SDK, Codex CLI, Cursor, Continue, Cline, OpenWebUI, LiteLLM): base URL http://127.0.0.1:8080/v1, any API key.
from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:8080/v1", api_key="local")
r = client.chat.completions.create(model="Looped-Qwen3.8-27B-DioLLLE8-1M-MLX", messages=[{"role": "user", "content": "Hi"}],
tools=[{"type": "function", "function": {"name": "get_weather", "parameters": {
"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}}])
print(r.choices[0].message.tool_calls)
Useful flags: --host / --port, --api-key, --served-model-name, --max-tokens (default when the client sends none), --temp + --force-temp, --enable-thinking / --adaptive-thinking / --thinking-budget, --cache-slots (prefix-cache sessions kept warm; default 2: main agent + auto-mode classifier), --kv-bits (default 3), --chunk-size, --speculative / --num-draft / --suffix-copy, --num-passes {1,2,3} (recurrent depth; default 3 from config.json; measured exact-path decode on a base M5: ~7.8 tok/s at --num-passes 1 vs ~4.5 tok/s at T=3), --loop-cd-omega / --loop-cd-ref. Note: the server's default looped decode is exact and prefix-cached. --speculative switches to the lossless MTP + SuffixCopy stream (faster decode, but no cross-request prefix reuse). Set DIOLLLE8_DUMP_REQUESTS=/tmp/d8req to save every incoming request body for debugging.
How it works: HTTP requests are handled on many threads, but all MLX/GPU work runs on one dedicated worker thread, so /health, /v1/models and count_tokens answer even during a long generation. Requests queue in order, a client disconnect cancels its generation, and SSE keep-alive pings are sent during long prefills.
[!NOTE] LM Studio: not supported. DioLLLE8 weights use custom E8-lattice / rotated-domain quantization that needs the bundled Metal kernels. LM Studio's MLX engine only loads stock mlx-lm affine-quantized models and does not run custom model code (
trust_remote_code=False). Useserve_cliabove instead: it exposes the same OpenAI-compatible API that LM Studio's server does.
Step 3B: Interactive 1M-Context Terminal Chat REPL
python -m diollle8_mlx.serve_cli --chat --num-passes 2 # /think toggles <think>, /stats, /reset, /exit
Step 4: CLI Smoke Test & Verification Suite
python -m diollle8_mlx.looped_qwen38_diollle8 --model-dir . --num-passes 2 --thinking-budget 512 \
--prompt "Find the smallest integer N > 1000 with N ≡ 7 (mod 13), N ≡ 11 (mod 17), N ≡ 3 (mod 19)."
# Run automated 6-part fused parity, LoopCD, MTP+Suffix exactness, and 1M KV slab test suite:
python -m diollle8_mlx.test_looped_qwen38
Citation
Please cite the upstream Looped-Qwen3.8-27B, tqllm, LoopCD, and DioLLLE8 works when building on this checkpoint:
@misc{titus2026loopedqwen38,
title = {Looped-Qwen3.8-27B: Calibrated Latent-Depth Recurrence and LoopCD-Hidden for Qwen3.8-27B},
author = {Titus, Jason},
year = {2026},
howpublished = {\url{https://huggingface.co/sliderforthewin/Looped-Qwen3.8-27B}}
}
@misc{tan2026tqllm,
title = {tqllm: Training-Free Speculative Decoding and Thinking-Budget Control for Qwen on Apple Silicon MLX},
author = {Tan, David Y.},
year = {2026},
howpublished = {\url{https://github.com/turbo-tan/tqllm}}
}
@misc{diollle8_looped27b_2026,
title = {Looped-Qwen3.8-27B-DioLLLE8-1M-MLX: Diophantine-Butterfly Hybrid Quantization, 4-Bit MTP Speculative Decoding, and 1M Nested-{E8} KV Cache on Apple Silicon},
author = {Phatak, Tejas},
note = {AI-Primary Engineering by Gemini Carbon/Nano, Claude Fable, GPT Astra 6.0, and Google DeepMind Antigravity},
year = {2026},
howpublished = {\url{https://huggingface.co/tejadabheja/Looped-Qwen3.8-27B-DioLLLE8-1M-MLX}}
}
Honest Limitations
- Token Budget on Multi-Page Olympiad Proofs: While
T=2/T=3 + LoopCDdramatically compresses<think>spirals on algorithmic bug-fixes (18.5×shorter) and modular number theory (−34%shorter), heavy Olympiad combinatorics (aime_lcm_triples) still write2,000–4,000<think>tokens before concluding; usemax_tokens >= 4096(orthinking_budget = 2048) on competition proofs rather than tight512–1,400caps. - Dense 27B vs. Sparse MoE Throughput: Because all
27Bparameters (plus16 × (T−1)recurrent layer passes) execute on every token,Looped-Qwen3.8-27Bruns at9.8–16.7 tok/s(even after our2.13×–2.22×MTP+Suffix speedup), whereas sparse-MoEQwen3.6-35B-A3B-DioLLLE8-3bit-1M-MLXactivates3.0Bparameters/token and runs at51.3–53.4 tok/s. Use35B-A3Bfor high-speed interactive coding/agents andLooped-27Bwhen dense representations +80L–96Lrecurrent depth are desired.