I kept shipping APIs I hadn’t really looked at.
I’d ask whatever assistant was open Cursor, Claude, Antigravity, Trae for a users endpoint. It generated the route, the DTO, the response. The page rendered. I moved on.
Then I opened DevTools → Network.
Gzip made the response look small, so I ignored it.
That was the mistake.
This is not only a backend problem. Frontend apps consume these payloads too.
If the client receives something like 500KB and only needs 50KB, both sides pay for it, whether the contract was written by you, your team, or an agent. Compression hides sloppy JSON. It doesn't delete fields you shouldn't have sent.
A normal-looking user list I ran through this looked like:
preferences object repeated on every row: 528 B
Then Gzip crushed it to a few hundred bytes. That’s how this survives code review. The wire looks fine. The shape is still fat.
I didn’t want a place where I paste a giant JSON blob and stare at charts.
I wanted the same agent that wrote the endpoint to look at it and say: we don’t need all this.
So I built BandwidthGuard. Two ways in.
Go to /analyze. Paste JSON, drop a HAR, or paste cURL. It stays in the browser. Nothing gets uploaded.
You get a score, a field-level breakdown, Gzip / Brotli / Zstd / MessagePack / CBOR on that payload, and fixes split into:
That last split matters more than the codec table. Minifying JSON is easy. Pulling email off a list endpoint is not the same kind of change.
This is the path I actually use when I just generated the endpoint.
On the homepage, open Feed Payload Insights into Your AI Coding Agent.
GET /v1/users or just User list
The prompt already tells the agent to find bloat, clean the serializer, compare compression, show before/after, and check work in the analyzer. It also points to /llms.txt so the model isn’t inventing a process.
Generate → inspect one payload, or skip straight to the prompt → slim the serializer → paste the new response back if you want proof.
It is not an APM.
It is not your cloud invoice.
It will not cut a bill by some fixed percentage just because Gzip exists.
If compression is already on, the useful win is structural: stop sending unused fields.
Use a list endpoint you didn’t hand-write. Detail endpoints are usually less embarrassing.
Then look at two things only:
Free. No account. Runs in the tab.
https://bandwidthguard.chidkoli.com/ I built this because I got tired of shipping apps that worked and still moved more data than they needed.
Cover image: the 5:2 two-card graphic (agent-cards-5x2-wide.jpg).