Infracost

Open source

Infracost produces cost estimates for Terraform, CloudFormation and CDK code and brings FinOps policies into engineering workflows.

Open-source alternative to

infracost.io
Infracost homepage screenshot
GitHub stars
13k
Last 30 days
+53(+0%)
Last commit
yesterday
Repository age
6 years
Version
v0.10.50
Licence
Apache-2.0
Self-hosted
Yes

About Infracost

Infracost is aimed at stopping cloud overspend before it ships. Its pitch is to integrate FinOps policies and best practices into the workflows engineers use every day, so cost is considered while infrastructure code is written and reviewed instead of after the bill arrives.

It connects to AWS, Azure and GCP and works with infrastructure-as-code tools including Terraform, CloudFormation, CDK, Azure ARM and Kubernetes. Listed integrations cover IDEs such as VS Code, Cursor and JetBrains, and CI/CD systems including GitHub, GitLab and Azure DevOps.

Paid tiers add team-level controls on top of the CI/CD plan: cost guardrails, an issue explorer, autofix workflows, visibility dashboards, audit trails and custom price book support. The top tier adds SSO and SAML, SKU-level price overrides and reporting across business units.

Key features

  • Cost estimates for Terraform, CloudFormation and CDK
  • Cost guardrails, issue explorer, autofix workflows
  • Custom price book support
  • Dashboards, team management and audit trails
  • SKU-level price overrides and cross-unit reporting
  • Works across AWS, Azure, GCP and Kubernetes

Good fit for

  • Cost checks on infrastructure pull requests
  • Cost guardrails for platform teams
  • Cost estimates inside an IDE
Built with
Go tools
Tags
finops
cloud cost
terraform
infrastructure as code
ci/cd
devops

Infracost: questions and answers

What is Infracost used for?
Infracost produces cost estimates for Terraform, CloudFormation and CDK code and brings FinOps policies into engineering workflows. It is a good fit for cost checks on infrastructure pull requests, cost guardrails for platform teams and cost estimates inside an IDE.
Is Infracost open source?
Yes. Infracost is open source under the Apache-2.0 licence. Its source code is on GitHub at infracost/infracost and is written mainly in Go.
Is Infracost free?
Yes. Infracost is open source, so the software itself is free to use.
Can I self-host Infracost?
Yes. Infracost can be self-hosted on your own server or infrastructure.
What is Infracost an alternative to?
Infracost is an open-source alternative to HCP Terraform, env0 and Scalr. Other open-source alternatives to HCP Terraform include Terramate, Terragrunt and Semaphore UI.
Is Infracost actively maintained?
Yes. The most recent commit to Infracost was on 20 November 2026, and the latest release is v0.10.50, published on 16 November 2026. The project has 13k stars on GitHub, with 53 added in the last 30 days.

Open-source alternatives to Infracost

See all

SaaS alternatives to Infracost

See all