Looped Qwen3.8-Flash-Next: 268 MB Recurrent-Depth Adapter for 125B-A6B MoE

Looped Qwen3.8-Flash-Next is a 268 MB FP32 recurrent-depth adapter (70.2M parameters, 0.056% of the 125B-A6B MoE + 51.2B PLE base) that lets developers switch effective reasoning depth between T=1, T=2, and T=3 at runtime without modifying base weights. Paired with vLLM 0.34 or the Strata CUDA engine with DFlash2 speculative decoding, it boosts LiveCodeBench v6 from 77.71% to 85.71% while cutting total reasoning tokens by 34.2%.
Looped Qwen3.8-Flash-Next: 268 MB Recurrent-Depth Adapter for 125B-A6B MoE: Looped Qwen3.8-Flash-Next is a 268 MB FP32 recurrent-depth adapter (70.2M parameters, 0.056% of the 125B-A6B MoE + 51.2B PLE base) that lets developers switch effective reasoning depth between T=1, T=2, and T=3 at runtime without modifying base weights. Paired with vLLM 0.34 or the Strata CUDA engine with DFlash2 speculative decoding, it boosts LiveCodeBench v6 from 77.71% to 85.71% while cutting total reasoning tokens by 34.2%. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.
- Zero Base-Weight Modification: A 268 MB ckpt_final.safetensors overlay (70.2M params = 0.056% of base) leaves 125B-A6B MoE + 51.2B PLE checkpoints 100% frozen.
- +8.0 pp on LiveCodeBench v6 (64k): Lifts accuracy from 77.71% (136/175) to 85.71% (150/175) while shrinking output tokens by 33.5% and cutting truncation caps from 30 to 11.
- +25.0 pp Under Tight 24k Token Caps: With T=3 + LoopCD (omega=0.15), LiveCodeBench v6 climbs from 57.5% to 82.5% by shifting reasoning into latent layer loops.
- 92.1 tok/s Consumer Speculative Decode: Runs on 1x RTX 3090 + host RAM expert arena via Strata + DFlash2, or datacenter H200 FP8 via vLLM 0.34+.
import { createAgent } from '@smoke-monkey/harness';// Coding agent targeting vLLM 0.34+ serving Looped-Qwen3.8-Flash-Next (T=2 passes)const agent = createAgent({agentId: 'looped-qwen38-flash-engineer',provider: 'openai-compatible',baseUrl: 'http://127.0.0.1:8000/v1',model: 'Qwen/Qwen3.8-Flash-Next-FP8',workspacePath: process.cwd(),temperature: 1.0,permissions: {read_file: 'allow',write_file: 'allow',run_command: 'ask',},});async function main() {const result = await agent.run('Refactor the speculative decoding scheduler, preserve KV-cache invariants, and verify with unit tests.');console.log('Looped Qwen3.8 Agent Result:', result.summary);}main().catch(console.error);
Watch: Related Video Guides
What is vLLM? Efficient AI Inference for Large Language Models
Get 262K Context on a 24GB GPU: The Qwen3.8-27B KV Cache Hack
What Is Looped Qwen3.8-Flash-Next?
Looped Qwen3.8-Flash-Next (alesha-pro/Looped-Qwen3.8-Flash-Next) is an open-source MIT-licensed recurrent-depth adapter trained via Stage 2 RLVR on top of frozen Qwen/Qwen3.8-Flash-Next (125B-A6B MoE plus 51.2B Per-Layer Embeddings). Weighing just 268 MB in FP32 (70.2M parameters, or 0.056% of the base model), the adapter enables runtime-selectable depth (T = 1, 2, or 3) to replace verbose chain-of-thought tokens with silent latent computation.
Across 731 paired evaluation items at a 64k token cap on H200 vLLM 0.34.0 FP8, enabling T = 2 boosts overall accuracy from 84.68% to 85.64% while cutting total generated tokens by 34.2% and wall-clock time by 2.1%.
| Benchmark (64k Cap, H200 FP8) | Stock T=1 Score | Looped T=2 Score | Score Delta | Token & Wall-Clock Delta |
|---|---|---|---|---|
| LiveCodeBench v6 (n=175) | 77.71% (136/175) | 85.71% (150/175) | +8.00 pp | -33.5% tokens (-5.1% wall) |
| GPQA-Diamond (n=198) | 91.41% (181/198) | 91.41% (181/198) | 0.00 pp | -37.3% tokens (-3.9% wall) |
| AIME 2025 (n=30) | 96.67% (29/30) | 93.33% (28/30) | -3.34 pp | -32.9% tokens |
| HumanEval+ Think (n=164) | 82.32% (135/164) | 82.93% (136/164) | +0.61 pp | -3.2% tokens |
| HumanEval+ Direct (n=164) | 84.15% (138/164) | 79.88% (131/164) | -4.27 pp | -12.0% tokens |
| Combined Total (731 items) | 84.68% (619/731) | 85.64% (626/731) | +0.96 pp | -34.2% tokens (-2.1% wall) |
Latent Depth Under 24k Token Caps and Single-GPU Strata Inference
When deployment latency forces a 24,576-token reasoning budget, standard single-pass models hit truncation caps frequently. Recurrent looping compresses intermediate reasoning steps into extra layer passes:
- 24k Gate-2 Gains: On LiveCodeBench v6 (n=40, 24k cap),
T = 2jumps from 57.5% to 77.5% (+20.0 pp, -30.7% tokens), andT = 3 + LoopCD (omega=0.15)reaches 82.5% (+25.0 pp). AIME 2025 (24k cap) similarly climbs from 80.0% to 90.0% (+10.0 pp) with 23.5% fewer tokens. - Switchable T=1 for Non-Thinking Calls: Notice in the 64k table that HumanEval+ Direct (no-think) drops from 84.15% to 79.88% under
T=2. Because the base weights remain untouched, serving stacks can pass--loop-passes 1for fast non-thinking tool calls and--loop-passes 2or3for complex coding/planning steps. - Consumer RTX 3090 + DFlash2: Using the
Strataengine fork withUD-IQ4_XSweights, 8-channel host RAM expert offloading,--kv int8, andDFlash2speculative drafting (--spec 4 --draft-conf 0.5), the model achieves up to 92.1 tok/s (88.5% draft acceptance) on consumer hardware.
Route Non-Thinking Requests with T=1
Keep --loop-passes 2 for complex reasoning and LiveCodeBench-style synthesis, and switch to --loop-passes 1 for direct zero-CoT classification or JSON extraction to preserve the 84.15% HumanEval+ Direct baseline.
Reproducible vLLM 0.34 and Strata CUDA Launch Commands
Download the 268 MB overlay from Hugging Face and deploy either on datacenter H200 GPUs with vLLM 0.34+ or on a single 24 GB RTX 3090 with Strata:
# 1. Download the 268 MB FP32 looped adapter
hf download alesha-pro/Looped-Qwen3.8-Flash-Next \
ckpt_final.safetensors ckpt_final.json --local-dir ./looped-adapter
# 2. Option A: Serve FP8 base + Looped overlay in vLLM 0.34+ (H200)
pip install "git+https://github.com/alesha-pro/Strata.git@feat/looped-qwen4exp#subdirectory=vllm_looped_qwen38"
VLLM_LOOPED_CKPT=alesha-pro/Looped-Qwen3.8-Flash-Next:ckpt_final.safetensors \
VLLM_LOOPED_NUM_PASSES=2 \
VLLM_LOOPED_CD_OMEGA=0.0 \
vllm serve Qwen/Qwen3.8-Flash-Next-FP8 \
--hf-overrides '{"architectures": ["LoopedQwen4ExpForCausalLM"]}' \
--max-model-len 65536 --port 8000
# 3. Option B: Consumer RTX 3090 + RAM offload with Strata + GSQ-RCO IQ3_S
git clone -b feat/looped-qwen4exp https://github.com/alesha-pro/Strata.git
cd Strata/engine && cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_CUDA=ON
cmake --build build --target strata --parallelFrequently Asked Questions
Q:Does Looped-Qwen3.8-Flash-Next modify the base 125B-A6B MoE weights?
No. ckpt_final.safetensors is a 268 MB FP32 overlay (70.2M parameters, 0.056% of the base model) that leaves the base 125B-A6B MoE and 51.2B PLE checkpoint completely frozen.
Q:Can I toggle between T=1, T=2, and T=3 at inference time?
Yes. Both the Strata engine (--loop-passes) and the vLLM plugin (VLLM_LOOPED_NUM_PASSES) let you select T=1 (stock behavior), T=2, or T=3 without reloading the 125B base weights.
Q:Why does Looped T=2 use 34.2% fewer tokens on GPQA-Diamond and LiveCodeBench?
Stage 2 RLVR training teaches the recurrent adapter to perform multi-step verification inside repeated hidden-state passes instead of emitting redundant chain-of-thought tokens, cutting token counts by 33.5% on LiveCodeBench v6 and 37.3% on GPQA-Diamond.
Q:What GPU hardware is needed to run Looped-Qwen3.8-Flash-Next locally?
A single 24 GB RTX 3090 paired with system RAM expert offloading runs the GSQ-RCO IQ3_S or Unsloth UD-IQ4_XS packs via Strata, while full FP8 64k context serving runs on an H200 with vLLM 0.34+.
Related Alternatives & Comparisons
Related Architecture Guides
View all guidesBest Open Source Coding Agents in 2026: Free, Local & Fully Hackable Harnesses
MCP Server Security Best Practices: Hardening Model Context Protocol Agents in 2026
Open Source Coding Agent Harness: Build a Forkable, Local AI Engineering Runtime
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.