ref / 7c2eExact bytes availableKeep the original first.
Store original bytes before replacing eligible context. Recovery should not depend on a model remembering details.
Solutions / Context cost
Your agent carries instructions, history, and tool output into every turn. Make that context smaller—and keep the original bytes within reach.
Local compression · original bytes retained · no account required
The next message is only the smallest part of the request.
Add turns to the illustrative conversation. See how carrying smaller representations changes the total context sent across a task.
Assumes 2,000 fixed tokens, plus 800 payload tokens or 180 reference tokens added per turn. No cache discount or recovery calls included. This is a model, not a measured saving.
The Skill reduces filler in the model’s replies. The Proxy works on eligible context sent back to the model. They address different sides of the conversation.
Shorter replies can leave less material to carry into the next turn. Output-token reductions are distinct from input and reasoning usage.
Use content-specific compression for logs, JSON, tables, code, diffs, and terminal output. Retain the original before replacing it.
Try a real local example: minify this JSON, then restore its exact original bytes. No model or network call is involved.
{
"request": "build-1042",
"status": "passed",
"checks": [
{
"name": "typecheck",
"result": "passed"
},
{
"name": "unit tests",
"result": "passed"
},
{
"name": "schema validation",
"result": "passed"
}
],
"summary": "All required checks completed."
}This demo performs JSON minification and local restoration. Caveman Proxy uses content-specific compressors and recoverable references for supported context.
ref / 7c2eExact bytes availableStore original bytes before replacing eligible context. Recovery should not depend on a model remembering details.
If parsing fails, recovery is unavailable, or the result is not smaller, pass the content through.
A local size reduction is an estimate. It does not automatically become a verified provider saving.
Know which part of the request changed, what was preserved, and what the measurement means.
The local Proxy stores the original bytes before lossy replacement so exact detail can be retrieved. If the required recovery path is unavailable, eligible content passes through unchanged.
No. The round-trip demo counts UTF-8 bytes. Model tokenization depends on the model and tokenizer; the context chart uses explicitly stated token assumptions.
No. Local reductions are inferred estimates. Cache discounts, recovery calls, retries, and provider billing affect the final cost.
Local compression with Caveman Proxy does not require an account. Hosted analytics, team controls, and verified savings belong to the commercial platform.
Make every token count.
Keep your agent’s context useful, compact, and recoverable. Start with the local Proxy.