Short answer
Pulumi, OpenTofu, and AWS CloudFormation are the three to open first: Pulumi for general-purpose code with a $0 cloud tier, OpenTofu for an MPL 2.0 command line, and CloudFormation when you only create AWS resources. Bicep is free for Azure. The Terraform CLI uses the Business Source License, and HCP Terraform Essentials starts at $0.10 per resource per month. Ansible Automation Platform is a custom quote.
Last verified against the sources listed below.
Key takeaways
- Pulumi Cloud Free is $0. Essentials is $40 per month, including 40 credits.
- OpenTofu's license file is Mozilla Public License 2.0. The homepage calls it a Terraform drop-in.
- Terraform 1.6.0 and later uses the Business Source License. The change license is MPL 2.0.
- CloudFormation adds no charge for AWS resource types. You still pay for the resources.
- Bicep is free and open source. Microsoft Learn says Microsoft Support supports it.
- Red Hat does not print a dollar price for Ansible Automation Platform.
The best infrastructure as code tools are the ones that show a license or a price for creating cloud resources.
Cloud computing is the rented capacity these tools describe in a file. The six entries below publish a license, a free tier, or a dollar rate.
Quick comparison
Prices and license terms are as of December 2026, from the vendor or project page linked later.
| Tool | Best for | Starting price | Free plan or trial | Standout feature |
|---|---|---|---|---|
| Pulumi | Teams writing infrastructure in a general-purpose language | Essentials $40/month | Free plan at $0 | 40 credits on Essentials, up to 500 resources |
| OpenTofu | A Terraform-style CLI under MPL 2.0 | No fee on the project site | Open source | Drop-in replacement, Linux Foundation stewardship |
| AWS CloudFormation | Stacks made of AWS resource types | No added charge for AWS types | No minimum fee | You pay for the resources, not the template |
| Bicep | Azure resources in a short declarative file | Free | Open source, MIT | Compiles to a Resource Manager template |
| Terraform | HCP remote runs, or the BSL command line | Essentials from $0.10 per resource per month | Free up to 500 managed resources | State and runs in HCP Terraform |
| Ansible Automation Platform | Enterprise automation across hybrid cloud | Custom pricing, see vendor | Quote only | Standard daytime support or Premium 24x7 |
Pulumi
Pulumi Cloud is the hosted service for infrastructure written with Pulumi. The pricing page compares Free, Essentials, Pro, and Enterprise.
Best for: a team that wants a language-based workflow and a published monthly price.
- Free is $0, with no credit card, and includes 1 user.
- Free includes state, deployments, one delivery pipeline, and up to 500 workflow minutes.
- Essentials is $40 per month and includes 40 credits, described as up to 500 managed resources.
- Pro is $400 per month and includes 400 credits, described as up to 2,000 managed resources.
- Enterprise is custom contract pricing. Self-hosting is listed there.
Pricing, as of December 2026: Free is $0 and Essentials is $40 per month on Pulumi’s pricing page. Pro is $400 per month on that page.
Pros
- A $0 plan is printed, not only a sales form.
- Essentials includes unlimited users, unlike the 1-user Free plan.
Cons
- Resource use past the included credits is billed. The page shows an hourly rate.
- Enterprise has no public dollar amount.
OpenTofu
OpenTofu is a community infrastructure-as-code tool under Linux Foundation stewardship. The project site calls it a drop-in replacement for Terraform.
Best for: a team that wants Terraform-style files under the Mozilla Public License.
- The repository license file is Mozilla Public License, version 2.0.
- The site says the project was created after HashiCorp moved from an open-source license to the Business Source License.
- The homepage lists 3,900+ providers and 23,600+ modules.
- State encryption is described on the homepage, including a passphrase key provider.
- There is no paid plan and no seat price on the project homepage.
Pricing, as of December 2026: no charge is listed on OpenTofu’s site. The license is MPL 2.0 in the project repository.
Pros
- The license file is an OSI-style public license, not a source-available grant.
- Existing Terraform-style configuration is the workflow the homepage describes.
Cons
- Provider and module counts on the homepage will move. Treat 3,900+ and 23,600+ as the figures on the page opened in December 2026.
- There is no hosted control plane with a printed support tier on that homepage.
AWS CloudFormation
AWS CloudFormation models a collection of AWS and third-party resources as code. You pay for what you use, with no minimum fees and no required upfront commitment.
Best for: an AWS-only stack that should not add a second bill for AWS resource types.
- There is no additional charge for providers in the AWS::* and Alexa::* namespaces.
- You pay for created resources, such as EC2, as if you had created them manually.
- Third-party handler operations are charged. The first 30 seconds of each operation have no duration charge.
- Past 30 seconds, the page charges $0.00008 per second.
- A pricing example subtracts 1,000 operations, then multiplies the rest by $0.0009.
Pricing, as of December 2026: no added CloudFormation charge for AWS types, on AWS CloudFormation pricing. Third-party handlers use the rates above.
Pros
- AWS resource types do not add a CloudFormation fee.
- The handler math is printed, including a worked example.
Cons
- The service does not manage Azure or Google Cloud resources as native AWS types.
- Third-party providers and custom hooks are a separate meter.
Bicep
Bicep is a domain-specific language with declarative syntax for Azure resources. Microsoft Learn says a Bicep file is what you deploy, repeatedly, through the development lifecycle.
Best for: Azure resources when you want a shorter file than a JSON template.
- The page says Bicep is free and open source, and that you do not pay for premium capabilities.
- The GitHub license is the MIT License, copyright Microsoft Corporation.
- During deployment, the CLI converts the file to a Resource Manager JSON template.
- Azure stores the state. The page says there is no state file to manage.
- The what-if operation previews create, update, and delete changes.
Pricing, as of December 2026: free, on Microsoft’s Bicep overview. Azure still bills the resources you deploy.
Pros
- The language price is zero on the official overview.
- You can use new Azure resource types without waiting for a separate tool update, the page says.
Cons
- It targets Azure Resource Manager, not a multi-cloud inventory.
- Experimental features are not covered by Microsoft Customer Support, the same page warns.
Terraform
Terraform 1.6.0 and later is licensed under the Business Source License. The license file names IBM as the licensor. HCP Terraform is the hosted workflow around that CLI.
Best for: a team that wants remote Terraform runs and will read the license before embedding the CLI in a product.
- The additional use grant allows production use, except offering the software to third parties on a hosted or embedded basis to compete with IBM’s paid versions.
- Hosting it for internal use inside an organization is not a competitive offering, the license says.
- The change license is MPL 2.0, four years after the version is published.
- HCP Terraform Free has no charge for up to 500 managed resources.
- The pricing page lists Essentials starting at $0.10 per resource per month, rated hourly at $0.00013.
Pricing, as of December 2026: those HCP rates are on HashiCorp’s pricing page. The same page lists Standard from $0.47 and Premium from $0.99 per resource per month, and a pay-as-you-go offer with a $500 credit. The CLI terms are in the Terraform license file.
Pros
- A free HCP tier is capped at a printed resource count, not a hidden seat count.
- Essentials, Standard, and Premium each show a starting monthly rate on the pricing page.
Cons
- The CLI is not under MPL 2.0 until the change date for that version.
- The developer docs also say to contact sales for some Standard and Premium questions, so confirm the rate you will be billed.
Ansible Automation Platform
Red Hat Ansible Automation Platform is an enterprise framework for building and operating IT automation at scale, from hybrid cloud to the edge. It is the paid platform, not a cloud-resource price list.
Best for: a team that needs supported automation and will take a quote.
- Standard includes support from 9 to 5, plus maintenance and upgrades.
- Premium includes 24x7 support, plus maintenance and upgrades.
- Both lines say you get full access to the platform’s built-in resources.
- Deployment options on the page are a managed service, a managed application, and self-managed.
- The page says pricing varies by sizing and subscription, and tells you to talk to Red Hat or a partner.
Pricing, as of December 2026: custom pricing, see vendor, on Red Hat’s Ansible pricing page. No dollar amount is printed there.
Pros
- Support hours are named for Standard and Premium.
- You can place it on AWS, Azure, Google Cloud, Oracle Cloud, or Red Hat platforms, the page says.
Cons
- There is no public starting price to compare with Pulumi’s $40 plan.
- It is an automation platform. It is not a substitute for a cloud resource template by itself.
How to choose an infrastructure as code tool
Match the tool to the cloud you actually deploy, then to the license you can accept. A free CLI and a hosted runner are different purchases.
- Choose CloudFormation or Bicep when the estate is one cloud and you do not want a second vendor fee for the language.
- Choose OpenTofu when you want Terraform-style files and an MPL 2.0 license file.
- Choose Terraform when you want HCP’s free tier of 500 managed resources, and you have read the Business Source License.
- Choose Pulumi when the team wants a general-purpose language and will pay $40 a month once the free plan is too small.
- Ask Red Hat for an Ansible quote when the job is ongoing automation with a support contract.
- Shrink files the template uploads. An image compressor does that before the apply step.
Software development is the wider practice of keeping that file in version control.
How we picked these tools
Each license line comes from the project license file or the vendor overview, opened in December 2026. Each dollar amount comes from the vendor pricing page. Red Hat’s page has no dollar amount, so Ansible is marked custom pricing, see vendor.
A tool stayed in when it declares cloud or IT resources as code and the page was live. The order runs from a priced language service, to open-source CLIs, to the hosted Terraform product, to a quoted automation platform. Discontinued products are not listed.
Frequently asked questions
Is OpenTofu the same license as Terraform?
No. The OpenTofu license file is the Mozilla Public License, version 2.0. The Terraform license file says version 1.6.0 or later is under the Business Source License. That file allows production use unless you offer the software to third parties on a hosted or embedded basis to compete with IBM's paid versions. The change license is MPL 2.0, four years after a version is published. OpenTofu's site calls the project a fork made after that license switch.
Does CloudFormation cost extra on top of EC2?
AWS says there is no additional charge for CloudFormation with resource providers in the AWS and Alexa namespaces. You pay for the resources you create, such as EC2 instances, the same as if you created them by hand. There are no minimum fees and no required upfront commitments for that use. Charges start when you use third-party resource providers or custom hooks. The pricing page gives a handler rate and a duration rate past 30 seconds.
What does the HCP Terraform free plan include?
HashiCorp's plan overview says the free plan has no charge for up to 500 managed resources. It includes remote execution, version-control integration, the private module registry, single sign-on, and run tasks. A later note says the free edition includes one policy set of up to five policies. Essentials, Standard, and Premium are the paid plans. The public pricing page lists Essentials starting at $0.10 per resource per month. A managed resource is one in state with mode set to managed.
Is Bicep a general programming language?
Microsoft Learn says Bicep is not intended as a general programming language for applications. A Bicep file declares Azure resources and properties. The Bicep CLI converts the file into a Resource Manager JSON template at deployment. The same page says Bicep is free and open source, and that you do not pay for premium capabilities. The GitHub license file is the MIT License, copyright Microsoft. Azure still bills the resources the template creates.
Why is Ansible on an infrastructure list?
Red Hat describes Ansible Automation Platform as an enterprise framework for building and operating IT automation at scale, from hybrid cloud to the edge. The pricing page does not publish a dollar amount. It offers Standard support from 9 to 5 and Premium support at all hours, and it says the price depends on sizing and subscription choices. That is a different bill from a tool that only declares cloud resources. Use it when the job is ongoing automation, and ask Red Hat for the quote.
Sources
- Pulumi pricing · Pulumi, 2026
- OpenTofu · OpenTofu, 2026
- Terraform LICENSE · HashiCorp, 2026
- HashiCorp product pricing · HashiCorp, 2026
- HCP Terraform subscription plans · HashiCorp, 2026
- AWS CloudFormation pricing · Amazon Web Services, 2026
- What is Bicep? · Microsoft Learn, 2026
- Ansible Automation Platform pricing · Red Hat, 2026