# GPT-6.2 Astra on iac-bench 2026-11

> Source: <https://www.massdriver.cloud/blogs/iac-bench-2026-11-gpt-6-2-astra>
> Published: 2026-11-24 00:00:00+00:00

**Recommendation:** Score infrastructure-as-code models on both a mechanical rubric and an LLM judge; GPT-6.2 Astra's 95.2 judge score versus 84.1 mechanical shows judge-only evals miss omitted inputs and operational features.
More in the playbook "Evals and testing for LLM apps": <https://wpnews.pro/playbooks/evals-testing>

New: LLM Rankings are live!

[See how the top LLMs rank on real infrastructure tasks](https://www.massdriver.cloud/llm-rankings)

How GPT-6.2 Astra did on iac-bench 2026-11: an overall composite of 87.3, scores per fixture, strengths, weaknesses and the patterns in its OpenTofu modules.

Every model evaluated on the 2026-11 fixtures side by side, with a sortable leaderboard, picks by use case and the cost of each: [LLM rankings](https://www.massdriver.cloud/llm-rankings).

| Developer | OpenAI | 
| API identifier | `gpt-6.2-astra` | 
| Access | OpenAI API (Responses) | 
| Weights | Closed | 
| List price (USD / M tokens, in / out) | 8.0 / 40.0 (OpenRouter, 2026-11-24) | 
| Evaluated | 2026-11-23 (generation) · 2026-11-24 (judge) | 
| Attempts | 18 (6 fixtures × 3 samples) | 
| **Overall composite** | **87.3** (95% CI 86.0–88.0) | 
| Rank | 6 of 24 (95% rank interval 6–7) | 
| Mechanical only / judge only | 84.1 (rank 7) / 95.2 (rank 3) | 
| Failed gates · insecure attempts | 0/18 · 0/18 | 
| Estimated cost, all 18 attempts | $4.48 | 

GPT-6.2 Astra is new in 2026-11. It ranks sixth of 24 with an overall composite of 87.3 and a 95% rank interval of 6–7. It finishes ahead of GPT-6.1 Terra, the model just below it, in 82% of bootstrap resamples, so the two are within the margin of three samples. It is clearly separated from the models on either side of that pair: it essentially never finishes ahead of GPT-6.1 Sol or the four models above it, and essentially always ahead of Claude Haiku 5.5.

All 18 attempts planned, with no security findings and no known apply failure. Its best placings are the Aurora global database (G004, 88.1, fifth, with the third-highest rubric median) and App Service (G003, 93.7, sixth). S3 (G001, 78.0, 19th) and Cloud SQL (G002, 84.8, 18th) are its weakest. Its worst attempt scores 77.0, the fourth-highest worst case in the field.

The judge rates its short, opinionated modules more highly than the rubric does. Its judge-only score (95.2) ranks third and its mechanical-only score (84.1) seventh, the second-largest gap in the field after Claude Sonnet 5.5. Its judge medians run from 86.8 to 100 on every fixture; the rubric charges it for the inputs and operational features those modules leave out.

It is also the fastest and shortest writer in the field: a median of 98 seconds and 2,917 output tokens per attempt. All 18 attempts cost $4.48.

GPT-6.2 Astra was not part of the 2026-10 release; this is its first report.

| Fixture | Composite median (range) | Rubric median | Expertise | Judge median | ✗ gate | ⚠ security | Median inputs | Median output tokens | Median time | Median cost | 
|---|---|---|---|---|---|---|---|---|---|---|
| G001 · S3 | 78.0 (77.0–78.6) | 0.693 | 5/7 | 100.0 | 0/3 | 0/3 | 2 | 1,693 | 77 s | $0.112 | 
| G002 · Cloud SQL | 84.8 (84.8–86.4) | 0.836 | 4/9 | 94.7 | 0/3 | 0/3 | 14 | 2,906 | 83 s | $0.190 | 
| G003 · App Service | 93.7 (92.2–93.7) | 0.977 | 4/5 | 86.8 | 0/3 | 0/3 | 12 | 5,255 | 225 s | $0.329 | 
| G004 · Aurora global | 88.1 (86.0–88.1) | 0.890 | 3/8 | 92.1 | 0/3 | 0/3 | 11 | 6,970 | 282 s | $0.473 | 
| G005 · GKE | 90.3 (87.6–92.2) | 0.906 | 4/10 | 97.4 | 0/3 | 0/3 | 7 | 2,928 | 81 s | $0.192 | 
| G006 · Storage | 89.0 (84.8–90.9) | 0.870 | 4/8 | 100.0 | 0/3 | 0/3 | 2 | 2,429 | 105 s | $0.188 | 

Rubric items not at full credit, counted over attempts that planned: G001: `H6` 3/3, `H7` 3/3, `H9` 3/3, `H12` 3/3, `H13` 3/3, `H14` 3/3, `H15` 3/3, `B1` 3/3; G002: `H4` 3/3, `H5` 3/3, `H8` 3/3, `H9` 3/3, `H11` 3/3, `A4` 1/3, `B1` 3/3, `B2` 2/3; G003: `B2` 3/3; G004: `H9` 3/3, `H11` 3/3, `H12` 3/3, `A7` 3/3, `A8` 3/3, `B1` 3/3, `B2` 3/3; G005: `H7` 2/3, `H9` 3/3, `H11` 1/3, `A4` 3/3, `A7` 1/3, `B1` 3/3, `B2` 1/3; G006: `H5` 1/3, `H7` 3/3, `H8` 2/3, `H9` 1/3, `A1` 2/3, `A5` 3/3, `A6` 3/3. Definitions are in [Scoring criteria](https://www.massdriver.cloud/blogs/iac-bench-2026-11-scoring-criteria).

`B2`).` regional/`) that the root calls once per region (excerpt below). The
module creates a KMS key in its own region, sets `storage_encrypted = true`, and attaches a
parameter group with `rds.force_ssl = "1"`, so neither known apply failure occurs. No
attempt sets `manage_master_user_password`. Two generate the master password with
`random_password` and keep a copy in a Secrets Manager secret (G004 `H9` at 0.5, since the
password lands in state); G004 e1 passes an ephemeral input to the write-only
`master_password_wo`, which G004 `H11`/` H12` at 0.75), and instance count (two per region) and backup
retention (35 days) have no inputs (G004 `A7`, `A8`). No attempt loads pgaudit, logs
connections or enables enhanced monitoring (E1, E2, E4, 0/3).`H6`, `H7`, 3/3),
and no attempt offers access logging (G001 `H13`), a region input (G001 `H15`) or a
way to set `force_destroy` (G001 `H14`), all 3/3. GPT-6 Astra, GPT-6 Luna and GPT-6.1
Terra lose the same lifecycle and logging items.`deletion_policy` on databases (G002 `H4`/` H5` at 0.75), no labels input (G002 `H8`),
the region fed to the instance rather than the provider (G002 `cloudsql.instanceUser` grant for the IAM users it creates (E6, 0/3).`A6`) or tags (G006 `A5`), two cannot influence the account
name (G006 `A1`), two hardcode `LRS` (G006 `A4`), two set no maintenance window (G005
`B1`): `>= 5.0, < 7.0` on S3, `>= 6.0, < 8.0` on Cloud SQL and GKE. On G004 the child module declares
`hashicorp/aws` with no version constraint in all three attempts.`main.tf` (
`G004/gpt-6.2-astra-e1/regional/main.tf` lines 84–99

```
resource "aws_rds_cluster" "db" {
  cluster_identifier                  = var.name
  engine                              = "aurora-postgresql"
  engine_version                      = var.engine_version
  global_cluster_identifier           = var.global_id
  source_region                       = var.source_region
  database_name                       = var.source_region == null ? var.database : null
  master_username                     = var.source_region == null ? "clusteradmin" : null
  master_password_wo                  = var.password
  master_password_wo_version          = var.password_version
  port                                = 5432
  db_subnet_group_name                = aws_db_subnet_group.db.name
  vpc_security_group_ids              = [aws_security_group.db.id]
  db_cluster_parameter_group_name     = aws_rds_cluster_parameter_group.pg.name
  storage_encrypted                   = true
  kms_key_id                          = aws_kms_key.db.arn
```

Each region's Aurora cluster is declared in a local child module, called once per region from the root. The cluster takes a write-only master password, encrypts its storage with a KMS key created in the same region and names a parameter group that sets rds.force_ssl. All three G004 attempts use this structure.

How Gemini 3.8 Flash did on iac-bench 2026-11: an overall composite of 65.6, scores per fixture, strengths, weaknesses and the patterns in its OpenTofu modules.

How Gemini 4 Argon did on iac-bench 2026-11: an overall composite of 75.9, scores per fixture, strengths, weaknesses and the patterns in its OpenTofu modules.

How Gemini 4 Carbon did on iac-bench 2026-11: an overall composite of 79.1, scores per fixture, strengths, weaknesses and the patterns in its OpenTofu modules.
