SUTRA benchmarks

Measured on committed CLI tool-output fixtures

version — generated — Repository
Compression · tokens · latency

What the optimizer actually saves.

Every fixture is a captured tool result. SUTRA measures the visible result, not a provider bill: byte counts are exact, token counts use the o200k_base encoding, and latency is a local median. No model calls are made.

Read the totals honestly. Many fixtures are small enough that the deterministic head/tail pass leaves them unchanged. Per-case rows and the top-savings chart show where compression is doing real work.
Fixtures
—
— real tool outputs
Input
—
— tokens
Visible output
—
— tokens
Overall saved
—
— bytes across all fixtures
Overall percentage is not the headline. It is the aggregate over a corpus dominated by small fixtures. Use the per-case saved % and the top-savings chart to judge the optimizer; a small overall number with unchanged patches and JSON is the intended conservative behavior, not a failure.

Largest byte savings

top 12 cases
Loading results…

By source tool

aggregated
Loading results…

All cases

—
Per-fixture compression results
CaseRuleInputOutput SavedTokensLatency