Developer tool output
171 questions across 50 GitHub API pages, failed CI logs, search results, and READMEs. Claude Haiku answered 157 correctly with pithio while using 29% fewer input tokens.
| Measure | Full output | Shortened with recovery |
|---|---|---|
| Correct answers | 148/171 (86.5%) | 157/171 (91.8%) |
| Mean input tokens per output | 39,775 | 28,330 |
| JSON API questions | 47/52 | 52/52 |
With the full output, the model read it directly. With the shortened output, the model could query or read the stored original. These results combine two fresh samples, with improvements to recovery commands between runs.
System logs
54 questions across 15 public system log samples evaluated in both setups. The questions asked for counts, line numbers, the presence of a string, and the first error. Loghub samples
| Measure | Full output | Shortened with recovery |
|---|---|---|
| Correct answers | 31/54 (57.4%) | 40/54 (74.1%) |
| Mean input tokens per log | 138,106 | 55,185 |
Across the matched logs, the model used 60% fewer input tokens with the shortened output and recovery.
JSON and CSV lookups
Claude Haiku answered 36 questions on seven JSON pages and two CSV tables. It could query the stored data to count, filter, and look up values. The full-output setup read the complete data directly.
| Measure | Full output | Shortened with queries |
|---|---|---|
| Correct answers | 33/36 | 36/36 |
| Mean model input tokens per output | 68,416 | 24,512 |
Querying used 64% fewer input tokens than reading the whole output in this run. On a second fresh set of 14 JSON pages and 10 CSV tables, queries answered 94/96 correctly versus 77/96 with page-by-page recovery. The query run used 77% fewer input tokens than paging, averaging 31,981 versus 141,901 per output.
Format checks
These code-scored checks measured how much fit in the shorter view and verified the expected details. Token savings include the recovery note where present.
| Public sample | Tool tokens saved | Details verified |
|---|---|---|
| 24 CSV excerpts with repeated columns, 100–300 rows each | 30–40% | Every row decoded exactly |
| 84 excerpts of 100 lines from six failed GitHub Actions logs | 64–88% by project | All checked problem lines visible |
| Two losslessly grouped Git search results | 24–30% | 343/343 matches visible |
| 42 YAML and TOML files | 31.8% | 110/126 expected strings visible |
| 10 GitHub commit API pages | 92.2% | 27/27 expected strings visible |
| 12 more commit API pages in the sealed release set | About 92% | 24/24 expected strings visible |
Hook safety checks
We replayed 49 frozen public inputs through the release hook, then repeated the checks with a fresh store.
| Check | Inputs that passed |
|---|---|
| Output at or below the original token count | 49/49 |
| Nonempty tool result | 49/49 |
| Identical result on repeat | 49/49 |
| Shortened views within 25,000 characters | 46/46 |
How we measured
We sampled public inputs using fixed rules and hashed them before evaluation. Claude Haiku answered the model-scored questions, which we checked against answers derived from the originals. The format checks used code to compare values, lines, or expected text.
- Model input tokens
- Everything the model read over all turns, including cached input and recovery.
- Tool-result tokens
- The size of the result itself, counted with the o200k tokenizer.
- Answer text visible
- A code check for expected text before recovery. This shows what was visible to the agent.
We applied the same first-error answer format to every condition when scoring saved CI answers. The system log figures use the 15 logs with calls recorded in both setups.
See supported inputs