aicoolies logo
Infracost logo
Infracost logo

Infracost

Cloud cost estimates for Terraform changes in pull requests

open sourceupdated Aug 16, 2026

Infracost shows cloud cost changes directly in pull requests before infrastructure-as-code changes are deployed. It calculates cost impact across AWS, Azure, and GCP for Terraform, Terragrunt, CloudFormation, and AWS CDK workflows, with diffs in GitHub, GitLab, Bitbucket, and Azure DevOps. 12.4K+ GitHub stars, Apache 2.0 licensed. Used by GitLab, HelloFresh, JPMorgan Chase, BMW, and Accenture.

Read our Infracost review

A detailed review by the aicoolies team — click to read

Infracost bridges the gap between infrastructure-as-code and cost management by providing real-time cost feedback in the developer workflow. When a developer opens a pull request that modifies Terraform, Terragrunt, CloudFormation, or AWS CDK files, Infracost calculates the monthly cost impact of those changes and posts a formatted comment showing what will increase, decrease, or stay the same. This shifts cost awareness from monthly billing surprises to the point where infrastructure decisions are actually made.

The tool parses supported IaC definitions and plan output to understand resource configurations, then maps them against cloud provider pricing APIs for accurate estimates. It supports over 1,000 resource types across AWS, Azure, and GCP, including complex pricing models like reserved instances, tiered storage, and data transfer. Usage-based costs can be estimated by providing expected usage patterns in a simple YAML file alongside your infrastructure code.

Infracost is Apache 2.0 licensed with 12.4K+ GitHub stars and 77+ contributors. The CLI runs locally or in CI/CD, with official integrations for GitHub Actions, GitLab CI, Jenkins, CircleCI, and Atlantis. The cloud dashboard (free for small teams) provides cost trending, team-level visibility, and budget alerts. For FinOps teams, Infracost provides the developer-facing cost feedback that complements monitoring tools like Kubecost or AWS Cost Explorer.

Pricing

Free open-source CLI; Cloud dashboard free for small teams

Platforms

CLI (Mac/Linux/Windows), CI/CD plugins, Cloud dashboard

Categories

Tags

Use Cases

Terraform logo

Terraform

Infrastructure as Code

HashiCorp's infrastructure-as-code tool for provisioning and managing cloud resources declaratively using HCL (HashiCorp Configuration Language). Write infrastructure definitions once and deploy to AWS, GCP, Azure, DigitalOcean, and 4,000+ providers. Features state management for tracking resources, plan/apply workflow for safe changes, modules for reusability, and workspaces for environment isolation. The industry standard for multi-cloud IaC with 48K+ GitHub stars.

freemium
Pulumi logo

Pulumi

Infrastructure as Code using real programming languages — TypeScript, Python, Go, C#, Java.

Pulumi is a modern Infrastructure as Code platform that lets teams define cloud infrastructure using familiar programming languages instead of DSLs. Supports TypeScript, Python, Go, C#, Java, and YAML across major clouds, Kubernetes, and a broad Pulumi Registry with Terraform-derived provider coverage. Offers testing, IDE autocomplete, reusable components, and Pulumi Cloud state/governance features.

freemiumOpen Source
Atlantis logo

Atlantis

Terraform pull request automation via GitHub/GitLab comments

Atlantis is a self-hosted Terraform pull request automation tool that runs plan and apply operations triggered by GitHub, GitLab, Bitbucket, or Azure DevOps comments. Type 'atlantis plan' on a PR to see infrastructure changes, then 'atlantis apply' to deploy. 9,100+ GitHub stars, Apache 2.0 licensed. Widely adopted as the standard for GitOps-style Terraform workflows, with locking to prevent concurrent modifications to the same resources.

Open Source

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

KTransformers parent kvcache-ai logo

KTransformers

Heterogeneous CPU-GPU inference and SFT for large MoE models

Open-source framework for running and fine-tuning large Mixture-of-Experts models with heterogeneous CPU-GPU execution, optimized kernels, limited VRAM and SGLang or LLaMA-Factory integrations.

Open Source
vLLM Production Stack parent vLLM logo

vLLM Production Stack

Official Kubernetes and Helm reference stack built on the vLLM inference engine

Official vLLM reference implementation for scaling the existing inference engine on Kubernetes with Helm, request routing, KV-cache offload, autoscaling and Prometheus/Grafana observability.

Open Source
Dynamo logo

NVIDIA Dynamo

Distributed inference orchestration above vLLM, SGLang and TensorRT-LLM

Open-source, datacenter-scale orchestration layer that coordinates vLLM, SGLang and TensorRT-LLM across nodes with disaggregated serving, KV-aware routing, multi-tier cache management and automatic scaling.

Open Source
GPUStack logo

GPUStack

Open-source GPU control plane for scalable AI model serving

Open-source GPU cluster manager that configures vLLM, SGLang, TensorRT-LLM or custom engines, serves models through compatible APIs, and provisions SSH-accessible GPU instances across on-premises, Kubernetes and cloud environments.

Open Source
Mooncake logo

Mooncake

Disaggregated KV cache storage and transfer for LLM serving

Open-source infrastructure for disaggregated LLM serving that pools KV caches across prefill and decode workers, with high-performance transfer, distributed storage and integrations for vLLM and SGLang.

Open Source
LMCache logo

LMCache

Reusable KV cache infrastructure for scalable LLM inference

Open-source KV cache management layer that persists, offloads and reuses model key-value caches across requests and serving engines to reduce repeated prefill work and improve inference throughput.

Open Source

Used in Stacks

FAQ

What is Infracost?

Infracost shows cloud cost changes directly in pull requests before infrastructure-as-code changes are deployed. It calculates cost impact across AWS, Azure, and GCP for Terraform, Terragrunt, CloudFormation, and AWS CDK workflows, with diffs in GitHub, GitLab, Bitbucket, and Azure DevOps. 12.4K+ GitHub stars, Apache 2.0 licensed. Used by GitLab, HelloFresh, JPMorgan Chase, BMW, and Accenture.

Is Infracost free?

Yes — Infracost is open source and free to use. Free open-source CLI; Cloud dashboard free for small teams

Is Infracost open source?

Yes — Infracost is open source.

What are the best Infracost alternatives?

The top editor-verified Infracost alternatives are Terraform, Pulumi, Atlantis.

How does Infracost score in our review?

Our hands-on review scores Infracost 84/100 overall, based on speed, privacy, and developer-experience testing.