Index › IT › Cloud and infrastructure › IaC › Terraform vs OpenTofu
Infrastructure as code · November 2026 Edition

Terraform vs OpenTofu

Thirteen of fourteen models named Terraform first on the direct prompt; three named OpenTofu. Terraform was named by fourteen of the fourteen models and OpenTofu by thirteen and Terraform carries 87 labels and OpenTofu 57, so the shares are not directly comparable.

Terraform

endorsed leader

Named in four categories this edition.

OpenTofu

endorsed leader

Named in one category this edition.

First-choice share58%31%Of first choices across the direct, paraphrase, budget and scale prompts, 0 to 100.
Negative rate17%4%Negative labels as a share of the product's labels, 0 to 100.
Rank in category#1#2A position in a field of 13; printed, not drawn.
Labels8757A count; the two differ.
The two percentage rows are drawn on one 0 to 100 track, Terraform reading right to left. Rank and label count are printed, not drawn.Pulumi was named alongside these two in thirteen of the fourteen direct answers. Terraform vs Pulumi · Terraform vs Ansible · OpenTofu vs Pulumi

Share is the count of first choices across the direct, paraphrase, budget and scale prompts over all fourteen models, for a mid-market B2B company; rank is within the category; every quote names the model and the prompt it came from. Both figures come from the infrastructure as code page.

By framing

How many of the fourteen models made each the first choice, per way of asking, and how many argued against it.
TerraformFirst choices, of fourteen modelsOpenTofu
Direct133
Paraphrase135
Comparative121
Budget-constrained5115 against Terraform
Scale-constrained611 against Terraform
Negative239 against Terraform · 2 against OpenTofu
Bars are first choices, 0 to 14 each sideModels that argued againstA model can name both, so the two sides of a row do not sum to fourteen.

Across every category in the November 2026 Edition, Terraform and OpenTofu were named in the same answer 159 times, of the 233 answers naming Terraform and the 166 naming OpenTofu. In those answers OpenTofu took the first choice thirty-three times and Terraform sixty.

Every model, every framing

The eighty-four answers behind the chart above, one cell each: where Terraform and OpenTofu stood in it.
ModelDirectParaphraseComparativeBudget-constrainedScale-constrainedNegative
Claude Haiku 4.5
GPT-5.4 mini
Gemini 3.5 Flash
Perplexity Sonar
Grok 4.20
Mistral Small
DeepSeek V4 Flash
Llama 4 Maverick
Qwen 3.7 Flash
Kimi K2
GLM 4.7 FlashX
MiniMax M2.5
GPT-6 Luna
Muse Glimmer 30B
Terraform OpenTofu first choice named as an alternative argued againstblank: not namedEach cell is one answer, Terraform on the left and OpenTofu on the right.

The direct prompt

The plain question, one answer per model, grouped by where Terraform and OpenTofu stood in it.

Both were the first choice

3 of 14 modelsThe answer named them together, and the judge labeled each a first choice.
Gemini 3.5 FlashOpenTofu, Terraform alternatives: AWS CDK, Atlantis, Pulumi, Spacelift, env0
Grok 4.20OpenTofu, Terraform alternatives: Pulumi, Terragrunt
Kimi K2OpenTofu, Terraform alternatives: Pulumi, Spacelift, env0

Terraform first, OpenTofu an alternative

10 of 14 modelsOpenTofu was named in the answer but not as the choice, or not at all.
Claude Haiku 4.5Terraform alternatives: AWS CDK, OpenTofu, Pulumi
GPT-5.4 miniTerraform alternatives: AWS CDK, AWS CloudFormation, Azure Bicep, Pulumi
Perplexity SonarTerraform alternatives: AWS CDK, AWS CloudFormation, OpenTofu, Pulumi
Mistral SmallTerraform alternatives: Pulumi, Puppet
DeepSeek V4 FlashTerraform alternatives: Atlantis, OpenTofu, Pulumi, Spacelift
Llama 4 MaverickTerraform alternatives: Ansible, OpenTofu
Qwen 3.7 FlashTerraform alternatives: AWS CDK, AWS CloudFormation, Pulumi
GLM 4.7 FlashXTerraform alternatives: AWS CloudFormation, Ansible, Azure Bicep, OpenTofu, Pulumi
MiniMax M2.5Terraform alternatives: Ansible, Pulumi
Muse Glimmer 30BTerraform alternatives: OpenTofu, Pulumi

Neither was the first choice, one was named

1 of 14 modelsThe answer put something else first and named one of the two as an alternative.
GPT-6 LunaTerraform with HCP Terraform alternatives: AWS CloudFormation, OpenTofu, Pulumi

Bold names in an answer are the products the judge labeled a first choice; a model naming several gives each of them that label. The full answer text for every row is in the record.

By buyer segment

The same question asked on behalf of a different buyer. Each standing is computed within its segment and they are never added together. The figures above are the mid-market standing, which is the one the category orders by.
Small business
Terraform leads by thirteen points.
Terraform49%#1 of 11
OpenTofu37%#2 of 11
The full small business standing →
Mid-marketThe figures above
Terraform leads by twenty-seven points.
Terraform58%#1 of 13
OpenTofu31%#2 of 13
The full mid-market standing →
Enterprise
Terraform leads by forty-three points.
Terraform62%#1 of 14
OpenTofu18%#2 of 14
The full enterprise standing →

What the models said about Terraform

Every negative label with a quote, up to three, then the highest-weighted positives, up to three. Six of eight in this category shown.

“Avoid for tight budgets: Paid platforms like Terraform Enterprise, Pulumi Team, or Spacelift” Grok 4.20 · budget prompt · hard negative
“Terraform under the BSL license (if your org has restrictions)” GLM 4.7 FlashX · negative prompt · hard negative
“Why be cautious: If you are building a commercial product... the BSL license may restrict your use or introduce legal compliance risks.” Gemini 3.5 Flash · negative prompt · soft negative
“Preferred starters: Terraform (or OpenTofu, its open-source fork—use if concerned about HashiCorp's licensing shifts post-2023) for declarative multi-cloud.” Grok 4.20 · negative prompt · first choice
“For most budget-constrained companies, Terraform offers the best balance of features, flexibility, and cost (free), making it the industry standard.” Claude Haiku 4.5 · budget prompt · first choice
“Terraform (or OpenTofu if licensing matters) remains the safest default due to ecosystem maturity, hiring pool, and governance tooling” DeepSeek V4 Flash · scale prompt · first choice

What the models said about OpenTofu

Every negative label with a quote, up to three, then the highest-weighted positives, up to three. Five of six in this category shown.

“it is younger; validate support for niche providers, modules, CI/CD integrations, and state migrations before moving a large estate” Perplexity Sonar · negative prompt · soft negative
“Don't assume a Terraform-to-OpenTofu switch is completely frictionless.” GPT-6 Luna · negative prompt · soft negative
“the practical budget pick is: OpenTofu if you want Terraform compatibility with a permissive, truly open source license and zero software cost” Muse Glimmer 30B · budget prompt · first choice
“many cost-conscious teams are now choosing OpenTofu, which is an open-source fork of Terraform designed to ensure it stays forever free” Qwen 3.7 Flash · budget prompt · first choice
“For most budget-conscious companies, OpenTofu offers the best combination of zero licensing cost, mature features, multi-cloud support” MiniMax M2.5 · budget prompt · first choice
Also compared

Comparisons are drawn for the top eight products in each category, each against each. The output is the models' output; nothing here is a recommendation by the index.