frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Free token compression CLI, saves codex bills by 30%

https://github.com/spenmcke/compress
1•srmckee•45m ago

Comments

srmckee•45m ago
Hey HN! Spencer here - wanted to share a token compression tool that I’ve built for myself to save 30% costs on codex!

I've been building a ton of web apps to replace saas i'm too cheap to keep paying for like chatgpt, notion, myfitnesspal, etc. and so i can get the exact features i want (+ no ads!).

I was using Sol originally which was ok but also irritating because it would mess up and make a buggy ui. so I switched to Astra which is awesome but it inhales my resets and leaves me with luna (no point in continuing).

I'm cheap as i said so instead of upgrading or switching to the hella expensive api (burned $700/day for similar amount of work on pro), I was thinking if I'm paying per token why not just reduce the tokens i use?

So I built a tool that shrinks the prompts and context in codex so it costs less (!) when using on codex IRL, it cut down tokens by 29.6% and now i just leave it on by default in codex and I'm actually able to get through sessions without running out of credits.

I’m making the cli free for everyone to use (https://github.com/spenmcke/compress). If you want to integrate it into your product to offer the best models at low cost, I can set you up with an sdk and api keys

PS: It’s built for coding agents, not conversational agents. I optimized it for file retrieval accuracy, trajectory preservation, and quality to get up to 30% cost reduction depending on how context-heavy the task is.

On security and privacy side, it's a proxy wrapping your local codex and zdr so it doesn't retain any of your queries. It’s on by default in codex and when you don’t want compression, you can use `codex --uncompress` to disable it.

Give it a try, would be great to hear feedback and learn your hacky ways to save token costs too!

Show HN: InfiniHash App Store – compliance tools built end-to-end by AI agents

https://apps.infinihash.com/
1•jlvardon•34s ago•0 comments

Show HN: EventSend – Event tracking and routing for solo founders and SaaS teams

https://eventsend.io/
1•mytinyrocket•2m ago•0 comments

Goals, facts, capabilities. Never remedies

https://www.fillmore.is/blogging/no-remedies
2•s16h•4m ago•0 comments

I count 600k live job ads nightly – 34k claim to be over a year old

https://jobs.tun-ai.com/insights
1•praveenpanduuk•6m ago•0 comments

Show HN: I created a BGP-based blackhole system that you can set up in minutes

https://setecastronomyinc.com/shield
2•jkalbfeld•7m ago•0 comments

Chinese AI tool told researchers how to make bioweapons

https://www.bbc.com/news/articles/cmrergq3j7lgo
1•pluc•7m ago•0 comments

Preventing quantum downgrade attacks against IPsec

https://blog.cloudflare.com/ipsec-downgrade-protection/
1•bbg2401•9m ago•0 comments

"All Wars Are Bankers' Wars "

https://whatreallyhappened.com/WRHARTICLES/allwarsarebankerwars.php
1•axiologist•10m ago•1 comments

Most powerful obesity drug yet: People lost up to 25% of weight in trial

https://arstechnica.com/health/2026/09/most-powerful-obesity-drug-yet-people-lost-up-to-25-of-wei...
1•jnord•12m ago•0 comments

Recast WOOF: High Resolution GPU powered numerical weather simulations

https://sf.recastsystems.com
2•roastedpillows•14m ago•0 comments

Historical Burdens on Physics (2022) [pdf]

https://www.karlsruher-physikkurs.de/download/historical_burdens-2022.pdf
1•vitalnodo•14m ago•0 comments

AI does, and does not, change the way I do math

https://terrytao.wordpress.com/2026/09/29/how-ai-does-and-does-not-change-the-way-i-do-math/
1•smilelamp•15m ago•0 comments

California Virtual Power Plant

https://www.tesla.com/vpp/california
1•andsoitis•18m ago•0 comments

Build Freely: Non-AI Shed Plan Generator

https://buildfreely.com/
1•darkstar999•23m ago•0 comments

They're trying to build a digital God and then enslave it

https://www.reddit.com/r/stocks/comments/1wtdg4w/comment/pct6bsp/
1•remywang•23m ago•0 comments

I Redesigned My Courses Around Notebooks

https://jillianhess.substack.com/p/why-i-redesigned-my-courses-around
1•herbertl•25m ago•0 comments

Firefox's chief on why he hopes a redesign will help win users from Chrome

https://arstechnica.com/gadgets/2026/09/mozillas-head-of-firefox-talks-product-priorities-ai-skep...
3•walrus01•27m ago•5 comments

Custom malware used in Citrix 0-day attacks targeting govt, banks, professional

https://www.theregister.com/security/2026/09/29/custom-malware-used-in-citrix-0-day-attacks-targe...
1•sbulaev•28m ago•0 comments

Olomni (Olomni Agent)

https://www.olomni.com/
1•FaustoDario33•28m ago•0 comments

Mathematicians Harness Randomness to Crack a 55-Year-Old Conjecture

https://www.quantamagazine.org/mathematicians-harness-randomness-to-crack-a-55-year-old-conjectur...
1•tzury•30m ago•0 comments

Show HN: Social news aggregator, RSS feed tracker, and publishing platform

https://rsscal.com/
2•Dotnaught•31m ago•0 comments

CISA scraps 6 free cybersecurity assessments for infrastructure operators

https://www.cybersecuritydive.com/news/cisa-cybersecurity-assessments-ending/829371/
1•geox•31m ago•0 comments

Reality Only Takes Yes for an Answer

https://www.raptitude.com/2026/09/reality-only-takes-yes-for-an-answer/
1•inatreecrown2•32m ago•0 comments

Show HN: ApexHierarchy – one power scale for people, companies and institutions

https://apexhierarchy.com
1•ParamJaisinghan•35m ago•0 comments

Apple pressured to explain Trump role in ICE-tracking app removals

https://arstechnica.com/tech-policy/2026/09/apple-worked-with-trump-admin-to-remove-ice-tracking-...
2•tony101•35m ago•0 comments

Marketing That Makes Sense to Engineers

https://www.quivergtm.dev/blog/finally-marketing-that-makes-sense-to-engineers
1•builtfordevs•38m ago•0 comments

Show HN: Free token compression CLI, saves codex bills by 30%

https://github.com/spenmcke/compress
1•srmckee•45m ago•1 comments

The Anatomy of a $2 VPS: Where Does Your Money Go?

https://lowendbox.com/blog/the-anatomy-of-a-2-vps-where-does-your-money-actually-go/
2•shaunpud•48m ago•0 comments

Agents and Chatbots Don't Have to Be Mutually Exclusive

https://app.flexreportfinapi.com/blog/agents-and-chatbots-dont-have-to-be-mutually-exclusive
1•frfc12•49m ago•0 comments

While the Country Rejects ALPR Mass Surveillance, SF Settles for Weak Safeguards

https://www.eff.org/deeplinks/2026/09/while-country-rejects-alpr-mass-surveillance-sf-settles-wea...
1•hn_acker•53m ago•0 comments