infrastructure-as-codecost-optimizationterraformtooling

Does Terraform cost money? Open source, Cloud, and what you actually pay

Terraform the open-source tool is free to download and use. HashiCorp offers paid HCP Terraform (formerly Terraform Cloud) tiers for teams. And separately, the infrastructure Terraform provisions costs money. Here is what is free and what is not.

The C3X Team··5 min read

Quick answer

The Terraform CLI (open source) is free to download and use, with no license fee, for any number of resources. HashiCorp's managed HCP Terraform (formerly Terraform Cloud) has a free tier for small teams and paid Standard, Plus, and Enterprise tiers billed largely by resources under management or per-run pricing. Self-managed Terraform Enterprise is a separate paid product. And entirely separately, the cloud infrastructure Terraform provisions costs money, that is your actual bill. So the tool can be free; the infrastructure it creates is where the real spend is.

Terraform is the most popular infrastructure-as-code tool, and a natural question is whether using it costs anything. The answer has three parts: the open-source CLI is free, HashiCorp's managed service has free and paid tiers, and, most importantly, the infrastructure Terraform provisions is billed by your cloud provider regardless. Confusing these is common, so it is worth separating them.

Three separate things

WhatCost
Terraform CLI (open source)Free, no license fee
HCP Terraform free tierFree for small teams, limited resources
HCP Terraform paid tiersStandard, Plus, Enterprise, by resources or runs
Terraform Enterprise (self-hosted)Paid product
The cloud infrastructure createdYour actual cloud bill

The CLI you run locally or in CI is free and always will be for the open-source editions. You can manage any number of resources with it at no license cost, just like IAMis free. The money question is really about the managed service and, far more, about the infrastructure itself.

HCP Terraform pricing

HCP Terraform (formerly Terraform Cloud) is HashiCorp's hosted service for state management, remote runs, collaboration, and policy. It has a free tier suitable for small teams and individual projects, then paid tiers (Standard, Plus, Enterprise) that add features and are billed largely by the number of resources under management (or by run/usage on some plans). Self-hosted Terraform Enterprise is a separate licensed product for large organizations. You pay for the collaboration, state, and governance features, not for the CLI underneath.

The cost that dwarfs the tool

The critical point: whatever you pay (or do not pay) for Terraform tooling is tiny next to the cost of the infrastructure it provisions. A Terraform run that creates instances, databases, and load balancers commits you to real monthly cloud spend, and that is where the actual money is. This is exactly why pre-deploy cost visibility matters: the tool is cheap or free, but the infrastructure it creates is your bill. Seeing that cost before the run, rather than on next month's invoice, is the whole point of shift-left cost estimation.

The takeaway

Use the free Terraform CLI without cost worry; choose HCP Terraform's free or paid tiers based on your team's collaboration and governance needs; and focus your real cost attention on the infrastructure your Terraform defines, because that dwarfs any tooling fee. Pricing that infrastructure before you apply, against the resource catalog, turns Terraform from a source of surprise bills into a place where cost is known up front. For another free-tool comparison, see does a VPC cost money.

FAQ

Does Terraform cost money to use?

The open-source Terraform CLI is free to download and use with no license fee, for any number of resources. HashiCorp's managed HCP Terraform has a free tier and paid tiers for teams, and self-hosted Terraform Enterprise is a separate paid product. Separately, the cloud infrastructure Terraform provisions costs money, that is your actual bill, and it dwarfs any tooling fee.

Is Terraform free?

The Terraform CLI (the open-source tool you run locally or in CI) is free, with no license fee, at any scale. What can cost money is HashiCorp's managed service (HCP Terraform paid tiers, or self-hosted Terraform Enterprise) and, far more significantly, the cloud infrastructure Terraform creates. So the tool itself is free; the infrastructure it provisions is where real spend happens.

How much does HCP Terraform (Terraform Cloud) cost?

HCP Terraform has a free tier suitable for small teams and individual projects, then paid Standard, Plus, and Enterprise tiers that add features and are billed largely by the number of resources under management (or by run and usage on some plans). Self-hosted Terraform Enterprise is a separate licensed product for large organizations. You pay for state management, remote runs, collaboration, and governance features.

Does Terraform charge per resource?

The open-source CLI does not charge anything per resource. HCP Terraform's paid tiers, however, are billed largely by the number of resources under management, so managed-service cost can scale with your resource count. But that fee is small next to the actual cloud cost of the resources themselves, which your cloud provider bills regardless of which Terraform edition you use.

What actually costs money when I run Terraform?

The cloud infrastructure Terraform provisions. A run that creates instances, databases, load balancers, and other resources commits you to real monthly cloud spend, and that dwarfs any Terraform tooling fee. This is why pre-deploy cost visibility matters: the tool is cheap or free, but the infrastructure it creates is your bill, and seeing that cost before the run prevents surprises.

How does C3X work with Terraform cost?

C3X reads your Terraform and prices the infrastructure it will provision against a live catalog, before you apply. Since the infrastructure dwarfs any Terraform tooling fee, C3X focuses your cost attention where it matters: showing the monthly cost of a change in the pull request, so cost is known up front rather than discovered on the next invoice.

What to do next

The tool is free; the infrastructure is your bill. C3X prices what your Terraform provisions before you apply. Start with the quickstart and the resource catalog.

Try C3X on your own Terraform

Free and open source. No API key required. One command to install, one command to estimate.