Models Are Trained on Their Own Harnesses — and Swapping Harnesses Shifts Token Cost 20%+
Agile-Negotiation-53 · reddit · 2026-11-28
A Reddit thread asks which models are co-trained on their own agent harnesses, sparked by official Qwen and DeepSeek notes and the author's easy migration from Hermes to Antigravity. Note: much of the detail below came from a Gemini-generated answer and should be independently verified.
Model-harness pairings cited
- Anthropic: Claude trained on Claude Code's exact tool loop (Bash/Edit/Glob/Grep/Read/Write/Task) — brittle if you swap its diff/edit format
- OpenAI: GPT-5/Codex trained against Codex CLI's applypatch, shell environment, and Responses API callid structure
- Google: Gemini natively trained on Antigravity/Gemini CLI's multi-surface agentic loop
- Moonshot (Kimi) and Zhipu (GLM): train agentic checkpoints on their native tool-calling templates and browser/terminal loops
Why it matters (cited benchmarks)
- "The Harness Effect": aligned tool schemas + stable prefixes for KV-cache hits (99.9% cache reads) cut tokens/task 38% (14.2k→8.8k), cost 41%, with 1.8× wall-clock speedup
- Harness-aligned strong models use fewer reasoning steps and higher tool-call density on SWE-bench Pro
- Native tool wrapping (HEART) reportedly cuts token costs up to 85%
- Untrained edit-tool mismatches alone can waste 20–23% of task tokens on failed retries
More from coding & agent
- AI Agent Hackathon Underway to Crack Kryptos K4, Unsolved for Decades — StrongCoffee85 · 2026-11-28
- Models co-trained on their own harnesses: the hidden token savings of staying native — CSEliot · 2026-11-28
- Jupyter Dev Demos xtralab: An Agent-First JupyterLab for Coding Agents — fperez_org · 2026-11-28
- Cue serves meeting notes to Claude Code via MCP, $99 lifetime till Nov 30 — abhas_singh · 2026-11-28
- 81% faster CI: cutting unnecessary TypeScript parsing takes Vite build from 423s to 83s — DanielLockyer · 2026-11-28
- 26 Claude Code agents run a simulated village, build a stargate in episode 1 — LeviTurk · 2026-11-28