# Codex context bloat? 87% avg reduction on SWE-bench Verifie…

If you had to build a context window manager in 24h, would you stick to the existing model or come up with something better? Here's what I did: 1. Built a proxy that intercepts Codex's calls to OpenAI and rewrites them on the fly. 2. Replayed 3,807 rounds of SWE-bench Verified traces through it: av…

- **Page:** https://magpie.gallery/i/codex-context-bloat-87-avg-reduction-on-swe-bench-wk62
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Tags:** context, proxy, tokens, codex, benchmark

## Source

Web · george_ciobanu: Codex context bloat? 87% avg reduction on SWE-bench Verified traces

- **Original:** https://news.ycombinator.com/item?id=47896087

> If you had to build a context window manager in 24h, would you stick to the existing model or come up with something better? Here's what I did: 1. Built a proxy that intercepts Codex's calls to OpenAI and rewrites them on the fly. 2. Replayed 3,807 rounds of SWE-bench Verified traces through it: avg prompt 44k → 6k tokens (-87%). 3. Posted it to HN to get the next reduction applied to my confidence interval — starting with the inevitable "How about accuracy?" npx -y pando-proxy · github.com/human-software-us/pando-proxy https://www.npmjs.com/package/pando-proxy

## GitHub projects

- https://github.com/human-software-us/pando-proxy

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
