Repository navigation
Measured byte-level savings on Windows: tool output -71.1%, path list -92.0%, build log +0.7% #4612
coeo91
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Setup
headroom-ai[proxy]), Windows wheel, Python 3.14.7/healthwaited untilkompress: healthyandchecks.upstream.urlmatched--no-cache --no-http2 --no-rate-limit --no-subscription-tracking,HEADROOM_BEACON=off,HEADROOM_TELEMETRY=offTopology measured
Seven arms on one machine: direct to stub; stub behind a gateway; headroom before the gateway;
headroom after the gateway; headroom alone. The reason for the full matrix was to separate
"headroom's own cost" from "gateway interference" rather than comparing two totals.
Results, headroom alone vs direct (bytes received by the stub)
Token counts from
/stats-historyagree with the wire bytes on the two big cases(8,695 -> 2,188 tokens, -74.8%; 5,646 -> 237 tokens, -95.8%). I am quoting wire bytes above
because that is what I could verify independently.
Behaviours worth documenting
Readresults are protected —P8 exists specifically to confirm that a 33 KB user message is not compressed.
is the honest number for that class of content.
only yields 888 B. Worth knowing when sizing expectations for long sessions.
headroom_retrievetool and, on the Anthropic path, onecache_controlblock.On requests that are already small, that overhead dominates (P6: +438 B, 137%).
headroom no longer augments the tool list (12/12 instead of 13/12) and the request stays 482 B
smaller than the other order. Not a bug, just an interposition effect.
Reproduction
Public harness, synthetic payloads, no secrets:
https://github.com/coeo91/headroom-chain-testRUNBOOK.md§3 has a copy-paste block that brings up stub + headroom + gateway and runs all arms;RESULTS-SAMEMACHINE.mdis the raw table;RESULTS-PASSTHROUGH.mdis the byte-transparent control.Caveats
with either.
cache_readbehaviouron a real vendor was not measured here.
All reactions