Plenty of cloud cost tools can tell you where the waste is. Far fewer will change anything. And the ones that do change things disagree on what they should touch and whether an engineer reviews it first.
Short answer: four kinds of tools act on cloud waste. Infracost AutoFix opens pull requests against infrastructure as code. CloudFix applies AWS-recommended fixes directly in your accounts through AWS Change Manager. CAST AI and Harness AutoStopping act on running infrastructure, resizing clusters and stopping idle resources. Frugal opens pull requests against application code, where AI and usage-based services spend is created. Which one you need depends on where your waste lives.
Why do cost fixes need to land as pull requests?
A cost recommendation that arrives as a ticket competes with feature work, and usually loses. A pull request arrives with the change already written. The engineer reviews it, tests it and merges it in the same workflow they use for everything else.
A pull request also leaves a record. You can see what changed, who approved it and what it was expected to save. That matters when the change touches production code.
Which tools automate fixes for cloud cost waste?
| Tool | What it changes | How the change ships | What it cannot reach |
|---|---|---|---|
| Infracost AutoFix | Terraform and other IaC: instance generations, misconfigured resources, AWS Compute Optimizer recommendations | Pull requests in GitHub that engineers review and merge | Runtime behavior. It prices what you provision, not what your code does with it. |
| CloudFix | AWS account settings, based on AWS-published recommendations | Applied in your accounts through AWS Change Manager, on a schedule you control | Application code, and anything outside AWS |
| CAST AI | Kubernetes node selection, autoscaling and workload sizing | Acts on the cluster at runtime | What the application does inside the cluster, and services outside it |
| Harness AutoStopping | Idle non-production resources | Stops and restarts resources by policy | Production usage and application code |
| Frugal | Application code that drives AI API, logging, metrics, database, storage and serverless costs | Merge-ready pull requests (Frugal Fixes) plus cost review on new pull requests | Commitments and cluster capacity. Pair it with the tools above. |
What is the difference between fixing infrastructure and fixing code?
Infrastructure fixes change what you provision. A smaller instance, a newer generation, a cheaper storage class. They are well understood and usually safe, which is why they automate well.
Code fixes change what you consume. The number of tokens a prompt sends, the log lines a loop writes, the reads a query performs. Nobody provisions those. They are created one request at a time by application code, and they keep growing as traffic grows.
A Terraform pull request cannot fix a DynamoDB scan inside a handler, an uncached system prompt or a debug log that writes the full payload. Those fixes have to land in the application repository.
Can a coding agent open these pull requests instead?
A coding agent such as Claude Code or GitHub Copilot can write the change once someone tells it what to change. The hard part is knowing where to point it. A billing MCP server can tell an agent which service got more expensive. It cannot tell the agent which function, query or prompt did it. Without code-level cost context, the agent is guessing, and so is the reviewer.
Where does Frugal fit?
Frugal is a cloud and AI cost engineering platform. It connects your bill, usage data and source code, and attributes spend to the component and call site that created it. It checks for more than 200 types of waste across AWS, Google Cloud, Datadog and AI APIs such as Anthropic and OpenAI.
For each finding, Frugal writes a Frugal Fix: a merge-ready pull request with the change, the reasoning and the estimated monthly savings. On new pull requests, Frugal reviews the change for cost so waste is caught before it merges, which is cheaper than finding it on next month's bill.
Frugal does not buy commitments or manage cluster capacity. Teams that run Infracost or CAST AI can use Frugal alongside them, because each tool works on a different layer of the same bill.
What should you ask a vendor that says it fixes waste automatically?
- Does it change infrastructure, account settings or application code?
- Does a person review the change before it reaches production?
- What access does it need to make the change?
- Does it cover AI API, logging and observability spend, or only compute and storage?
- Are savings measured against your negotiated prices or list prices?
FAQ
What solutions automate code fixes or pull requests for inefficient cloud usage?
Infracost AutoFix opens pull requests against infrastructure as code. Frugal opens pull requests against application code for AI and usage-based services. CloudFix, CAST AI and Harness AutoStopping automate fixes too, but they apply changes to accounts and running infrastructure rather than opening pull requests.
Is there a cloud waste tool that remediates instead of just reporting?
Yes. CloudFix applies AWS-recommended changes in your accounts. CAST AI acts on Kubernetes clusters. Infracost and Frugal write the fix as a pull request for an engineer to merge.
Is it safe to let a tool change production automatically?
For well-understood infrastructure changes with a rollback path, often yes. For application code, a reviewed pull request is the safer route. It keeps an engineer in the loop and leaves an audit trail.
Do I still need a FinOps platform if I use a remediation tool?
If finance needs showback, chargeback or forecasting, yes. Remediation tools change the bill. FinOps platforms report on it.
Want pull requests for the waste in your code? Get an Audit at frugal.co/audit.
Sources: Infracost for FinOps teams; CloudFix on AWS Marketplace; Harness AutoStopping. Checked November 23, 2026.