# Caveling-2-Mini (post-trained/fine-tuned Inkling-2-Mini)

> Source: <https://caveman.so/news/introducing-caveling-2-mini>
> Published: 2026-12-01 21:20:01+00:00

**Recommendation:** Post-train away repeated self-checks and dead-end reasoning loops to cut token spend; the source kept 100.5% of base accuracy with 43.1% fewer reasoning tokens and a 1.71× speedup.
More in the playbook "Controlling LLM cost": <https://wpnews.pro/playbooks/llm-cost>

Thinking Machines' [Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini)
packs a lot into a small model: a looped mixture-of-experts with 26B total and
3.4B active parameters, a 1M-token context, native NVFP4/MXFP8 weights, and
strong scores across math, coding and tool use. Its weak spot is how long it
takes to get there. It overthinks, re-checking answers it already has and
circling back through dead ends: on Artificial Analysis it uses 74% more tokens
than average across benchmarks, so even a straightforward answer often waits
behind pages of thinking.

**Caveling-2-Mini** is Inkling-2-Mini post-trained to skip those loops. We
built it for reasoning, coding and tool-use work where Inkling-2-Mini gets the
answer right but takes too long. At `xhigh` effort across 9 text and 1M
long-context benchmarks it keeps **100.5%** of the base model's accuracy with
**43.1% fewer reasoning tokens**, an estimated **1.71×** average speedup in
time to finished answer. On vision benchmarks it was never trained on, it keeps
**99.3%** of base accuracy with **54.0% fewer output tokens**. The weights are
open today under Apache-2.0 on
[Hugging Face](https://huggingface.co/caveman-so/caveling-2-mini), with the
base model's architecture, tokenizer and chat template unchanged.

Post-training removed repeated self-checks and dead-end loops from the reasoning. Effort control, tool calling and image input work as before.

## Side-by-side in practice

We gave both models the same two consecutive single-file web-game tasks under
identical conditions. First, build a playable, zero-dependency 2D
Pokémon-style "Cave City" RPG in one `index.html`. Then convert that passing 2D
game into a playable 3D Three.js version with the same mechanics.

Each build had to reach a working MVP that passed two gates. An **automated
headless-browser check** required zero console or runtime errors,
full-viewport rendering and responsive controls. A **human usability check**
required a playable spawn, a smooth camera, and working collision and hitboxes.
When a build failed either gate, its errors or play-test notes went back to the
model as follow-up messages until it fixed them, and every generated token and
wall-clock second of that exchange counts toward the totals.

Across both tasks, Caveling-2-Mini finished in **167,655 tokens and 19.5
minutes**, against 336,715 tokens and 41.3 minutes for Inkling-2-Mini: **50.2%
fewer tokens** and **2.12× faster** to two working games. The exact
[2D and 3D prompts](https://huggingface.co/caveman-so/caveling-2-mini/blob/main/prompts/cave-city-prompts.txt)
are published with the weights, and the
[recording](https://huggingface.co/caveman-so/caveling-2-mini/resolve/main/caveling-vs-inkling-cavecity-sidebyside.mp4)
plays at full size there too. This is one task pair on one seed, so read it as
an illustration of the benchmark results below, not as a separate measurement
of them.

### What changes inside the thinking

To see where those tokens go on a short everyday coding prompt, we ran both models at `xhigh` effort with the same seed on a straightforward grid-counting task. Both produce the same working Python solution, yet Inkling-2-Mini spends 778 reasoning tokens second-guessing an example and drafting the whole script inside its thoughts before writing it a second time. Caveling-2-Mini plans it in 48 tokens (93.8% fewer) and writes the solution straight away.

### Same prompt at xhigh: reasoning and answer side by side

xhigh effort (0.99) · identical seed
Given F friends' Y/N likes over I items and a threshold T, write a Python 3 program that counts how many items have at least T likes.

```
Here is a competitive programming task.

You're a Professional

Time limit per test: 2.0 seconds; memory limit: 64.0 MB

A simple recommendation system would recommend a user things liked by a certain number of their friends. In this problem you will implement part of such a system.

You are given user's friends' opinions about a list of items. You are also given a threshold T — the minimal number of "likes" necessary for an item to be recommended to the user.

Output the number of items in the list liked by at least T of user's friends.

Input
The first line of the input will contain three space-separated integers: the number of friends F (1 ≤ F ≤ 10), the number of items I (1 ≤ I ≤ 10) and the threshold T (1 ≤ T ≤ F).

The following F lines of input contain user's friends' opinions. j-th character of i-th line is 'Y' if i-th friend likes j-th item, and 'N' otherwise.

Output
Output an integer — the number of items liked by at least T of user's friends.

Examples
Input
3 3 2
YYY
NNN
YNY

Output
2

Input
4 4 1
NNNY
NNYN
NYNN
YNNN

Output
4

Give a complete Python 3 solution (read input with input() or sys.stdin, print the result) in a single code block.
```

#### Thinking · 778 tok

#### Answer · 149 tok

``` python
import sys

def main():
    data = sys.stdin.read().split()
    F, I, T = int(data[0]), int(data[1]), int(data[2])
    lines = data[3:3 + F]
    result = 0
    for j in range(I):
        likes = 0
        for i in range(F):
            if lines[i][j] == 'Y':
                likes += 1
        if likes >= T:
            result += 1
    print(result)

main()
```

#### Thinking · 48 tok

#### Answer · 149 tok

``` python
import sys

def main():
    data = sys.stdin.read().split()
    F, I, T = int(data[0]), int(data[1]), int(data[2])
    lines = data[3:3 + F]
    count = 0
    for j in range(I):
        c = 0
        for i in range(F):
            if lines[i][j] == 'Y':
                c += 1
        if c >= T:
            count += 1
    print(count)

main()
```

## Attention is all you need

Attention is all you need, and we took that to heart with Caveling-2-Mini. Inkling-2-Mini is a 24-layer looped mixture-of-experts model. Layers 6 to 17 run three times per token with shared weights, and the routed experts ship natively in NVFP4/MXFP8. Fine-tuning the experts would mean dequantizing them, training, and quantizing again, which adds rounding drift to most of the model's parameters.

So we trained only the attention. Caveling-2-Mini updates the **168 BF16
attention projection tensors** directly in the precision they are served in,
and leaves the other **1,130** tensors byte-identical to the base checkpoint.

Layer 0Layer 23

**Vision carries over.** The vision encoder never saw a gradient, and on
`CharXiv` and `MMMU-Pro` the model keeps 99.3% of base accuracy with 54.0%
fewer output tokens: the shorter reasoning transferred to images we never
trained on.

**Long-context recall holds.** On MRCR from 64K to 1M tokens at `xhigh`,
Caveling-2-Mini scored 83.1% against 71.2% for the base model with 40.8% fewer
reasoning tokens, on a small suite of 22 items.

**The serving stack does not change.** The 3-layer MTP drafter ships
byte-identical, so Inkling's native speculative decoding loads it as before.
We have not yet benchmarked the speculative speedup on the released weights,
and every number in this post was measured with the drafter off.

The cost is that attention has to carry the whole behaviour change. Because the looped middle layers share weights, anything they learn applies on all three passes, so a small update has a large effect, in both directions.

## How we trained it

We trained in two steps, each with one job.

**Step 1: on-policy self-distillation.** The model writes its own reasoning,
and a reverse-KL anchor pulls each of its tokens toward the base model. On
easy and medium problems, the base model it learns from is given rules for
concise reasoning, so the redundant verification loops get trimmed. On hard
problems, it learns from the plain base model, which keeps those tokens where
they already were. This step cut reasoning by about 20% while holding accuracy
close to the base model.

**Step 2: verified preference optimization.** We then built 534 preference
pairs only from prompts the model solved reliably: both answers verified
correct, with the shorter reasoning preferred. The pairs cover instruction
following, tool use, multiple choice, structured output and math. Training on
them doubled the cut, to the 43.1% at `xhigh` reported above, with accuracy
intact. Verifying both answers matters: a pair where the short answer is wrong
teaches the model to stop early.

## Benchmarks across effort and 1M context

Inkling-2-Mini takes a thinking effort from `0.0` to `0.99` in the system
message. We publish two settings, `xhigh` (0.99) and `low` (0.2), plus vision.
We also report **TTFA (time to finished answer)**: the time from sending a
prompt until both the reasoning and the visible answer have finished. Both
models share the same architecture and per-token decode path, so we estimate
TTFA speedup as the ratio of mean output tokens per prompt, and average it
across benchmarks.

At `xhigh`, Caveling-2-Mini keeps 100.5% of base accuracy across 9 benchmarks
with 43.1% fewer reasoning tokens and a 1.71× average TTFA speedup. Its largest
single loss is `LiveCodeBench v6`, 72.0% against 75.4%. Small suites such as
AIME (30 and 60 problems) and MRCR (22 items) move by a few points between
runs, so read their individual deltas as within run-to-run noise.

See the full per-benchmark tables on the
[Hugging Face model card](https://huggingface.co/caveman-so/caveling-2-mini).

### Long reasoning at xhigh: math, science, code and 1M context

mean reasoning tokens per prompt
### Everyday work at xhigh: grade-school math, knowledge, instructions, tools

mean reasoning tokens per prompt
At `low`, the model keeps 95.6% of base accuracy with 26.4% fewer reasoning
tokens and a 1.40× average TTFA speedup. General knowledge, instruction
following and tool use stay near the base model (98.4% to 100.6% retained);
the losses sit in competition math, PhD-level science and hard coding, such as
`AIME 2025` at 84.5% retained and `LiveCodeBench v6` at 91.0%. MRCR is the one
suite where Caveling-2-Mini reasons more than the base model at `low`, 17.4%
more, for a TTFA ratio of 0.87×. On untrained vision, `CharXiv` gained 1.0
point and `MMMU-Pro` lost 2.0, for 99.3% retained.

### Untrained vision, and two suites at low effort

mean reasoning tokens per prompt
Pick the effort by the work. Use `xhigh` for competition math, hard coding and
PhD-level science, and `low` for fast general, instruction-following and tool
tasks, where accuracy stays near the base model.

## Serve it as a drop-in

Caveling-2-Mini serves with the same stack as Inkling-2-Mini. It needs a vLLM build with Inkling-2-Mini support and uses the same reasoning and tool-call parsers:

`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`
Set the effort in the system message, for example `Thinking effort level: 0.99`
for `xhigh` or `0.2` for `low`. The weights also load with Transformers through
`AutoModelForImageTextToText`.

We have not yet measured agentic software engineering suites (`SWE-bench Verified`, `Terminal-Bench`) or GGUF and MLX conversions, and Hopper GPUs,
which serve the experts dequantized to BF16, may differ from these numbers.

## Benchmark methodology notes

**Models:** Inkling-2-Mini (`thinkingmachines/Inkling-2-Mini`, pinned at
revision `b85c3cfa615fc413cc9af3379f491b963f3b586a`) against Caveling-2-Mini as
published at `caveman-so/caveling-2-mini`.

**Serving and hardware:** One pinned vLLM nightly build for both models, native
NVFP4/MXFP8 weights, no speculative drafter, RTX PRO 6000 Blackwell (SM120). Standard suites used `max_model_len` 262,144 and up to
131,072 output tokens; MRCR used `max_model_len` 1,048,576 and up to 32,768
output tokens.

**Decoding:** `xhigh` is `Thinking effort level: 0.99` and `low` is
`Thinking effort level: 0.2` in the system message. Temperature 1.0, `top_p`
1.0, `top_k` −1, with identical per-item deterministic seeds for both models.

**Benchmarks:** `AIME 2024` (n=30) and `AIME 2025` (n=60), each the mean of two
samples per problem. `GPQA Diamond` (n=198), `LiveCodeBench v6` (n=175),
`GSM8K` (n=1,319), `MMLU-Pro` (n=840), `IFEval` (n=541), `BFCL v4` (n=750) and
MRCR across 64K, 128K, 256K, 512K and 1M tokens (n=22), each one run per item.
Vision: `CharXiv` (n=100) and `MMMU-Pro` (n=150). That is 8,120 Caveling-2-Mini
generations across both effort settings and vision, each scored against the
base model on the same item and seed.

**Truncation and invalid outputs:** Truncated and unparseable outputs are
scored as incorrect. Across all 8,120 generations, Caveling-2-Mini's highest
truncation rate on any suite is 2.3%, its highest unparseable rate is 0.0%, and
its highest loop rate on the standard suites is 0.2%. MRCR had 0.0% truncation.

**Token counts and TTFA:** Reasoning and answer tokens are counted separately
and averaged per benchmark. TTFA speedup is base output tokens over
Caveling-2-Mini output tokens per benchmark: an estimate, not a wall-clock
measurement.

**Uncertainty:** Every suite except AIME is a single run at temperature 1.0, so
differences of a few points on small suites (AIME, MRCR, the vision sets) are
within run-to-run noise. We did not compute confidence intervals for this
release.

**Cave City side-by-side:** `xhigh`, temperature 1.0, `top_p` 1.0, seed 42
and concurrency 1, each model on one RTX PRO 6000 Blackwell GPU with the same
native NVFP4/MXFP8 vLLM setup. Totals count every generated reasoning and
answer token across both tasks and all follow-up messages. Times are measured
wall clock, not estimates.
