Context Efficiency · Verified Benchmarks

Same benchmark score. 63% fewer tokens.

Every verdict, raw log, and harness script is published on GitHub. Mixdog combines ten context-efficiency layers—including a Rust AST code graph and a 150 MB local CPU effort judge—to eliminate token leaks without sacrificing accuracy.

Terminal-Bench 2.1 · Official Harbor Verifier · Unmodified Timeouts · Zero Retries
−63%Total tokens vs Codex CLI156.5M vs 421.4M (k=5, 445 trials)
86.5%Task success rate385/445 vs Codex CLI 383/445 (86.1%)
87 / 89Tasks using fewer tokens$0.476 vs $0.782 per trial
~115 msLocal Auto Effort judge150 MB ONNX on CPU · −35% extra cost

Published Terminal-Bench 2.1 results

All runs used the official Harbor verifier across all 89 Terminal-Bench 2.1 tasks with unmodified timeouts and zero retries. Raw logs are published in tribgames/mixdog under benchmarks/terminal-bench-2.1/.

Run DateModel & TrialsComparisonScoreCost DeltaFinal Context (Median)
2026-08-25GPT-5.6 Sol xhigh · k=5 (445 trials)vs Codex CLI385 vs 383 / 445 (86.5% vs 86.1%)−39% ($0.476 vs $0.782)−46% (18.5K vs 34.3K)
2026-08-25Claude Opus 5 · k=1 (89 trials)vs Claude Code79 vs 77 / 89−19%−28% (27.6K vs 38.2K)
2026-10-15GPT-6.1 Sol xhigh · k=1 (Auto effort on)vs Codex CLI77 vs 78 / 89−55% ($9.01 vs $19.83)−68% (10.8K vs 33.6K)

Where the token savings actually come from

Mixdog separates three distinct problems—smaller prompts, less repeated work, and higher cache reuse—across dedicated runtime layers.

SMALLER PROMPTS

Lightweight instructions & bounded tools

First-request input drops to ~4.7K–5.0K tokens (vs ~14.3K–14.4K on Codex CLI) by stripping redundant guidance and using dedicated, range-bounded read, grep, glob, and git tools.

RUST CODE GRAPH

Embedded tree-sitter & ast-grep across 31 languages

The Rust mixdog-graph engine parses 31 languages and extracts symbols and imports for 24, letting the model query outlines, callers, callees, and impact instead of reading whole files repeatedly.

SMART CACHING

Watcher-invalidated caches & provider prompt caching

Stat-validated read caches and native watcher-invalidated search caches stop redundant tool output, while stable prompt prefixes maximize provider prompt cache hit rates.

STRUCTURED COMPACTION

Task-structured handoffs that keep long runs sharp

When history grows long, Mixdog compacts into a structured handoff (goals, constraints, progress, decisions, files) while keeping recent tool pairs and active skill instructions intact.

Auto Reasoning Effort: a 150 MB local model on your CPU

Running every simple follow-up or tool step at fixed xhigh burns reasoning tokens unnecessarily. Mixdog’s on-by-default Auto mode scores each message and tool step locally in about 115 ms on CPU—no GPU and no external API call.

ONNX ON CPU

EmbeddingGemma 2 encoder, 4-bit quantized (~150 MB)

Runs locally on 4 CPU threads via ONNX Runtime. Nothing you type leaves your machine for effort routing, and the model is verified by sha256 manifest on download.

MEASURED IMPACT

35% cheaper than fixed xhigh, 78.1% exact accuracy

On GPT-6.1 Sol Terminal-Bench 2.1, Auto cut cost 35% vs fixed xhigh ($9.01 vs $13.78) while preserving prompt cache hits. Across 11,649 held-out items, Judge v7 achieved 78.1% exact agreement and 0.960 ROC AUC for hard-work detection.

Frequently asked questions

Where can I inspect the raw Terminal-Bench 2.1 benchmark logs?

Every verdict, execution log, and benchmark script is published openly in the GitHub repository under benchmarks/terminal-bench-2.1/.

Does Auto Reasoning Effort break Anthropic or OpenAI prompt caching?

No. Auto adjusts reasoning effort only on models and APIs where mid-conversation effort changes preserve the provider prompt cache, and stores each step judgment consistently so later turns keep hitting the cache.

Does the local Auto Reasoning Effort judge need a GPU?

No. The 150 MB 4-bit ONNX model runs entirely on the desktop CPU (4 threads) in about 115 ms median latency with zero network calls after the initial download.

How does the built-in AST code graph save tokens?

Instead of reading entire source files or running broad regex greps just to map a module, the agent asks mixdog-graph for symbol outlines, definitions, references, callers, and dependents across 31 parsed languages.

Can I monitor exact token and cost usage per request?

Yes. Mixdog includes an itemized Context token breakdown view, a Usage rail showing subscription quotas and reset times, and a Request log showing tokens, cost, and duration per model call.

Start using Mixdog for free.

Apache-2.0 open source for Windows, macOS, and Linux. Sign in with your existing AI subscriptions or API keys with zero config files.