HeadlinesBriefing favicon HeadlinesBriefing.com

Cost.dev Cuts Agent Cost Estimation Tokens by 79%

Hacker News •
×

Cost.dev, a new tool from YC‑backed Cost.dev, lets coding agents stay cost‑aware while writing IaC. The platform replaces the legacy Infracost CLI with a version built for agents, trimming Claude’s token use by up to 79 % and cutting API cost by 67 %. Engineers can now run cost estimates locally without sending code to the cloud.

By running static analysis on the code, Cost.dev pulls the latest price feeds from AWS, Azure, and Google, then supplies that data to the agent. This eliminates the need for agents to load tens of millions of price points into memory, ensuring accurate, real‑time estimates. The tool supports Claude Code, Copilot, Gemin, and IDEs like VS Code for every workspace.

Cost.dev’s agent‑centric design also enforces tagging policies in a single pull request, cutting manual cleanup from months to seconds. Users can inject custom price books and FinOps rules, keeping on‑prem code compliant with enterprise discounts. The result is a single install that delivers deterministic cost checks and natural‑language guidance, letting teams ship infrastructure with confidence for rapid deployments everywhere today.