{
  "id": "sitebench--gemini-4-carbon--2026-11-10--v2",
  "modelSlug": "gemini-4-carbon",
  "modelName": "Gemini 4 Carbon",
  "provider": "Google AI Studio",
  "bench": "sitebench",
  "benchName": "Sitebench",
  "benchVersion": "v2",
  "rubricVersion": "sitebench@4",
  "promptVersion": "sitebench@2",
  "date": "2026-11-10",
  "overallGrade": "B-",
  "verdict": "hire",
  "verdictReason": "A polished, working clinic ward app with solid access rules, held back by a member-exploitable bypass of the server-side patient cap and some layout and scope sprawl",
  "verdictOverridden": false,
  "effort": "default (medium)",
  "tool": "OpenRouter",
  "costUSD": 5.756998,
  "costEstimated": false,
  "url": "https://gruntbench.com/run/sitebench--gemini-4-carbon--2026-11-10--v2",
  "verdictExplanation": null,
  "promptTokens": 5406574,
  "completionTokens": 114952,
  "reasoningTokens": 1355,
  "latencySeconds": 2046,
  "tokensPerSecond": null,
  "firstTryWorks": true,
  "listPrice": {
    "inputPerM": 2,
    "outputPerM": 10
  },
  "fixPass": null,
  "scores": [
    {
      "label": "Design",
      "grade": "B",
      "weight": 0.35,
      "evidence": "Looks like a real clinical product with a consistent token system across both themes and clear status and overdue-vaccine signalling. Targets look at least 44 px and confirmations are inline. Roster badge and ward-code wrapping at desktop width and a cramped stacked mobile header show layout drift. The cyan primary in dark mode is a likely contrast miss.",
      "subrows": null
    },
    {
      "label": "Works for the job",
      "grade": "B",
      "weight": 0.25,
      "evidence": "Core flows (roster, filter, detail, handover feed, cap indicator) are present on the live site at both widths, with the seed visible on first load. Saving requires sign-in, and the package does not show a live save round-trip. On mobile the roster pushes the editor far down the page.",
      "subrows": null
    },
    {
      "label": "Security",
      "grade": "C-",
      "weight": 0.15,
      "evidence": "Rules deny strangers, block cross-clinic access and self-join, and have their own emulator test suite. The ordinary 11th admit is denied server-side. Server-side cap enforcement can be bypassed by a clinic member through list manipulation. Profile and clinic-doc creation are loosely validated.",
      "subrows": null
    },
    {
      "label": "Code",
      "grade": "B-",
      "weight": 0.15,
      "evidence": "Logic and rules both have tests, and the contract files are untouched. Speculative features like dictation and export add sprawl beyond a v1 scope, and the tests emit unhandled act warnings.",
      "subrows": null
    },
    {
      "label": "Technical",
      "grade": "B",
      "weight": 0.1,
      "evidence": "Build, tests and deploy all succeed, and the console is clean on the live site. Dependency audit findings and act warnings in the test output are left unaddressed.",
      "subrows": null
    }
  ],
  "metrics": [
    {
      "label": "Build time",
      "value": 34.1,
      "unit": "min"
    },
    {
      "label": "Rules probe: a member adds, edits and discharges a patient in its own clinic",
      "value": "ALLOWED",
      "unit": null
    },
    {
      "label": "Rules probe: change the demo clinic or a private clinic without signing in",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: read or edit another clinic's patients",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: a new account joins the demo clinic, then edits its patients",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: name another clinic in a new profile, then edit it",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Rules probe: lower the counter, then add an 11th active patient",
      "value": "ALLOWED  <-- HOLE",
      "unit": null
    },
    {
      "label": "Rules probe: add an 11th active patient directly",
      "value": "denied",
      "unit": null
    },
    {
      "label": "Contract files",
      "value": "files: MATCH",
      "unit": null
    },
    {
      "label": "Live URL",
      "value": "HTTP 200",
      "unit": null
    },
    {
      "label": "Graded commit",
      "value": "943ff95",
      "unit": null
    },
    {
      "label": "API calls",
      "value": 57,
      "unit": null
    },
    {
      "label": "Cached prompt tokens",
      "value": 3266142,
      "unit": null
    }
  ],
  "costBreakdown": [
    {
      "label": "Input tokens at $2/M (introductory rate)",
      "usd": 4.280864
    },
    {
      "label": "Cached input tokens at $0.1/M (introductory rate)",
      "usd": 0.326614
    },
    {
      "label": "Output tokens at $10.00/M (introductory rate)",
      "usd": 1.14952
    }
  ],
  "liveUrl": "https://gemini-4-carbon-gb.web.app",
  "repoUrl": null,
  "footnotes": [
    "Graded by a blind panel of two AI reviewers, with Benchy making the final call.",
    "Reviewers: Claude Opus 5.5 and GPT-6 Astra; Gemini 3.8 Flash and Gemini 4 Argon sat out, because a reviewer never grades its own maker's model. Each rubric row is the median of their grades, then the rubric's weights and caps; Benchy cast no vote.",
    "Two reviewers: Claude Opus 5.5 and GPT-6 Astra. Gemini 3.8 Flash sits out, same maker. Benchy casts no vote.",
    "Effort default (medium). Google AI Studio via OpenRouter, pinned with no fallbacks.",
    "Sitebench uses OpenRouter through the Codex CLI harness; other benches use the one-shot OpenRouter harness."
  ],
  "evidence": null,
  "needsReview": false,
  "gradedBy": "panel",
  "scorePoints": 82
}