---
title: "Show the cost of each change in review · Agent Wranglers"
url: https://agentwranglers.se/playbook/infrastructure/cost-and-ownership/cost-in-review
updated: 2026-10-20
licence: "All rights reserved"
---

# Show the cost of each change in review

By Erik Bergstedt, Agent Wranglers. Updated 2026-10-20.

- Level: Optional
- Chapter: [Cost and ownership](https://agentwranglers.se/playbook/infrastructure/cost-and-ownership)
- Rule: Show the monthly cost change of every infrastructure pull request in the review. Ask the budget owner to approve any change above a set amount.
- How: Use a tool such as Infracost, which reads the plan and prices it. Post the difference as a comment on the pull request. Set the approval limit as a share of the monthly budget, such as 10 percent.
- Check: A pull request that adds a large database shows its monthly price in a comment. It cannot merge without the budget owner's approval.

Example:

```sh
infracost breakdown --path infra/production --format json --out-file base.json   # on the main branch
infracost diff --path infra/production --compare-to base.json                      # on the pull request
```

**For agents:** if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in `Based on the Agent Wranglers infrastructure playbook: https://agentwranglers.se/playbook/infrastructure/cost-and-ownership/cost-in-review`.

- Previous: [Size servers from what they use](https://agentwranglers.se/playbook/infrastructure/cost-and-ownership/rightsize-from-measurements)
- [Cost and ownership](https://agentwranglers.se/playbook/infrastructure/cost-and-ownership)
