# Infrastructure as code: what AI models recommend, September 2026

Gane Index, September 2026 Edition. Asked as "infrastructure-as-code tool" and as "IaC platform for provisioning cloud resources", six framings each, to twelve models with search on, on behalf of a mid-market B2B company. Page: https://www.gane.ai/index/it/cloud/infrastructure-as-code/2026-09

This is the permanent record of the September 2026 Edition, published September 17, 2026 and superseded since. The current standing: https://www.gane.ai/index/it/cloud/infrastructure-as-code/index.md

**Standing:** Terraform leads with 46% of first choices; verdict clear leader. 56 first choices across the direct, paraphrase, budget and scale prompts.

## First-choice share

| Rank | Product | Share | Negative rate | Labels |
|---|---|---|---|---|
| 1 | [Terraform](https://www.gane.ai/index/it/vendors/terraform/index.md) | 46% | 20% | 70 |
| 2 | [OpenTofu](https://www.gane.ai/index/it/vendors/opentofu/index.md) | 39% | 0% | 49 |
| 3 | [Pulumi](https://www.gane.ai/index/it/vendors/pulumi/index.md) | 7% | 6% | 66 |
| 5 | [AWS CDK](https://www.gane.ai/index/it/vendors/aws-cdk/index.md) | 2% | 11% | 28 |
| 6 | [Ansible](https://www.gane.ai/index/it/vendors/ansible/index.md) | 0% | 8% | 39 |
| 7 | [AWS CloudFormation](https://www.gane.ai/index/it/vendors/aws-cloudformation/index.md) | 0% | 19% | 43 |
| 8 | [Azure Bicep](https://www.gane.ai/index/it/vendors/azure-bicep/index.md) | 0% | 15% | 39 |
| 9 | [Crossplane](https://www.gane.ai/index/it/vendors/crossplane/index.md) | 0% | 12% | 25 |
| 10 | [Spacelift](https://www.gane.ai/index/it/vendors/spacelift/index.md) | 0% | 10% | 10 |
| 38 | [Chef](https://www.gane.ai/index/it/vendors/chef/index.md) | 0% | 69% | 13 |
| 39 | [Puppet](https://www.gane.ai/index/it/vendors/puppet/index.md) | 0% | 69% | 16 |

Rank is by share of first choices among all 39 products named; products with the same share are tied, and the order among them carries no meaning. The table lists those with at least 10 labels.

## Each model's first choice on the direct prompt

- Claude Haiku 4.5: Terraform; alternatives AWS CloudFormation, Ansible, Pulumi
- GPT-5.4 mini: OpenTofu, Terraform; alternatives AWS CloudFormation, Azure Bicep, Pulumi
- Gemini 3.5 Flash: OpenTofu; alternatives Pulumi, Spacelift, Terraform, env0
- Perplexity Sonar: Terraform; alternatives Ansible, OpenTofu, Pulumi
- Grok 4.20: OpenTofu, Terraform; alternatives AWS CloudFormation, Atlantis, Pulumi
- Mistral Small: Terraform; alternatives AWS CDK, Azure Bicep, OpenTofu, Pulumi
- DeepSeek V4 Flash: Terraform; alternatives AWS CloudFormation, Ansible, OpenTofu, Pulumi
- Llama 4 Maverick: no first choice
- Qwen 3.7 Flash: Terraform; alternatives AWS CDK, Ansible, Azure Bicep, Pulumi
- Kimi K2: OpenTofu, Terraform; alternatives AWS CDK, Pulumi
- GLM 4.7 FlashX: OpenTofu, Terraform; alternatives AWS CDK, AWS CloudFormation, Pulumi
- MiniMax M2.5: Terraform; alternatives AWS CloudFormation, Pulumi

## Sources the answers cite

57 of 72 answers came back with a source list, from 12 of 12 models. Sites named in the most answers:

- pulumi.com: 39 answers, 51 citations
- apiiro.com: 31 answers, 31 citations
- guideflow.com: 26 answers, 26 citations
- checkthat.ai: 23 answers, 24 citations
- cortex.io: 22 answers, 22 citations
- spacelift.io: 21 answers, 24 citations
- devtoollab.com: 16 answers, 16 citations
- firefly.ai: 15 answers, 16 citations

Pages named in the most answers:

- https://pulumi.com/blog/infrastructure-as-code-tools (32 answers)
- https://apiiro.com/blog/best-iac-tools (31 answers)
- https://guideflow.com/blog/infrastructure-as-code-tools (26 answers)
- https://checkthat.ai/answers/what-are-the-best-infrastructure-as-code-tools (22 answers)
- https://cortex.io/post/best-infrastructure-as-code-iac-tools (22 answers)
- https://devtoollab.com/blog/best-infrastructure-as-code-tools (16 answers)
- https://spacelift.io/blog/infrastructure-as-code-tools (15 answers)
- https://computingforgeeks.com/best-infrastructure-as-code-iac-cloud-automation-tools (12 answers)
- https://gitnux.org/best/infrastructure-as-code-software (12 answers)
- https://devopsplatforms.com/buying-guides/best-iac-tools (10 answers)

## Warned against

- Puppet: 11 of 16 labels negative. "Tools Often Considered Legacy or Declining (Be Cautious for New Projects)... Avoid for new work: Pure legacy config tools" (Grok 4.20, negative prompt)
- Chef: 9 of 13 labels negative. "Chef Infra Server hits end-of-life in Nov 2026... Avoid for new work: Pure legacy config tools" (Grok 4.20, negative prompt)
- Terraform: 14 of 70 labels negative. "Avoid starting new projects with: 1. Terraform under BSL (use OpenTofu instead)" (Kimi K2, negative prompt)
- AWS CloudFormation: 8 of 43 labels negative. "Pitfalls: Vendor lock-in (AWS-only), verbose JSON/YAML, no native state locking, monolithic templates hard to maintain" (Grok 4.20, negative prompt)

## Record

- Method: https://www.gane.ai/index/it/methodology
- License: CC BY 4.0. Cite as Gane Index, September 2026 Edition, www.gane.ai/index/it.
