The archive · Developer & Business Tools · Strategic decision · 2021–2026
Infracost bet engineers would cut cloud costs if they saw prices before deploying
YC W21 startup Infracost shows Terraform cost estimates in pull requests before resources launch; 2022 Show HN drew 121 points, repo shows 12.5k stars.
Infracost
What the business is
Infracost is an open-source cloud cost intelligence company: it parses Terraform, CloudFormation, AWS CDK and Terragrunt to estimate what infrastructure changes will cost, surfaces estimates in terminals, editors, AI coding agents and pull requests, and sells Infracost Cloud for FinOps policies.
How it started
Ali, Hassan and Alistair launched the first version of Infracost in February 2021 after concluding that the people purchasing cloud resources are not shown costs upfront, so nobody knows what resources will cost before launching them. The first Show HN (item 26064588) introduced a free open-source CLI that parses Terraform and posts cost diffs in pull requests; the founders said they had lived the same bill shock and pointed to Netflix, Slack and Segment adopting developer-focused cost management.
What happened
In the 2022-01-26 Show HN the founders reported the surprise: individual engineers were not pulling the tool in, senior DevOps, SRE and platform teams were integrating it while engineers consumed the pull-request cost comments. By then the community maintained mappings for over 200 resources, integrations covered Spacelift, OPA, GitHub Actions, GitLab and Azure DevOps, and Infracost had partnered with HashiCorp on Terraform Cloud Run Tasks, then in beta. By the 2026-09-05 snapshot the project had become Infracost 2.0: CLI, IDE language-server extensions, Infracost Cloud with tagging and FinOps guardrails, AI coding agent skills, and support for over 1,100 resources across AWS, Azure and Google Cloud.
No ending yet — it is still running.
Background
Infracost is an open-source cloud cost intelligence company from Y Combinator's W21 batch. Its CLI parses infrastructure-as-code, estimates what changes will cost before resources are launched, and posts the number as a pull-request comment, with a commercial cloud product for FinOps policies layered on top.
The founders launched the first version in February 2021 on the observation that people who purchase cloud resources are not shown costs upfront, so nobody knows the bill before launching. The bet was that showing engineers the monthly impact at code time would change what they deploy, and that an open-source tool would spread through engineering teams faster than enterprise sales.
The 2022-01-26 Show HN, which scored 121 points with 28 comments, documented what the founders had learned: senior DevOps, SRE and platform teams were the integrators pulling Infracost into company workflows, while engineers were the ones seeing the cost comments. Community-maintained pricing mappings covered over 200 resources, and integrations had grown to include Spacelift, OPA, GitHub Actions, GitLab and Azure DevOps, plus a HashiCorp partnership on Terraform Cloud Run Tasks.
As of the 2026-09-05 snapshot Infracost was still shipping: the project had been refactored into an Infracost 2.0 toolkit spanning CLI, IDE extensions, AI coding agent skills and Infracost Cloud, and the GitHub repository showed 12.5k stars, 686 forks and 3,184 commits.
What has to be true
- The pain was measurable and universal: engineers discover cloud costs in the monthly bill, and pricing data is so opaque the founders scraped 10,000 price points a decade before tracking 3 million.
- The open-source assumption was testable and tested: the 2021 launch assumed engineers would pull the tool in, and the 2022 launch reported that platform teams actually did the integrating.
- Shift-left matched a proven playbook: the founders compared cost checks in the developer workflow to Snyk moving security checks to where code is written.
- Integrations made the tool fit existing workflows instead of asking teams to change them, from Terraform and Terragrunt to GitHub, GitLab, Atlantis and CI systems.
What can be applied
Open source gets a tool adopted, but adoption needs an owner: Infracost found platform teams, not engineers, pulled cost checks into CI, so it built for integrators.
Aftermath
As of the 2026-09-05 snapshot Infracost is still operating: the GitHub front door describes an Infracost 2.0 toolkit of CLI, IDE extensions, AI coding-agent skills and Infracost Cloud with tagging policies and guardrails, claiming support for over 1,100 AWS, Azure and Google Cloud resources. The 12.5k stars, 686 forks and 3,184 commits come from the same snapshot. No funding or revenue figures appeared in the sources reviewed here, so this entry reports product trajectory rather than valuation.
Sources
- Show HN: Infracost (YC W21) – Open-source cloud cost policies
- Show HN: Infracost – Show cloud costs in Terraform pull requests (first launch)
spotted an error? The archive wants to know.
Your turn
You just read one. Describe what you are building, and see who is betting on the same thing.
Free account · 3 free questions · no card