Cost Optimization
~8 min readUpdated: December 2026

Caveling-2-Mini NVFP4: Concise Reasoning & LoopCD vLLM Serving Guide

Caveling-2-Mini NVFP4 Concise Reasoning and LoopCD Serving in Smoke Monkey

caveman-so/caveling-2-mini fine-tunes only the 168 BF16 attention projection tensors of Thinking Machines Inkling-2-Mini (26.4B MoE, 3.4B active, 1M context) while keeping all 1,130 NVFP4/MXFP8 expert, router, vision, and MTP tensors byte-identical—cutting reasoning tokens by 42.6% at 101.0% base accuracy.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

Caveling-2-Mini NVFP4: Concise Reasoning & LoopCD vLLM Serving Guide: caveman-so/caveling-2-mini fine-tunes only the 168 BF16 attention projection tensors of Thinking Machines Inkling-2-Mini (26.4B MoE, 3.4B active, 1M context) while keeping all 1,130 NVFP4/MXFP8 expert, router, vision, and MTP tensors byte-identical—cutting reasoning tokens by 42.6% at 101.0% base accuracy. 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.

Key Architectural Takeaways
Quick Implementation Examplecaveling-2-mini-agent.ts
caveling-2-mini-agent.tstypescript
import { createAgent } from '@smoke-monkey/harness';
// Serve caveman-so/caveling-2-mini via local vLLM with LoopCD enabled on port 8000
const agent = createAgent({
agentId: 'caveling-2-mini-nvfp4-engineer',
provider: 'openai-compatible',
baseUrl: 'http://127.0.0.1:8000/v1',
model: 'caveling-2-mini',
workspacePath: process.cwd(),
permissions: {
read_file: 'allow',
write_file: 'allow',
run_command: 'ask',
},
});
async function main() {
const result = await agent.run(
'Refactor src/workers/queue.ts to bound retry backoff, add Vitest coverage, and confirm all checks pass.'
);
console.log('Caveling-2-Mini Summary:', result.summary);
}
main().catch(console.error);
Video Guides

Watch: Related Video Guides

Caveling-2-Mini: Half the Thinking, Twice as Fast - Inkling Fine Tune

Can Caveling 2 Mini BEAT Inkling 2 Mini At These Tasks?

What Is Caveling-2-Mini and Why Update Only 168 Attention Tensors?

Caveling-2-Mini (caveman-so/caveling-2-mini, Apache-2.0) is a reasoning-efficiency fine-tune of Thinking Machines' Inkling-2-Mini—a 24-layer looped Mixture-of-Experts model (26.4B total, 3.4B active parameters, 1M context, native text + vision) whose middle layers (6–17) execute three recurrent passes with shared weights. Rather than dequantizing and re-quantizing the model's native NVFP4/MXFP8 routed experts, Caveling-2-Mini updates only the 168 BF16 attention projection tensors in served precision, leaving all 1,130 remaining tensors (experts, router, loop gates, vision encoder, and the 635.8 MB 3-layer MTP drafter) byte-identical.

Evaluated on RTX PRO 6000 Blackwell SM120 GPUs across 10 benchmarks (n = 4,024, xhigh = 0.99 effort), trimming redundant self-verification loops yields both higher accuracy and faster Time to Finished Answer (TTFA):

Benchmark SuiteInkling-2-Mini (Base)Caveling-2-MiniReasoning Token CutOutput Token CutTTFA Speedup
Terminal-Bench 2.1 (avg@3, n=89)48.7%52.8%↓ 38.6%↓ 31.5%1.46x
MRCR 64K–1M Long Context (n=22)71.2%83.1%↓ 40.8%↓ 37.6%1.60x
BFCL v4 Tool Calling (n=750)84.5%84.8%↓ 54.9%↓ 43.7%1.77x
IFEval Strict (n=541)93.3%91.9%↓ 53.8%↓ 49.2%1.97x
GPQA Diamond (n=198)86.4%85.9%↓ 40.4%↓ 40.4%1.68x
10-Suite Average (n=4,024)83.8%84.6% (101.0%)↓ 42.6%↓ 39.8%1.68x

Deploying Caveling-2-Mini in vLLM With the LoopCD Decoding Plugin

In a head-to-head 2D-to-3D Three.js game build test under identical NVFP4/MXFP8 vLLM settings, Caveling-2-Mini reached passing headless-browser and play-test checks in 167,655 tokens / 19.5 min versus 336,715 tokens / 41.3 min for Base (50.2% fewer tokens and 2.12x faster). On untrained multimodal benchmarks (CharXiv, MMMU-Pro), it retains 99.3% accuracy (71.5% vs 72.0%) with 54.0% fewer total output tokens.

To add contrastive loop-refinement at serving time without forking vLLM, install caveling_loopcd-0.1.0-py3-none-any.whl (40.1 KB) and enable CAVELING_LOOPCD=recommended (or hidden with CAVELING_LOOPCD_OMEGA=0.5 for zero overhead):

bash
# 1. Install compatible vLLM wheel and Caveling LoopCD zero-fork plugin
pip install --pre vllm --extra-index-url https://wheels.vllm.ai/ef687f6179b752c028767e610addbda67ed36d03
pip install https://huggingface.co/caveman-so/caveling-2-mini/resolve/main/caveling_loopcd-0.1.0-py3-none-any.whl

# 2. Launch vLLM with LoopCD, Inkling reasoning/tool parsers, and 262K context
CAVELING_LOOPCD=recommended vllm serve caveman-so/caveling-2-mini \
  --served-model-name caveling-2-mini \
  --tensor-parallel-size 1 \
  --max-model-len 262144 \
  --gpu-memory-utilization 0.9 \
  --reasoning-parser inkling \
  --enable-auto-tool-choice \
  --tool-call-parser inkling

Effort Calibration by Workload

Keep xhigh (0.99) for multi-step Terminal-Bench coding, competition math, and GPQA science. For rapid tool routing or instruction following, low (0.2) preserves 98.4%–100.6% accuracy with 25.6% fewer reasoning tokens (1.37x TTFA speedup), while trading -4.5 pts on TB 2.1.

Using Caveling-2-Mini in Smoke Monkey Harness Multi-Turn Loops

Because Caveling-2-Mini drops max loop rate to 0.2% and logs 0 tool-parse errors across 267 Terminal-Bench 2.1 rollouts, it avoids the bloated <think> stalls that exhaust agent context budgets. Connect it to Smoke Monkey Harness via the openai-compatible provider, and reserve Smoke Monkey Canvas agent lanes for xhigh architectural edits while assigning low-effort subagents to fast log triage.

Google Search Questions & Answers

Frequently Asked Questions

Q:How big is the Caveling-2-Mini checkpoint and what GPUs run it natively?

The native NVFP4/MXFP8 SafeTensors checkpoint (model-00001-of-00001.safetensors) is 19.53 GB plus 635.8 MB for mtp.safetensors (20.19 GB total). Blackwell SM120 GPUs execute NVFP4/MXFP8 natively; Hopper GPUs dequantize to BF16, and GGUF/MLX builds are published in the official collection.

Q:Does Caveling-2-Mini break Inkling-2-Mini tool calling or vision?

No. All 1,130 expert, router, vision encoder, and 3-layer MTP tensors remain byte-identical to Inkling-2-Mini, and Caveling achieves 84.8% on BFCL v4 (vs 84.5% base) with 0 tool-parse errors on Terminal-Bench 2.1.

Q:What does the LoopCD vLLM plugin do?

caveling_loopcd-0.1.0 is a 40.1 KB zero-fork vLLM plugin that applies Loop Contrastive Decoding across Inkling’s repeated middle layers (6–17), improving LiveCodeBench v6 by +2.3 percentage points while keeping CUDA graphs and prefix caching active.

Q:When should I use effort=low vs effort=xhigh?

Use xhigh (0.99) for hard coding, Terminal-Bench, and PhD science. Use low (0.2) for general chat, IFEval, and simple BFCL tool dispatch where it retains 98.4%–100.6% accuracy at 1.37x TTFA speedup.

Related Alternatives & Comparisons

Related Architecture Guides

View all guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness