Launching today

Context Gateway
Make Claude Code faster and cheaper without losing context
178 followers
Make Claude Code faster and cheaper without losing context
178 followers
Context Gateway cuts latency and token spend for Claude Code / Codex / OpenClaw by compressing tool output while preserving important context. Setup takes less than a minute. Quality-of-life features: instant context compaction and setting spend limit in Claude Code.



Context Gateway
Congrats on the launch! Curious how the compression handles tool outputs that contain mixed content, structured data alongside verbose logs, for example. Does it preserve the structured parts reliably while trimming the noise, or is it more of a blunt summarization?
Context Gateway
@joao_seabra Thanks for the question!
Right now we don’t explicitly differentiate between structured and unstructured data and the compression runs across the tool outputs as they are. Even with that simple approach we’re seeing pretty significant gains in accuracy and reduction of cost and latency.
That being said, you’re touching on something we’re actively working on. Our next major update will start treating structured and unstructured parts differently, so we can treat things like JSON/schema fields atomically while being more aggressive with verbose logs.
Expect improvements here soon.
Really smart approach to a problem I hit constantly - agent tool calls returning massive outputs that bloat context and burn tokens. The instant compaction feature is clutch too, waiting 3 min for /compact in Claude Code always kills my flow. Curious how the compression models handle code-heavy outputs vs prose - do you see different compression ratios?
Context Gateway
Hey @emad_ibrahim , thank you! The compression ratio is currently fixed at 0.5 - we'll make it auto-tunable in the future to account for varying "density" of different inputs, but, empirically, we see that it already works fine!
BlocPad - Project & Team Workspace
Oh man the instant compaction alone is worth it. I've been hitting /compact in Claude Code and just staring at the screen for like 3 minutes every time my context gets bloated. The spend cap + Slack notifications combo is also super practical, I've definitely had sessions where I looked away for a bit and came back to a surprisingly large bill lol
Context Gateway
Hey @mihir_kanzariya , completely agree! As a matter of fact, we just built what we wanted to use ourselves :))
Chirpz