Question your AWS costs
before you apply

CloudCostTree reads your infrastructure-as-code — Terraform, CloudFormation, Pulumi, or a raw Terraform state file — and renders a hierarchical cost breakdown, FinOps savings recommendations, governance checks, and a what-if simulator. AWS-only by design, CLI-only by design: no hosted dashboard, no account required to see a cost tree.

How it works

No agents, no cloud account linking, no hosted dashboard. Everything runs locally against your existing IaC files.

Point it at your code

Terraform, CloudFormation, Pulumi, Terragrunt, a raw Terraform state file, or CloudCostTree's own YAML/JSON — no cloud credentials needed to see a cost tree.

Get a cost tree

A hierarchical, per-resource breakdown of what your infrastructure will actually cost per month, before you apply anything.

Act on FinOps recommendations

Right-sizing suggestions, real Reserved Instance and Spot savings from actual usage data, and a what-if simulator for testing changes.

Enforce it in CI — or before

Run cost and tag/FinOps policy checks in your pipeline — Roots can fail a build on violation, so cost overruns never reach production. Or gate it locally with "guard", before code even reaches a PR.

Pricing

CloudCostTree is open source and free for everything that works from your own files. CloudCostTree Roots is the plan for teams: it connects the estimate to your real AWS account and enforces your cost guardrails.

Open source

$0
  • Unlimited analyses, what-if simulations, exports and CI/CD runs
  • Every input format: Terraform, Terragrunt, Atmos, CloudFormation/CDK, Pulumi, Kubernetes
  • Full FinOps recommendation list with real $ savings, Reserved Instances included
  • Cost Score: an A-F health grade, trackable over time
  • Custom price books: apply your own negotiated/EDP discount
  • IAM policy generator: a least-privilege deployer policy across 1,706 resource types, read from your Terraform/CloudFormation/Pulumi with no AWS account
  • MCP server for AI assistants, VS Code extension and GitHub Action
  • Apache 2.0 source code on GitHub
Install free
For teams

Roots

$99.99/month per organization
  • Everything in open source
  • Cost guardrails & tag/FinOps policies that fail a build in CI, or stop an apply locally (guard)
  • Real usage from your AWS account: right-sizing, live Spot prices, your Savings Plans and Reserved Instances
  • Reconcile the estimate against what AWS actually billed (Cost Explorer)
  • Measured data transfer from your VPC Flow Logs, across multiple AWS accounts
  • IAM policies scoped to the exact ARNs your deployment declares
  • One license for your organization: up to 10 machines, unlimited CI
  • 14-day free trial
Start free trial

Frequently asked questions

Does CloudCostTree need access to my AWS account?

No, not for the core cost tree — it reads your Terraform, CloudFormation, or Pulumi files and computes estimates entirely on your own machine, with no cloud credentials or account link required. The optional Roots --with-usage flag calls your own read-only AWS credentials (the standard credential chain) to replace static-config guesses with real numbers; nothing about your infrastructure is ever uploaded to us.

What input formats are supported?

Terraform (HCL or a terraform show -json plan), a raw Terraform state file, CloudFormation, a CDK-synthesized template, Pulumi, Terragrunt, an Atmos (Cloud Posse) stack, or CloudCostTree's own YAML/JSON.

What's the Cost Score?

A 0-100 number plus a letter grade (A-F) rolling up every FinOps recommendation and policy violation from a run, weighted by severity and normalized by resource count. It's on every plan — free, unlimited, no dollar figure hidden — and shows up in the console, every export format, and history save/list/compare, so a team can track whether a stack is getting healthier or worse over time the same way it already tracks cost.

How accurate is the cost estimate?

Every total is list price — AWS on-demand rates fetched straight from AWS's own price list, before any Savings Plans, Reserved Instances, credits, or tax. That basis is printed under the total on every report, so there's no ambiguity about what the number represents. With the Roots --with-usage flag, CloudCostTree also pulls your real CloudWatch utilization and shows a confidence range around the headline total — a one-standard-deviation band, roughly 68% confidence — combining each resource's measured variance across the tree, so a usage-driven estimate reads as a range, not a false-precision point number.

Does it support Azure or GCP?

No — CloudCostTree is AWS-only by design. Staying single-cloud is what lets it price real, fetched-from-AWS rates for 147 Terraform resource types instead of guessing across providers.

What's the difference between open source and Roots?

Everything that works from your own files is open source and free, with no limits: analyses, what-if simulations, exports, the full FinOps list with real $ savings (Reserved Instances included), every input format, CI/CD runs, the IAM policy generator, the MCP server and the VS Code extension. CloudCostTree Roots ($99.99/month per organization, 14-day free trial) adds what a team needs to act on it: cost guardrails and tag/FinOps policies that can fail a build, real usage and billing data from your own AWS account, and IAM policies scoped to exact ARNs. See the pricing section above.

Is CloudCostTree open source?

Yes. The CLI, the MCP server, the VS Code extension and the price catalog generator are open source under the Apache License 2.0, on GitHub. You can build it yourself, read exactly how every price is computed, and contribute. The CloudCostTree Roots features ship in the official binaries.

Can I cancel my Roots subscription anytime?

Yes. Cancel anytime via the customer portal link in your Paddle receipt email, or by emailing us — see the Refund & Cancellation Policy for details. Cancelling stops future billing; your Roots access continues until the end of the period you've already paid for.

Does CloudCostTree run in CI/CD?

Yes. cloudcosttree ci report/check/diff plus a ready-to-use GitHub Action, unlimited on every plan. With Roots it can also enforce cost guardrails and FinOps/tag policies, failing the build on a violation.

Can it generate the IAM policy my deployment needs?

Yes, free. cloudcosttree iam <path> reads the same Terraform, CloudFormation, or Pulumi input and writes the least-privilege policy a deployer role needs — currently 1,706 resource types, each with a real, correctly-scoped Action list — without ever contacting AWS. Resource stays "*" on Free; Roots narrows it to the real per-instance ARNs a deployment declares, resolved straight from the AWS Service Authorization Reference and never guessed — 88.8% of mapped types today, the rest (AWS-assigned identifiers no static scan can know ahead of a real deploy) narrow to the resource type instead of a bare wildcard, and resolve exactly once scanned against an already-deployed state. When the resulting Action set enables a documented privilege-escalation technique (iam:PassRole with a compute-launch action, a direct principal-mutation action), it prints a privilege-escalation review naming the technique and the resource that introduced it — a safety disclosure on both tiers, not a gated feature.

Is there a VS Code extension?

Yes — it's included on both Free and Roots. See the VS Code Marketplace listing.

Found a bug, or have feedback?