# Caveling 2 Mini

URL: https://interfaze-landing-1am6r0242-jigsaw-stack.vercel.app/models/caveman-socaveling-2-mini

[All models](https://interfaze-landing-1am6r0242-jigsaw-stack.vercel.app/models)

Caveling 2 Mini by caveman-so, a image-text-to-text model with multimodal capabilities. Understand and compare multimodal features, benchmarks, and capabilities.

## Comparison

| Feature | Caveling 2 Mini | Interfaze |
| --- | --- | --- |
| Input Modalities | text, image | image, text, audio, video, document |
| Native OCR | No | Yes |
| Long Document Processing | No | Yes |
| Language Support | unknown | 162+ |
| Native Speech-to-Text | No | Yes |
| Native Object Detection | No | Yes |
| Guardrail Controls | Yes | Yes |
| Context Input Size | 1M | 1M |
| Tool Calling | Yes | Tool calling supported + built in browser, code execution and web search |

### Scaling

| Feature | Caveling 2 Mini | Interfaze |
| --- | --- | --- |
| Scaling | Self-hosted/Provider-hosted with quantization | Unlimited |

[Try Interfaze](https://interfaze-landing-1am6r0242-jigsaw-stack.vercel.app/dashboard)[Read the Docs](https://interfaze-landing-1am6r0242-jigsaw-stack.vercel.app/docs)

View model card on [Hugging Face](https://huggingface.co/caveman-so/caveling-2-mini)

> \[!NOTE\] **Caveling-2-Mini** is a faster, more efficient version of Thinking Machines' [Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) (26B, 3.4B active, 1M context, text + vision), built as a drop-in replacement for reasoning, coding, and tool-use workloads. It trims repetitive overthinking so you get finished answers faster and at lower token cost without losing accuracy, achieved by lightly fine-tuning only the attention layers while leaving the rest of the base model untouched.

> \[!TIP\] Official **NVFP4** and **Q4\_K\_M** GGUF quants (with lossless BF16 attention) for `llama.cpp`, `llama.app`, LM Studio, and Ollama are available at [**`caveman-so/caveling-2-mini-GGUF`**](https://huggingface.co/caveman-so/caveling-2-mini-GGUF).

At **`xhigh`** reasoning effort across 9 text and 1M long-context benchmarks (`n = 3,935`), **Caveling-2-Mini** retains **100.5%** of base accuracy (**88.2%** vs **87.7%**) while cutting mean reasoning tokens by **43.1%** and total output tokens by **40.7%** (**1.71×** average TTFA speedup). On **untrained vision** benchmarks (`CharXiv`, `MMMU-Pro`), it retains **99.3%** accuracy (**71.5%** vs **72.0%**) with **54.0%** fewer total output tokens. At **`low`** effort, it retains **95.6%** accuracy while cutting reasoning tokens by **26.4%** (**1.40×** average TTFA speedup).

**What is TTFA?** **TTFA (Time to Finished Answer)** is the total end-to-end latency from sending a prompt until both reasoning and the final visible answer have finished generating. Because Caveling-2-Mini preserves the exact architecture and per-token decode path of Inkling-2-Mini, TTFA speedup tracks total output token reduction directly — averaging **1.71×** at `xhigh` (up to **1.97×** on `IFEval`) and **1.40×** at `low` (up to **1.90×** on `LCB v6`).

## Side-by-side comparison

Both **Caveling-2-Mini** and **[Inkling-2-Mini (Base)](https://huggingface.co/thinkingmachines/Inkling-2-Mini)** were given the same two consecutive single-file web-game tasks under identical conditions (`xhigh` effort `0.99`, `temperature=1.0`, `top_p=1.0`, `seed=42`, concurrency `1`, native NVFP4/MXFP8 vLLM on matching `1× RTX PRO 6000 Blackwell` GPUs): first building a playable, zero-dependency 2D Pokémon-style "Cave City" RPG (`index.html`), then converting their own passing 2D game into a playable 3D Three.js version with the same mechanics. Each build had to reach a working MVP that passed both **automated headless-browser checks** (zero console or runtime errors, full-viewport rendering, responsive controls) and **human usability checks** (playable spawn, smooth camera, collision and hitboxes). Whenever a build failed either gate, its errors or play-test issues were fed back to the model in follow-up messages until it resolved them, with every generated token and wall-clock second across the full interaction counted in the displayed totals (`167,655` tokens / `19.5 min` combined for Caveling-2-Mini vs `336,715` tokens / `41.3 min` for Base: **50.2% fewer tokens** and **2.12× faster**). See the [full 2D and 3D prompts](https://huggingface.co/caveman-so/caveling-2-mini/blob/main/prompts/cave-city-prompts.txt).

## How it works

Inkling-2-Mini is a 24-layer looped MoE whose middle layers (6–17) run three times with shared weights and whose routed experts ship natively in NVFP4/MXFP8. Instead of re-quantizing or altering the 4-bit experts, Caveling-2-Mini updates only the **168 BF16 attention projection tensors** directly in served precision and leaves all **1,130** other tensors — experts, router, loop gates, vision encoder, and 3-layer MTP drafter — byte-identical to the base checkpoint. Post-training trims redundant self-verification and dead-end loops inside reasoning blocks while preserving Inkling's effort control (`0.0` to `0.99`), tool calling, and multimodal stack.

## Benchmarks

### Evaluation setup

Both **Caveling-2-Mini** and **[Inkling-2-Mini (Base)](https://huggingface.co/thinkingmachines/Inkling-2-Mini)** were evaluated with the same native NVFP4/MXFP8 vLLM serving configuration (`max_model_len=262144` / `max_output_tokens=131072` for standard suites; `max_model_len=1048576` / `max_output_tokens=32768` for `MRCR` 64K–1M, `temperature=1.0`, `top_p=1.0`, `top_k=-1`, no drafter) and identical per-item deterministic seeds on RTX PRO 6000 Blackwell (SM120). Truncated or unparseable outputs are scored as incorrect; across all **8,120** benchmark generations below, Caveling-2-Mini has a max truncation rate of `2.3%`, max unparseable rate of `0.0%`, and max loop rate of `0.2%` on standard suites (`0.0%` truncation on `MRCR`).

### xhigh effort (0.99)

### low effort (0.2)

### Vision (untrained)

## Usage

### Serve with vLLM

Requires a vLLM build with `Inkling-2-Mini` support:

```
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
```

### Query via OpenAI-compatible client

Pass `Thinking effort level: <0.0-0.99>` in the system message to control reasoning depth (`0.99` `xhigh` recommended for maximum accuracy; `0.2` `low` for faster responses):

```
from openai import OpenAI

client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")

resp = client.chat.completions.create(
    model="caveling-2-mini",
    temperature=1.0,
    top_p=1.0,
    max_tokens=16384,
    messages=[
        {"role": "system", "content": "Thinking effort level: 0.99"},
        {"role": "user", "content": "Prove that there are infinitely many primes congruent to 3 mod 4."},
    ],
)

msg = resp.choices[0].message
print("THINKING:", getattr(msg, "reasoning_content", ""))
print("ANSWER:", msg.content)
```

### Load with Transformers

```
from transformers import AutoModelForImageTextToText, AutoProcessor

model_id = "caveman-so/caveling-2-mini"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(model_id, device_map="auto")
```

## Files

## Limitations

-   **Recommended effort settings:** Use **`xhigh` (`0.99`)** for competition math, hard competitive coding, and PhD-level science. At **`low` (`0.2`)**, fast general, instruction-following, and tool-use benchmarks stay near base (`98.4%–100.6%` retention), while competition math and PhD science trade accuracy for speed (`AIME 2025` −15.0 pts, `AIME 2024` −10.0 pts, `GPQA Diamond` −6.1 pts).
-   **Unmeasured scopes:** Agentic software engineering suites (`SWE-bench Verified`, `Terminal-Bench`), large-scale long-context agentic aggregation (`AgentLongBench`), and GGUF/MLX conversions have not yet been evaluated at scale on Caveling-2-Mini.
-   **Single-run variance and hardware scope:** AIME uses `avg@2` (`n=30` / `n=60`) and all other suites are single-run at `T=1.0`, so small deltas on small suites sit within run-to-run noise. Benchmarks were measured on SM120 Blackwell native NVFP4/MXFP8 serving; Hopper (BF16 dequantized) and GGUF/MLX builds may differ.

## License

Apache-2.0, matching [thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini).

## Want more deterministic results?

[Try Interfaze](https://interfaze-landing-1am6r0242-jigsaw-stack.vercel.app/dashboard)[Read the Docs](https://interfaze-landing-1am6r0242-jigsaw-stack.vercel.app/docs)
