Cost intelligence, built in

See what a Terraform change will cost, then what it actually cost.

Cost estimates in your plan output, compared against real spend from your cloud provider. No separate tool, no CI bot.

In the plan output Estimates in <1s AWS · GCP · Azure Estimates vs actuals Self-hosted or SaaS
Get Started

Cost, right in the plan

The same stategraph plan you already run. Now every change carries a price — current versus planned, before you apply.

stategraph plan
$ stategraph plan --out plan.json
# aws_instance.web will be created
+ resource "aws_instance" "web" {
+ instance_type = "t3.large"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Costs:
Monthly:  — → 60.74 USD +60.74 USD
Hourly:   — → 0.08 USD +0.08 USD
Coverage: 100.0%
Per state:
+ aws_instance.web +60.74

No integration, no CI bot, no separate CLI. The estimate appears next to the resource summary, so whoever reviews the change sees the diff and the cost together.

What you get

Cost is always on, never in the way, and bundled with the CLI you already run.

In your plan output

Cost appears inline in your terraform plan, alongside the standard resource summary. Nothing else to install.

Sub-second estimates

Estimates load in under a second, with negligible impact on plan time.

Per-resource breakdown

Drill from monthly and hourly totals down to the priced components on a single resource.

Attribution by tag

Roll spend up by team, environment, owner, provider, or resource type across every state you manage.

Estimates vs actuals

Compare what a change was expected to cost against real spend, refreshed daily from your cloud provider.

Cost over time

Track spend across the fleet day by day, drawn from the append-only snapshot history.

Multi-cloud pricing

Public pricing data for AWS, GCP, and Azure, kept current so estimates track provider list prices.

Queryable cost data

Cost snapshots are SQL tables. Chart them, alert on them, and integrate them with the tools you already use.

Coverage you can trust

Every total reports its coverage, and the resources that couldn't be priced are listed, so you always know what the estimate includes.

See what it costs, and who owns it

Monthly and hourly totals by state, resource-level drill-down, and a fleet-wide rollup that answers the question a per-file tool can't: who owns this spend?

Tenant monthly cost
$1,574
Coverage
51%
States priced
10
Most expensive resources
aws_db_instance.primary
RDS · Multi-AZ
$656/mo
aws_db_instance.replica_1
RDS
$329/mo
aws_elasticache_cluster.app_cache
ElastiCache
$240/mo
Monthly spend by team
data$1,149/mo
platform$133/mo
engineering$8/mo

Filter by provider, resource type, or tag · Illustrative figures

Estimates at plan time. Actuals after.

A plan-time estimate tells you whether a change is probably cheap, probably expensive, or worth a closer look. Then Stategraph closes the loop with what it actually cost.

At plan time
~$60.74/mo

A directional estimate from public pricing, before you apply.

Within a day
$58.10/mo

Actual spend, refreshed daily from your cloud provider, lined up against the estimate.

Most cost tools stop at the estimate. Stategraph shows you how the deployed infrastructure actually behaved once real usage showed up.

Embedded, not bolted on

Standalone cost tools

  • ❌ A separate integration and CLI to maintain
  • ❌ An extra step in every CI pipeline
  • ❌ Cost lives in PR comments, away from your state
  • ❌ Estimates only, with no view of actual spend
  • ❌ A paid subscription on top of your stack

Stategraph Cost

  • ✅ In the terraform plan output, nothing to integrate
  • ✅ Bundled with the CLI you already run
  • ✅ Next to your state, plans, and resources
  • ✅ Estimates and actuals, attribution across the fleet
  • ✅ Part of Stategraph, not a separate subscription

Tools like Infracost run alongside Terraform as a separate integration. Stategraph Cost is part of the plan itself.

On the roadmap

Cost is the first thing built on Stategraph's policy engine. More is coming.

Budgets

Set budgets at the team or component level and see plans against them before they land.

Policies

Guardrails on expensive resources, enforced at plan time through the same policy engine.

Optimizations

Automated recommendations that point at concrete savings across your managed infrastructure.

Cost visibility, in your terraform plan

Cost ships with Stategraph, not as a separate tool. See what a change costs before you apply it.

Get Started Book a Demo

Want the deep dive? Read Terraform Cost Estimation: Tools and How It Works.