#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
Stars, last 29 weeks+415
21 Apr 2026: 12,204 stars28 Apr 2026: 12,211 stars5 May 2026: 12,223 stars12 May 2026: 12,234 stars19 May 2026: 12,247 stars26 May 2026: 12,261 stars2 Jun 2026: 12,271 stars9 Jun 2026: 12,299 stars16 Jun 2026: 12,315 stars23 Jun 2026: 12,325 stars30 Jun 2026: 12,343 stars7 Jul 2026: 12,356 stars14 Jul 2026: 12,363 stars21 Jul 2026: 12,375 stars28 Jul 2026: 12,388 stars4 Aug 2026: 12,405 stars11 Aug 2026: 12,415 stars18 Aug 2026: 12,442 stars25 Aug 2026: 12,464 stars1 Sept 2026: 12,479 stars8 Sept 2026: 12,489 stars15 Sept 2026: 12,496 stars22 Sept 2026: 12,512 stars29 Sept 2026: 12,526 stars6 Oct 2026: 12,540 stars13 Oct 2026: 12,550 stars20 Oct 2026: 12,566 stars27 Oct 2026: 12,585 stars3 Nov 2026: 12,604 stars10 Nov 2026: 12,619 stars

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
Also in Code review and testing
RankProjectScore
1playwrightCross-browser automation and end-to-end test framework for Chromium, Firefox and WebKit99.9k starsApache-2.094 out of 100
2nxMonorepo build system with task caching, affected-only runs and CI integration29.5k stars+124 (+0.4%) in 30 daysMIT92 out of 100
3open-code-reviewGo CLI that reviews Git diffs with an LLM agent and line-level comments49.8k stars+3,715 (+8.1%) in 30 daysApache-2.091 out of 100
#4bendDependent-typed language where AI-written code must prove rules in LAWS.bend Live demo ↗ (opens in a new tab)25k stars+1,462 (+6.2%) in 30 daysApache-2.087 out of 100
#5maestroYAML-based UI and end-to-end test framework for Android, iOS and web16.4k stars+393 (+2.5%) in 30 daysApache-2.087 out of 100