#99th of 34 in Code review and testing
infracost
Cloud cost estimates for Terraform and CloudFormation in the terminal, editor and PRs
- Stars
- 12.6k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Go
12,204 on 21 Apr 202612,619 on 10 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Infracost is a Go CLI that estimates cloud cost and checks FinOps policies for Terraform, Terragrunt, CloudFormation and AWS CDK before deployment. The same engine backs editor extensions (VS Code, JetBrains, Neovim, Zed), agent skills for Claude Code and Cursor, and CI integrations that post cost diffs on pull requests. This repo is the umbrella entry point; the code lives in separate repositories.
Who it is for: Platform and DevOps engineers managing Terraform or CloudFormation cloud spend
Ranked among open-source alternatives to CodeRabbit (#9 of 10).
Strengths
- Covers over 1,100 resources across AWS, Azure and Google Cloud
- Same engine and policies in CLI, IDE via LSP, agent skills and CI
- Estimates usage-based resources such as S3 and Lambda
- Ships three agent skills: iac-generation, scan and price-lookup
Weaknesses
- This repo is a landing page; code is split across cli, lsp and plugin repos
- Tagging policies and guardrails are managed in Infracost Cloud, a SaaS dashboard
- Setup involves authenticating with Infracost, so it is not clearly usable offline
- Supported clouds limited to AWS, Azure and Google Cloud
What it needs
- Docker
- Needs Infracost account (authentication via infracost setup), Infracost Cloud (optional, for policies and dashboard)
Quick answers
Is infracost open source?
Yes. Its code is on GitHub under the Apache-2.0 license.
Can you run infracost with Docker?
Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.
Also in Code review and testing
See all 34| Rank | Project | Score |
|---|---|---|
| 1 | playwrightCross-browser automation and end-to-end test framework for Chromium, Firefox and WebKit | 94 out of 100 |
| 2 | nxMonorepo build system with task caching, affected-only runs and CI integration | 92 out of 100 |
| 3 | open-code-reviewGo CLI that reviews Git diffs with an LLM agent and line-level comments | 91 out of 100 |
| #4 | bendDependent-typed language where AI-written code must prove rules in LAWS.bend | 87 out of 100 |
| #5 | maestroYAML-based UI and end-to-end test framework for Android, iOS and web | 87 out of 100 |