Pithio benchmarks

Selected results from frozen public workloads, with the token counts and answer checks behind each result.

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.

MeasureFull outputShortened with recovery
Correct answers148/171 (86.5%)157/171 (91.8%)
Mean input tokens per output39,77528,330
JSON API questions47/5252/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

MeasureFull outputShortened with recovery
Correct answers31/54 (57.4%)40/54 (74.1%)
Mean input tokens per log138,10655,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.

MeasureFull outputShortened with queries
Correct answers33/3636/36
Mean model input tokens per output68,41624,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 sampleTool tokens savedDetails verified
24 CSV excerpts with repeated columns, 100–300 rows each30–40%Every row decoded exactly
84 excerpts of 100 lines from six failed GitHub Actions logs64–88% by projectAll checked problem lines visible
Two losslessly grouped Git search results24–30%343/343 matches visible
42 YAML and TOML files31.8%110/126 expected strings visible
10 GitHub commit API pages92.2%27/27 expected strings visible
12 more commit API pages in the sealed release setAbout 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.

CheckInputs that passed
Output at or below the original token count49/49
Nonempty tool result49/49
Identical result on repeat49/49
Shortened views within 25,000 characters46/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