New: LLM Rankings are live!

See how the top LLMs rank on real infrastructure tasks
Engineering
Gemini 4 Hydrogen on iac-bench 2026-11

Gemini 4 Hydrogen on iac-bench 2026-11

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

Chris Hill5 min
Share

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.

DeveloperGoogle
API identifiergemini-4-hydrogen
AccessGemini API
WeightsClosed
List price (USD / M tokens, in / out)1.50 / 7.50 (OpenRouter, 2026-11-24)
Evaluated2026-11-23 (generation) · 2026-11-24 (judge)
Attempts18 (6 fixtures × 3 samples)
Overall composite78.6 (95% CI 75.4–80.4)
Rank15 of 24 (95% rank interval 12–19)
Mechanical only / judge only78.3 (rank 14) / 85.5 (rank 15)
Failed gates · insecure attempts0/18 · 1/18
Estimated cost, all 18 attempts$8.13

Summary

Gemini 4 Hydrogen ranks 15th of 24 with an overall composite of 78.6, 0.5 behind Gemini 4 Carbon. The two are not ordered (win probability 0.36), and neither is Qwen4 Max (78.9, 0.28) or GPT-6 Luna (77.3, 0.76). Gemini 4 Neon is ahead of it with win probability 0.96, and it is ahead of Gemini 4 Argon with 0.90. One of its 18 attempts has a security finding.

Its strongest fixture is Cloud SQL, where its median of 89.5 is the highest of the Google models and one attempt scores 97.6, its best of the release. On G004 all three modules have Secrets Manager manage the master password on member clusters of the global database, a known apply failure that halves the composite (42.0). The judge graded those modules 76.3–92.1.

It shares the Gemini 4 habits: fixed security posture, most expertise items, validation throughout, and more inputs than the budgets allow. Its median interfaces are smaller than both Gemini 4 Neon's and Gemini 4 Carbon's on S3, GKE and the storage account.

Scores

FixtureComposite median (range)Rubric medianExpertiseJudge median✗ gate⚠ securityMedian inputsMedian output tokensMedian timeMedian cost
G001 · S382.1 (80.5–83.1)0.7627/786.80/30/31928,628328 s$0.397
G002 · Cloud SQL89.5 (85.5–97.6)0.8478/9100.00/30/32834,665326 s$0.485
G003 · App Service86.0 (74.0–86.0)0.9084/576.30/31/3 (H1)1734,201443 s$0.410
G004 · Aurora global42.0 (41.9–44.4)0.4377/881.60/30/33939,722615 s$0.571
G005 · GKE87.1 (85.5–87.1)0.8788/1086.80/30/32526,493219 s$0.336
G006 · Storage84.8 (79.6–87.3)0.8805/881.60/30/31725,551369 s$0.328

Rubric items not at full credit, counted over attempts that planned: G001: H12 3/3, H13 3/3, H15 3/3, A4 3/3, A5 3/3, B1 2/3; G002: H3 2/3, H9 3/3, H11 2/3, A8 2/3, B1 2/3; G003: H1 1/3, H3 3/3, A6 3/3, A7 1/3, B1 1/3; G004: H9 3/3, H12 1/3, A5 3/3, B1 3/3, known apply failure in 3/3 (score ×0.5); G005: H16 3/3, A5 3/3, B1 3/3; G006: H5 1/3, H7 1/3, H9 1/3, A4 3/3, B1 1/3. Definitions are in Scoring criteria.

Strengths

  • Cloud SQL. Median 89.5 (85.5–97.6), judge median 100. The best attempt loses only the provider-region half credit (H9) and is graded 100 by the judge, with deletion protection on and opt-out, removed databases kept, and 25 inputs. In 3/3 its required security and audit flags are merged after the consumer's database_flags, and that attempt also rejects them with a validation error (excerpt below).
  • Security posture fixed in 17/18 attempts. Storage account H1/H2, GKE private nodes and Cloud SQL encryption hold in every attempt.
  • Expertise. 7/7 on S3, 8/9 on Cloud SQL, 8/10 on GKE and 7/8 on Aurora.
  • Clean judged mechanics. Internal logic, Scope, Outputs and Deprecated patterns scored 2 in 18/18; Sensitive values in 17/18.
  • Concept inputs. S3 use_case or usage_profile presets; App Service capacity.size tiers mapped to SKUs by the module.

Weaknesses

  • G004 known apply failure, 3/3 (F1), with H9 and the interface budget (34–46 inputs against 12–22) lost in 3/3. One attempt merges extra_cluster_parameters after the defaults, so rds.force_ssl can be overridden (Anti-patterns 0).
  • App Service. One attempt takes https_only and public_network_access_enabled from availability inputs (H1, the security finding; Anti-patterns 0). minimum_tls_version is an input in 3/3 (H3; unvalidated in one, Anti-patterns 0), and worker internals are inputs in 3/3 (A6). The autoscaled worker count is handled badly in two attempts: ignored unconditionally in one, never ignored in another (Lifecycle meta-arguments 1). The judge median is 76.3.
  • GKE control-plane range. master_ipv4_cidr_block defaults to a fixed 172.16.0.0/28 in 3/3 (H16), which one module's own description says must be unique per cluster.
  • S3 gaps. Access logging that cannot deliver (H13, 3/3), no provider block with a configurable region (H15, 3/3), CloudFront grants (A4, 3/3), and an additional_bucket_policy_json input that can grant any principal (Anti-patterns 1).
  • Storage account. The location is a separate input rather than read from the resource group in 3/3 (E7 missing), and one attempt offers neither versioning nor lifecycle tiering (H5, H9).
  • Provider constraints that admit a new major in 12/18 attempts (B1).

Characteristic patterns

  • Mid-sized interfaces for its family: medians of 19, 28, 17, 39, 25 and 17 inputs. The budget is still lost in 15/18 attempts, and the judge gave Interface design 1 in 15/18.
  • Inline network rules and a separate location on every storage account module (Inline vs separate resources 1 and Data sources vs inputs 1 in 3/3).
  • READMEs in 11/18 attempts, every S3, Cloud SQL and storage account module but none on App Service.
  • Two inaccurate descriptions in 18 attempts (Documentation 0): a GKE comment that NodeLocal DNSCache is incompatible with Cloud DNS, and Aurora descriptions that contradict their own validations.

Representative excerpt

G002/gemini-4-hydrogen-e2/variables.tf lines 123–139

variable "database_flags" {
  description = "PostgreSQL database flags tuned by the DBA team. Security and audit flags (iam_authentication, pgaudit, connection/checkpoint/lock logging) are platform-managed and cannot be overridden."
  type        = map(string)
  default     = {}

  validation {
    condition = length(setintersection(keys(var.database_flags), [
      "cloudsql.iam_authentication",
      "cloudsql.enable_pgaudit",
      "log_connections",
      "log_disconnections",
      "log_checkpoints",
      "log_lock_waits",
    ])) == 0
    error_message = "Platform-managed security and audit flags (cloudsql.iam_authentication, cloudsql.enable_pgaudit, log_connections, log_disconnections, log_checkpoints, log_lock_waits) are enforced automatically and cannot be set in database_flags."
  }
}

The DBA team gets an open-ended flags map, but setting any security or audit flag fails validation with an explanation, and the module merges those flags last anyway. This is its best attempt (97.6).


Results · Methodology · Scoring criteria

Stay in the loop