I was paying $200/month in wasted AI tokens. So I built a Rust context optimizer.

Dev.to AI
Generative AI AI Tools

My Cursor bill last month: $340. I dug into the API logs. Over 60% of the tokens were being sent to the LLM were: Boilerplate I'd copied from Stack Overflow three years ago The same database helper function, 4 slightly different times An entire test file that has nothing to do with what I was asking My AI tool was optimizing for similarity -- and similarity is not the same as information.