# Infracost

> Infracost estimates the monthly cost of Terraform and OpenTofu changes and shows the difference in pull requests before you deploy.

- Source: https://www.itwonderlab.com/infracost/
- Published: 2026-08-18
- Updated: 2026-08-18
- Author: Javier Ruiz Jiménez (https://www.javierruizjimenez.com/)
- Site: IT Wonder Lab (https://www.itwonderlab.com/)

---

**Infracost** reads the plan or the code, looks up cloud prices and prints a cost breakdown per resource. In CI it comments the cost change on each pull request, a core practice of [FinOps](https://www.itwonderlab.com/aws-cost-optimization-finops/).

### Key concepts

- **Breakdown**: cost per resource.
- **Diff**: the change against the base branch.
- **Usage file**: estimates for pay-per-use items.

### Learn it

See [Terraform cost estimation with Infracost](https://www.itwonderlab.com/terraform-cost-estimation-infracost/).
