{
  "data": {
    "a": {
      "slug": "cloudflare-ai-gateway",
      "name": "Cloudflare AI Gateway",
      "vendor": "Cloudflare",
      "vendorUrl": "https://www.cloudflare.com",
      "kind": "router",
      "category": "inference",
      "summary": "AI Gateway is Cloudflare's proxy and router for model providers. Agents call OpenAI-style, Anthropic-style or native endpoints on the Cloudflare API, with logging, caching, rate and spend limits, retries, fallbacks and one prepaid credit balance.",
      "url": "https://www.anchorterminal.com/tools/cloudflare-ai-gateway",
      "markdownUrl": "https://www.anchorterminal.com/tools/cloudflare-ai-gateway.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/cloudflare-ai-gateway.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json",
      "dns": "cloudflare-ai-gateway.grade.anchorterminal.com",
      "repo": "https://github.com/cloudflare/ai",
      "license": "Proprietary service under Cloudflare's Self-Serve Subscription Agreement and its service-specific terms. Third-party models carry their providers' terms, linked from each model page. `ai-gateway-provider` is MIT and Cloudflare's OpenAPI repository is BSD-3-Clause",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
      "packages": [
        {
          "registry": "npm",
          "name": "ai-gateway-provider"
        },
        {
          "registry": "npm",
          "name": "cloudflare"
        },
        {
          "registry": "pypi",
          "name": "cloudflare"
        }
      ],
      "auth": "api-key",
      "authNotes": "A Cloudflare API token as a Bearer header, created by a person in the dashboard. The `/ai/*` inference routes need Workers AI Read, and the `/ai-gateway/*` management routes need AI Gateway Read or Edit. Provider-native endpoints on `gateway.ai.cloudflare.com` take the token in `cf-aig-authorization`. Tokens can carry an expiry and an IP address filter and cannot be limited to one gateway. Access is self-serve, with no review or sales step.",
      "pricing": "freemium",
      "pricingNotes": "Free on all plans for analytics, caching, rate limiting and DLP scanning, with a Cloudflare account. Third-party models are paid from prepaid Unified Billing credits at provider prices plus a 5 per cent fee on each credit purchase, or with the caller's own provider keys at no Cloudflare charge. Guardrails are billed as Workers AI inference. Accounts whose first gateway dates from 24 September 2026 or later keep logs in Workers Logs at Workers Logs pricing, older accounts in Legacy Logs (100,000 logs on Workers Free, 10,000,000 per gateway on Workers Paid). Logpush follows Logpush pricing (https://developers.cloudflare.com/ai-gateway/reference/pricing/, checked 2026-11-01).",
      "priceSummary": "5% fee",
      "where": "hosted",
      "x402": {
        "level": "partial",
        "evidence": "Machine Payments, in beta since 30 September 2026, takes x402 payment on `POST /ai/run` for four open models when the request carries `Payment-Method: x402`. It needs a Cloudflare API token, a United States account and a card on file. The OpenAI-style and Anthropic-style routes are not covered. We did not call it (https://developers.cloudflare.com/ai-gateway/features/machine-payments/, checked 2026-10-09).",
        "endpoints": [
          {
            "url": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run",
            "priceUsd": null,
            "network": ""
          }
        ]
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 250648,
        "pypiWeekly": null,
        "asOf": "2026-10-09"
      },
      "docsUrl": "https://developers.cloudflare.com/ai-gateway/",
      "llmsTxt": "https://developers.cloudflare.com/ai-gateway/llms.txt",
      "openapi": "https://raw.githubusercontent.com/cloudflare/api-schemas/main/openapi.json",
      "capabilities": [
        "inference.llm",
        "inference.router",
        "obs.gateway",
        "guard.moderation",
        "guard.pii"
      ],
      "tags": [
        "hosted",
        "router",
        "free-tier",
        "usage-based",
        "x402",
        "openapi",
        "llms-txt",
        "openai-compatible",
        "typescript",
        "python",
        "go",
        "status-page",
        "bug-bounty"
      ],
      "lastRelease": "2026-10-21",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 69.2,
        "grade": "B",
        "agentReady": false,
        "rank": 343,
        "ranked": true,
        "rankOf": 1524,
        "categoryRank": 14,
        "methodology": "0.8",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 73,
          "maintenance": 75,
          "payments": 63,
          "reliability": 66,
          "schema": 75,
          "security": 80,
          "transparency": 74
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-01"
        },
        "negative": -3,
        "negativeNotes": [
          "6 October 2026. Rejected-credential responses on `POST /ai/run` changed status (ElevenLabs 403, Vertex 500 and other providers' 402 became 401 with code 2009, and Unified Billing rejections became 503) on the day of the changelog entry, with no advance notice found. On 8 October new log IDs and request IDs changed from ULIDs and random UUIDs to UUIDv7, announced the same day with advice to update code that checks the ULID format. Repeats of one kind fold into one term. Three points (https://developers.cloudflare.com/ai-gateway/changelog/)."
        ],
        "verdict": "The gateway layer is free, per-model prices are public with no markup, and logs, spend limits and fallbacks are set per gateway. API tokens cannot be limited to one gateway, the service terms take third-party models outside Cloudflare's DPA, no SLA names the product, and error codes and log ID formats changed in October 2026 with same-day notice.",
        "bestFor": "Teams that already hold a Cloudflare account and want one token, one bill, logs, budgets and fallbacks in front of several model providers, or that want to keep their own provider keys behind a proxy with spend limits.",
        "strengths": [
          "Core gateway functions (analytics, caching, rate limiting) are free on all plans, and provider prices pass through with no markup",
          "One Cloudflare API token reaches 241 catalogue models through OpenAI Chat Completions, OpenAI Responses, Anthropic Messages or the native `/ai/run` route",
          "Spend limits block requests with a 429 once a budget is reached, scoped by model, provider or request metadata, with up to 20 rules a gateway",
          "Logging is switched per gateway and per request, and `cf-aig-collect-log-payload: false` keeps token and cost metadata without storing prompts",
          "x402 payment (Machine Payments, beta since 30 September 2026) works on `POST /ai/run` for four open models"
        ],
        "weaknesses": [
          "API tokens are account-scoped. Any token with AI Gateway Run can send requests through every gateway in the account and spend its stored provider keys",
          "The service-specific terms say the DPA and Information Security Exhibit do not apply to third-party models reached through AI Gateway",
          "No SLA naming AI Gateway was found. The Enterprise SLA lists service-specific SLAs for R2, Queues and Workers only",
          "On 6 October 2026 rejected-credential responses on `/ai/run` changed to 401 with code 2009, and on 8 October log IDs became UUIDv7, each announced the same day",
          "Unified Billing traffic is capped at 200 requests per 60 seconds per gateway, and a 5 per cent fee applies to credit purchases",
          "Section 2.2(e) of the Self-Serve Subscription Agreement bars automated agents that generate automated requests into the Services, which matters before any probe is run",
          "`ai-gateway-provider` was feature frozen and deprecated on 21 October 2026 in favour of `createAI` in the Agents SDK"
        ],
        "agentNotes": [
          "Use the REST API at `api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1` with a token holding Workers AI Read. A token with only an AI Gateway permission returns 401 with code 10000",
          "Send `cf-aig-gateway-id` on every Workers AI (`@cf/`) call and on dynamic routes. Without it a dynamic route resolves against the default gateway and returns 404",
          "Set `cf-aig-collect-log: false` or `cf-aig-collect-log-payload: false` on sensitive requests. Logging of prompts and responses is on by default",
          "Treat a 429 as a rate limit or a spent budget and a 401 with code 2009 as a rejected provider key. Do not retry a 2009",
          "Set `byok_only` on the gateway or send `cf-aig-no-wholesale: true` to stop a request without a provider key falling through to paid Unified Billing credits",
          "Use `createAI` from the `agents` package for new AI SDK code. `ai-gateway-provider` is deprecated and gets no new work"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 4,
        "avgRating": 3,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.8",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 69.2
          }
        ],
        "editorialScores": {
          "ergonomics": 73,
          "maintenance": 75,
          "payments": 63,
          "reliability": 66,
          "schema": 75,
          "security": 80,
          "transparency": 51
        },
        "provenanceScore": 96,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-01",
            "maintenance": "2026-11-01",
            "payments": "2026-11-01",
            "reliability": "2026-11-01",
            "schema": "2026-11-01",
            "security": "2026-11-01",
            "transparency": "2026-11-01"
          },
          "last": "2026-11-01",
          "lastMoved": "2026-11-13",
          "oldest": "2026-11-01",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "http": "curl -X POST \"https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions\" \\\n  --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n    \"model\": \"openai/gpt-4.1-mini\",\n    \"messages\": [{\"role\": \"user\", \"content\": \"What is Cloudflare?\"}]\n  }'",
        "x402": "curl -iX POST \"https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run\" \\\n  --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n  --header \"Payment-Method: x402\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\"model\":\"z-ai/glm-4.7-flash\",\"input\":{\"messages\":[{\"role\":\"user\",\"content\":\"What is Cloudflare?\"}]}}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/cloudflare-ai-gateway"
      },
      "sameCompany": [
        "cloudflare-workers-ai",
        "cloudflare-sandbox-sdk",
        "cloudflare-workers-oauth-provider",
        "cloudflare-web-search",
        "cloudflare-clairic",
        "cloudflare-ai-search",
        "cloudflare-cli",
        "cloudflare-mcp",
        "cloudflare-email-service",
        "cloudflare-r2",
        "cloudflare-clef"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "Unified Billing credit purchase fee",
          "unit": "pct",
          "usd": 5,
          "note": "a $100 purchase is charged $105"
        }
      ],
      "provenance": {
        "legalEntity": "Cloudflare, Inc.",
        "domain": "cloudflare.com",
        "domainRegistered": "2009-02-17",
        "endpointOnVendorDomain": true,
        "terms": "https://www.cloudflare.com/terms/",
        "privacy": "https://www.cloudflare.com/privacypolicy/",
        "statusPage": "https://www.cloudflarestatus.com",
        "changelog": "https://developers.cloudflare.com/ai-gateway/changelog/",
        "securityTxt": "valid",
        "checked": "2026-10-09",
        "notes": [
          "Terms are the Self-Serve Subscription Agreement, last updated 12 September 2025, which names Cloudflare, Inc. at 101 Townsend St, San Francisco.",
          "The service-specific terms (https://www.cloudflare.com/service-specific-terms-developer-platform/), last updated 28 September 2026, have a section for Workers AI and AI Gateway that supplements the agreement.",
          "The privacy policy is effective from 4 November 2025. The customer DPA is version 6.4, effective 3 April 2026.",
          "www.cloudflare.com/.well-known/security.txt, read on 9 October 2026, names HackerOne and a disclosure policy and has no Expires field. It is recorded as valid, although RFC 9116 asks for that field.",
          "The inference endpoints are on api.cloudflare.com and gateway.ai.cloudflare.com.",
          "The status page lists AI Gateway as its own component, operational on 9 October 2026.",
          "RDAP for cloudflare.com gives a registration date of 2009-02-17."
        ],
        "score": 96
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/cloudflare-ai-gateway.json",
      "live": {
        "slug": "cloudflare-ai-gateway",
        "probe": {
          "target": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
          "method": "get",
          "lastAt": "2026-11-08T12:33:03.891418189Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 45,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 41,
          "p95ms24h": 141,
          "samples24h": 242,
          "samples30d": 7388,
          "days": [
            {
              "date": "2026-10-09",
              "probes": 85,
              "ok": 85
            },
            {
              "date": "2026-10-10",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-11",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-12",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-13",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-14",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-15",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-16",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-17",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-18",
              "probes": 256,
              "ok": 256
            },
            {
              "date": "2026-10-19",
              "probes": 255,
              "ok": 255
            },
            {
              "date": "2026-10-20",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-21",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-22",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-23",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-24",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-10-25",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-10-26",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-27",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-28",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-10-29",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-30",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-31",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-11-01",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-11-02",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-11-03",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-11-04",
              "probes": 246,
              "ok": 246
            },
            {
              "date": "2026-11-05",
              "probes": 185,
              "ok": 185
            },
            {
              "date": "2026-11-06",
              "probes": 241,
              "ok": 241
            },
            {
              "date": "2026-11-07",
              "probes": 243,
              "ok": 243
            },
            {
              "date": "2026-11-08",
              "probes": 127,
              "ok": 127
            }
          ],
          "since": "0001-01-01T00:00:00Z"
        },
        "vendorStatus": {
          "page": "https://www.cloudflarestatus.com",
          "indicator": "minor",
          "summary": "Partially Degraded Service",
          "checkedAt": "2026-11-14T00:05:39.206980352Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "cloudflare/ai",
            "version": "ai-gateway-provider@4.0.2",
            "released": "2026-10-20",
            "seenAt": "2026-11-13T08:24:30.210122986Z"
          },
          {
            "registry": "npm",
            "name": "ai-gateway-provider",
            "version": "4.0.2",
            "seenAt": "2026-11-13T08:24:27.778440432Z"
          },
          {
            "registry": "npm",
            "name": "cloudflare",
            "version": "7.3.0",
            "seenAt": "2026-11-13T08:24:28.593653967Z"
          },
          {
            "registry": "pypi",
            "name": "cloudflare",
            "version": "5.10.0",
            "released": "2026-11-05",
            "seenAt": "2026-11-13T08:24:29.979175771Z"
          }
        ],
        "githubStars": 1219,
        "npmWeekly": 219125,
        "pypiWeekly": 615179,
        "securityTxt": {
          "url": "https://cloudflare.com/.well-known/security.txt",
          "state": "valid",
          "checkedAt": "2026-11-13T16:15:34.823804431Z"
        },
        "llmsTxt": {
          "url": "https://developers.cloudflare.com/ai-gateway/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-13T15:53:37.107062082Z"
        },
        "domain": {
          "domain": "cloudflare.com",
          "registered": "2009-02-17",
          "source": "https://rdap.verisign.com/com/v1/domain/cloudflare.com",
          "checkedAt": "2026-11-08T14:52:51.11924704Z"
        },
        "pages": [
          {
            "url": "https://developers.cloudflare.com/ai-gateway/changelog/",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-13T18:13:43.534715332Z",
            "changedAt": "2026-11-07T14:03:42.700833734Z",
            "fingerprint": "e12d8cc0ccb6"
          },
          {
            "url": "https://developers.cloudflare.com/ai-gateway/reference/pricing/",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-11-13T18:13:45.750122574Z",
            "changedAt": "2026-11-05T12:27:58.285650461Z",
            "fingerprint": "37ec41081ede"
          },
          {
            "url": "https://www.cloudflare.com/privacypolicy/",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-11-13T18:37:24.662597114Z",
            "changedAt": "2026-11-06T13:47:54.357995184Z",
            "fingerprint": "282aa4b71b3e"
          },
          {
            "url": "https://www.cloudflare.com/terms/",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-11-13T18:37:27.196638424Z",
            "changedAt": "2026-10-22T01:30:41.491480215Z",
            "fingerprint": "515e09b3c6ed"
          }
        ],
        "github": {
          "repo": "cloudflare/ai",
          "checkedAt": "2026-11-09T10:15:23.269259055Z",
          "stars": 1217,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-10-27T10:39:35Z",
          "openIssues": 62,
          "openPRs": 21,
          "issuesOpened90d": 19,
          "issuesClosed90d": 13,
          "prsMerged90d": 6,
          "ci": {
            "branch": "main",
            "runs": 50,
            "success": 49,
            "failure": 0,
            "other": 1,
            "latest": "success",
            "latestAt": "2026-10-27T10:40:22Z"
          },
          "advisories": [
            {
              "ghsa": "GHSA-v85r-hgf6-q875",
              "severity": "medium",
              "published": "2025-11-04T18:27:48Z"
            }
          ],
          "replies": {
            "sampled": 25,
            "unanswered": 13,
            "medianDays": 0.1
          }
        },
        "updatedAt": "2026-11-14T00:05:39.206980352Z"
      },
      "streak": {
        "days": 0,
        "from": "2026-11-14",
        "sinceWatching": true,
        "last": {
          "kind": "breaking",
          "date": "2026-10-08",
          "what": "New log IDs and request IDs are lowercase UUIDv7 instead of 26-character ULIDs and random UUIDs. Update code that checks the ULID format",
          "source": "https://developers.cloudflare.com/ai-gateway/changelog/"
        },
        "best": 0
      }
    },
    "answer": "Cloudflare AI Gateway scores 69.2 (B) on agent readiness against Gemini 4 Hydrogen's 64.9 (B), and leads in 4 of 7 scored categories. Gemini 4 Hydrogen leads on schema \u0026 documentation, agent ergonomics and maintenance \u0026 community.",
    "b": {
      "slug": "gemini-4-hydrogen",
      "name": "Gemini 4 Hydrogen",
      "vendor": "Google",
      "vendorUrl": "https://ai.google.dev",
      "kind": "model",
      "category": "inference",
      "summary": "Gemini 4 Hydrogen is Google's fast, lower-cost Gemini 4 model for everyday coding and agent work, on every tier of the Gemini API with a 1,048,576-token limit shared between input and output.",
      "url": "https://www.anchorterminal.com/tools/gemini-4-hydrogen",
      "markdownUrl": "https://www.anchorterminal.com/tools/gemini-4-hydrogen.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/gemini-4-hydrogen.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/gemini-4-hydrogen.json",
      "dns": "gemini-4-hydrogen.grade.anchorterminal.com",
      "license": "Closed model, used through the Gemini API and Google's apps under Google's terms",
      "transports": [],
      "remoteUrl": "https://generativelanguage.googleapis.com/v1beta",
      "packages": [],
      "auth": "api-key",
      "authNotes": "An `x-goog-api-key` from AI Studio. Google's announcement puts Hydrogen on all tiers of AI Studio and the Gemini API, so a free-tier key with no billing works, per that post and the Gemini API listing's reading of the free tier. Paid Google AI Pro and Ultra subscribers can use it in Antigravity. On Google Cloud it's `gemini-4-hydrogen` on the Agent Platform, with Cloud credentials.",
      "pricing": "usage",
      "pricingNotes": "Google's announcement gives $1.50 per million input tokens and $7.50 output, flat across the whole 1M-token window, and names no introductory period, cached-input or batch price. Every processed token is billed, thinking included. Hydrogen's free-tier limits are on the Gemini API pricing page, now at aistudio.google.com, not yet read (checked 2026-11-13).",
      "priceSummary": "Pay per use",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No machine payment. Paid use needs billing on a Cloud project, per the Gemini API listing (checked 2026-11-13).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-11-13"
      },
      "docsUrl": "https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/guides/gemini-4-hydrogen",
      "llmsTxt": "https://ai.google.dev/gemini-api/docs/llms.txt",
      "capabilities": [
        "inference.llm"
      ],
      "tags": [
        "official",
        "hosted",
        "model",
        "multimodal",
        "reasoning",
        "long-context",
        "tool-calling",
        "usage-priced",
        "free-tier",
        "closed-source",
        "llms-txt",
        "new"
      ],
      "lastRelease": "2026-11-12",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 64.9,
        "grade": "B",
        "agentReady": false,
        "rank": 546,
        "ranked": true,
        "rankOf": 1524,
        "categoryRank": 23,
        "methodology": "0.8",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 90,
          "maintenance": 85,
          "payments": 40,
          "reliability": 45,
          "schema": 85,
          "security": 50,
          "transparency": 72
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-13"
        },
        "negative": 0,
        "verdict": "Google's fast Gemini 4 model, on every tier of the Gemini API including the free one, at $1.50 and $7.50 per million tokens with a 1M-token budget, four thinking levels, function calling and structured output. Sampling parameters are ignored, explicit caching isn't supported, it's a short-term release with 45 days' notice on Cloud, and the benchmarks are Google's.",
        "bestFor": "Agents doing everyday coding, tool calls and document work at volume on the Gemini API, including ones that need to start on a free key, or as the executor beside Carbon or Argon.",
        "strengths": [
          "On the free tier of the Gemini API, unlike Carbon and Argon",
          "$1.50 input and $7.50 output per million tokens, flat across the 1M-token window",
          "1,048,576 tokens shared between input and output, with long decodes to the full budget",
          "Four thinking levels, function calling, structured output, code execution, grounding and computer use",
          "The same API, keys and SDKs as Argon and Carbon, plus an OpenAI-compatible surface, so switching is a model ID"
        ],
        "weaknesses": [
          "temperature, top_p and top_k are ignored, and thinking_budget, MINIMAL, penalties and extra candidates return a 400",
          "No explicit context caching or prefilled model turns, and strict thought-signature rules on parallel calls",
          "A short-term release, with a minimum of 45 days' notice before retirement on Google Cloud",
          "Free-tier content is used to improve Google's products and may be read by people",
          "Benchmark figures are Google's own, and the model card says jailbreak resistance is still being improved"
        ],
        "agentNotes": [
          "Call generateContent at https://generativelanguage.googleapis.com/v1beta with model gemini-4-hydrogen and an x-goog-api-key",
          "Set thinking_level instead of thinking_budget; the default is HIGH, so set MEDIUM to keep 3.8 Flash's latency",
          "Don't send temperature, top_p, top_k, penalties or candidate_count above 1",
          "Pass every thought_signature back in its original part, on the first parallel functionCall only, or the call returns a 400",
          "Put static content of 4,096 tokens or more first so implicit caching applies, and keep confidential prompts off the free tier"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.8",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 64.9
          }
        ],
        "editorialScores": {
          "ergonomics": 90,
          "maintenance": 85,
          "payments": 40,
          "reliability": 45,
          "schema": 85,
          "security": 50,
          "transparency": 55
        },
        "provenanceScore": 89,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-13",
            "maintenance": "2026-11-13",
            "payments": "2026-11-13",
            "reliability": "2026-11-13",
            "schema": "2026-11-13",
            "security": "2026-11-13",
            "transparency": "2026-11-13"
          },
          "last": "2026-11-13",
          "oldest": "2026-11-13",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "http": "curl \"https://generativelanguage.googleapis.com/v1beta/models/gemini-4-hydrogen:generateContent\" \\\n  -H \"x-goog-api-key: $GEMINI_API_KEY\" -H \"content-type: application/json\" \\\n  -d '{\"contents\":[{\"parts\":[{\"text\":\"hello\"}]}]}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/gemini-4-hydrogen"
      },
      "sameCompany": [
        "gemini-4-carbon",
        "vertex-ai",
        "embeddinggemma-2",
        "embeddinggemma-300m",
        "gemini-embedding",
        "vertex-ai-tuning",
        "cloud-run-gpus",
        "google-model-armor",
        "shieldgemma",
        "google-imagen",
        "gemini-omni-1-2-flash",
        "google-veo",
        "google-lyria",
        "google-speech-to-text",
        "google-cloud-tts",
        "gemini-live",
        "google-adk",
        "google-memory-bank",
        "google-secret-manager",
        "google-cloud-document-ai",
        "google-weather-api",
        "chrome-devtools-mcp",
        "puppeteer",
        "mcp-toolbox-databases",
        "google-maps-platform",
        "google-cloud-translation",
        "google-calendar-api",
        "firebase-cloud-messaging",
        "google-cloud-storage",
        "google-drive-api",
        "gemini-enterprise",
        "gemini-decision-1",
        "antigravity-cli",
        "gemini-cli",
        "harness2",
        "jules",
        "gemini-spark",
        "google-search-console",
        "google-ads-api",
        "google-forms",
        "google-sheets-api",
        "gmail-api",
        "google-people-api",
        "diffusiongemma-26b-a4b-it",
        "gemma-4-12b-it",
        "gemma-4-26b-a4b-it",
        "gemma-4-31b-it",
        "gemma-4-e2b-it",
        "gemma-4-e4b-it",
        "virustotal"
      ],
      "sameModel": [
        "gemini-api"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "Gemini 4 Hydrogen input",
          "unit": "1m-tokens",
          "usd": 1.5,
          "note": "Flat across the 1M window"
        },
        {
          "item": "Gemini 4 Hydrogen output",
          "unit": "1m-tokens",
          "usd": 7.5,
          "note": "Thinking tokens included"
        }
      ],
      "provenance": {
        "legalEntity": "Google LLC",
        "domain": "google.com",
        "domainRegistered": "1997-09-15",
        "domainNote": "The endpoint is on googleapis.com, Google's API domain. google.com was registered in 1997.",
        "endpointOnVendorDomain": true,
        "terms": "https://ai.google.dev/gemini-api/terms",
        "privacy": "https://policies.google.com/privacy",
        "statusPage": "https://aistudio.google.com/status",
        "changelog": "https://ai.google.dev/gemini-api/docs/changelog",
        "securityTxt": "valid",
        "checked": "2026-11-13",
        "score": 89
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/gemini-4-hydrogen.json",
      "live": {
        "slug": "gemini-4-hydrogen",
        "probe": {
          "target": "https://generativelanguage.googleapis.com/v1beta",
          "method": "get",
          "lastAt": "2026-11-14T00:10:00.466409633Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 30,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 33,
          "p95ms24h": 85,
          "samples24h": 34,
          "samples30d": 34,
          "days": [
            {
              "date": "2026-11-13",
              "probes": 32,
              "ok": 32
            },
            {
              "date": "2026-11-14",
              "probes": 2,
              "ok": 2
            }
          ],
          "since": "2026-11-13T20:58:02.850712558Z"
        },
        "vendorStatus": {
          "page": "https://aistudio.google.com/status",
          "indicator": "unknown",
          "summary": "no machine-readable status found",
          "checkedAt": "2026-11-13T23:54:32.148379631Z"
        },
        "updatedAt": "2026-11-14T00:10:00.466409633Z"
      },
      "streak": {
        "days": 1,
        "from": "2026-11-13",
        "sinceWatching": true,
        "best": 1
      }
    },
    "edges": [
      {
        "by": 30,
        "category": "security",
        "leads": "cloudflare-ai-gateway",
        "name": "Security \u0026 auth",
        "reasons": {
          "a": "Router, read on the model lines. Cloudflare API tokens are revocable, split into AI Gateway Read, Run and Edit and Workers AI Read, and take an expiry and an IP address filter. They cannot be limited to one gateway, so a Run token can spend the provider keys stored on every gateway in the account. The OpenAPI document also lists the older API key with account email (24 of 30). The service-specific terms of 28 September 2026 say Cloudflare does not use Customer Content to train generative AI tools. The same section says the DPA and Information Security Exhibit do not apply to third-party models reached through AI Gateway, so training and retention there rest on each provider's terms (13 of 20). Prompts and responses are logged by default. Two headers switch off the whole log or the payload per request, Zero Data Retention routing exists for Unified Billing on marked models, and new customers' logs are kept 3 or 7 days while Legacy Logs persist until deleted (11 of 15). Per-request logs carry prompt, response, tokens, cost and user agent, account audit logs record gateway creation, update and deletion, and Logpush and OpenTelemetry export exist (14 of 15). security.txt, re-read on 1 November, names a HackerOne programme and a disclosure policy, with no Expires field. Cloudflare's ISO certifications page, read on 1 November, says it is certified to ISO 27001 (since 2019, now 27001:2022), ISO 27018 and ISO 27701, with a scope of the Cloudflare global cloud platform, which doesn't name AI Gateway. 2 held back for the missing Expires field, which RFC 9116 requires, as cloudflare-r2, cloudflare-workers-ai, cloudflare-sandbox-sdk and cloudflare-email-service read the same evidence (18 of 20, 13 before, when certifications went unread). Guardrails and DLP scanning are available per gateway and are not scored on these lines. 24 + 13 + 11 + 14 + 18 = 80.",
          "b": "Model reading for gemini-4-hydrogen on the Gemini API. Platform facts are the Gemini API listing's (gemini-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Keys bound to a service account and restricted to the Gemini API, with no scopes and a token accepted in the URL (15 of 30, the platform's deduction). Hydrogen is on the free tier, where Google's terms say content is used to improve products and may be read by humans; paid-tier content isn't (10 of 20, the platform's reading; Carbon, paid tier only, got 15). Abuse retention has no number and new paid projects store requests by default since 26 October; Google's prompt-injection figure (2.3 times more resilient on Gray Swan's benchmark) is its own, and the model card says jailbreak resistance is still being improved (5 of 15). Request logs for billed projects (15). security.txt and a reward programme, no certification naming the API (5 of 20). 15 + 10 + 5 + 15 + 5 = 50."
        },
        "scores": {
          "a": 80,
          "b": 50
        }
      },
      {
        "by": 23,
        "category": "payments",
        "leads": "cloudflare-ai-gateway",
        "name": "Payments \u0026 pricing",
        "reasons": {
          "a": "x402 is in beta on `POST /ai/run` since 30 September 2026 for four open models of 241 in the catalogue. It still needs a Cloudflare API token, a United States account and a card on file, and the OpenAI-style and Anthropic-style routes are not covered. We did not call it (12 of 40). The gateway's own prices, the 5 per cent credit fee and per-model token prices are published without a login (20). Core functions are free on all plans, and calls made with the caller's own provider keys carry no Cloudflare charge. We did not sign up to confirm that no card is asked for (20). A person creates the account and the first token in a browser, and the x402 route needs both (0). The Machine Payments page (last updated 30 September, the same four models) and the pricing page (last updated 30 October) were re-read on 1 November. 12 + 20 + 20 + 0 = 52. Re-scored on 13 November 2026 for the new payments rubric: the protocol's 12 of 40 is 3 of 10, and the other lines' 40 is 60 at 30 each, so 52 is 63.",
          "b": "Model reading for gemini-4-hydrogen on the Gemini API. Platform facts are the Gemini API listing's (gemini-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. No machine payment protocol (0). Prices published in Google's announcement without a login, $1.50 input and $7.50 output per million tokens, flat across the window; the Gemini API pricing page, now at aistudio.google.com, is still to be read for Hydrogen's row (20). A free tier with no card: Google's announcement puts Hydrogen on all tiers of the Gemini API, and the free tier needs no billing account per the gemini-api listing; its limits for Hydrogen are on that pricing page (20). A Google account and AI Studio for a key (0). 0 + 20 + 20 + 0 = 40."
        },
        "scores": {
          "a": 63,
          "b": 40
        }
      },
      {
        "by": 21,
        "category": "reliability",
        "leads": "cloudflare-ai-gateway",
        "name": "Reliability",
        "reasons": {
          "a": "Hosted reading. www.cloudflarestatus.com is a Statuspage with AI Gateway, Workers AI and API as separate components (20). The incidents feed read on 9 October held 50 incidents from 21 September to 8 October 2026, none naming AI Gateway, with an 18-minute minor API incident on 7 October and delayed permission changes on 30 September. On 1 November the host's history.atom held only scheduled maintenance for 2 to 6 November, and the history page loads by script. Whether the incidents posted from 16 to 31 October name AI Gateway wasn't read for this listing (cloudflare-r2, cloudflare-workers-ai and cloudflare-email-service read that list for their own components only), and 3 August to 20 September and 9 to 15 October went unread too. An unread window isn't credited, so the line rests on the 21 September to 8 October reading alone, as on 9 October (10 of 30). Unified Billing traffic is limited to 200 requests per 60 seconds per gateway, re-read on 1 November, the Cloudflare API to 1,200 requests per five minutes per token, and BYOK traffic has no gateway limit (15). Over-limit and over-budget requests return 429, the Cloudflare API returns `retry-after` and `Ratelimit` headers for its own limit, and retries with backoff and model fallbacks can be set per request or per gateway. No `Retry-After` was found for the gateway's own 429, and nothing separates a rate-limit 429 from a spend-limit 429 (11 of 15). No SLA naming AI Gateway was found. The Enterprise SLA lists service-specific SLAs for R2, Queues and Workers only (0). The core product carries no beta label, and Machine Payments is in beta (10). 20 + 10 + 15 + 11 + 0 + 10 = 66.",
          "b": "Model reading for gemini-4-hydrogen on the Gemini API. Platform facts are the Gemini API listing's (gemini-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Status page at aistudio.google.com/status with no readable components or history (10 of 20) and no readable incident record (5 of 30). Rate-limit tiers and spend limits published, per-model limits in AI Studio (5 of 15). Backoff guidance for 429 and 503 and SDK retries (15). No SLA (0). Google Cloud's release notes and model page call Hydrogen generally available, a short-term release, under the same model ID; the Gemini API pages read don't name a stage, so full marks rest on Cloud's statement (10, a judgement call; Carbon, with no stage stated anywhere, got 5). 10 + 5 + 5 + 15 + 0 + 10 = 45."
        },
        "scores": {
          "a": 66,
          "b": 45
        }
      },
      {
        "by": 17,
        "category": "ergonomics",
        "leads": "gemini-4-hydrogen",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "Router, read on the model lines (tool use, structured output, caching, context, batch, SDKs, errors). Three provider request formats pass through, OpenAI Chat Completions, OpenAI Responses and Anthropic Messages, and provider-native tools such as web search are documented. Tool behaviour depends on the routed model (15 of 20). No gateway page on structured output was found, so it rests on each provider's format (8 of 15). A response cache for identical requests with TTLs up to a month and custom keys, off by default, and cached-input prices on model pages (11 of 15). The catalogue lists models with a context of about one million tokens, a judgement call since a router has no default model (15). Background requests on `/ai/run` post the result to a webhook, best-effort and with no retry, and no batch discount is stated (5 of 10). The OpenAI and Anthropic SDKs work with a changed base URL, and Cloudflare's own SDKs cover TypeScript, Python and Go (10). Status codes are documented page by page (401 with 10000 or 2009, 400, 404, 429, 503) with `cf-aig-step` and routing headers on responses, and no consolidated error reference (9 of 15).",
          "b": "Model reading for gemini-4-hydrogen on the Gemini API. Platform facts are the Gemini API listing's (gemini-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Function calling, with forced calls by FunctionCallingConfig on the API (20). Structured output to a response_schema, listed as supported on the Cloud model page (13 of 15). Implicit caching on prefixes of 4,096 tokens or more with durable caching on by default and explicit caches not supported, per the Cloud model page; the announcement names no cached-input price (12 of 15). 1,048,576 tokens shared between input and output, with background long decode up to 1M (15). Batch at half price on the platform (10). Python and JavaScript SDKs, and an OpenAI-compatible Chat Completions surface (10). Error codes with backoff guidance (10 of 15). 20 + 13 + 12 + 15 + 10 + 10 + 10 = 90."
        },
        "scores": {
          "a": 73,
          "b": 90
        }
      },
      {
        "by": 10,
        "category": "schema",
        "leads": "gemini-4-hydrogen",
        "name": "Schema \u0026 documentation",
        "reasons": {
          "a": "Router, scored on the API lines. Cloudflare's public OpenAPI 3.0.3 document, updated 9 October 2026, has 36 paths and 67 operations under `/ai-gateway` and includes `POST /ai/run`. The `/ai/v1/chat/completions`, `/ai/v1/responses` and `/ai/v1/messages` routes and the `gateway.ai.cloudflare.com` endpoints are not in it (20 of 25). An AI Gateway `llms.txt` and a Markdown copy of every page (10). Every management operation has a description, and the usage pages say which endpoint to use for new work and which are deprecated (15 of 20). Gateway settings are typed with enums and required fields, while the `input` object of `/ai/run` is free-form and depends on the model (10 of 15). Curl, SDK and Worker examples on most pages. No table of gateway error codes was found. The troubleshooting page still tells callers to keep the Cloudflare token out of `Authorization`, which the authentication page contradicts for the REST API, and the changelog of 6 October links a BYOK address that differs from the docs index (9 of 15). A dated changelog with RSS. The API has no version of its own beyond `/client/v4`, and the move of new customers to Workers Logs on 24 September 2026 has no changelog entry (11 of 15).",
          "b": "Model reading for gemini-4-hydrogen on the Gemini API. Platform facts are the Gemini API listing's (gemini-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Discovery document for GenerateContent (20 of 25). llms.txt with Markdown twins (10). The Cloud developer guide says what Hydrogen takes, every parameter that's ignored or returns 400, the thought-signature rules and how to migrate from Gemini 3.8 Flash, though it doesn't document forced calls (15 of 20). Structured output to a JSON Schema with some keywords not enforced (10 of 15). Examples and an errors page (15). Dated changelog and model versions (15). 20 + 10 + 15 + 10 + 15 + 15 = 85."
        },
        "scores": {
          "a": 75,
          "b": 85
        }
      },
      {
        "by": 10,
        "category": "maintenance",
        "leads": "gemini-4-hydrogen",
        "name": "Maintenance \u0026 community",
        "reasons": {
          "a": "Router, read on the model lines. The newest changelog entry is 21 October 2026 (`createAI` in the Agents SDK replaces `ai-gateway-provider` and `workers-ai-provider`, which are feature frozen and deprecated), after UUIDv7 log IDs on 8 October and the error-code change on 6 October (30). No minimum notice for API changes was found. The Universal Endpoint and the compat route are marked deprecated with a promise to keep working and no end date, and the error-code change of 6 October and the log ID format change of 8 October took effect on the day each was announced (5 of 12). No gateway endpoint was shut down in the last 90 days that we found. Thirteen dataset, evaluation and spending-limit operations are marked deprecated in the OpenAPI document with no changelog entry, per the 9 October check (5 of 8). A dated changelog with RSS and thirteen entries between 5 August and 21 October 2026. The Discord community was not sampled (11 of 15). Replies on the SDK repositories were not examined (3 of 10). `cloudflare` for TypeScript 7.3.0 and Python 5.9.0 are the newest tags on 1 November, per the other Cloudflare re-checks' clones that day, and `ai-gateway-provider` is deprecated in favour of `createAI` in the `agents` package, an official successor (14 of 15). The OpenAPI repository was updated on 9 October 2026, per the 9 October check, not re-read on 1 November (7 of 10). 30 + 5 + 5 + 11 + 3 + 14 + 7 = 75.",
          "b": "Model reading for gemini-4-hydrogen on the Gemini API. Platform facts are the Gemini API listing's (gemini-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Released on 12 November 2026, recorded in Google Cloud's release notes; the Gemini API changelog, last updated 30 October, has no entry for it yet (30). Google Cloud states a minimum of 45 days' notice before Hydrogen is retired, short and stated for Cloud only; the Gemini API's deprecations give earliest dates with no stated minimum (6 of 12). Shutdowns in the last 90 days kept to their table (4 of 8). Dated changelog (15). SDK replies not sampled (5 of 10). Current SDKs; the developer guide names the minimum google-genai, @google/genai, Go and Java versions (15). Runtimes stated (10). 30 + 6 + 4 + 15 + 5 + 15 + 10 = 85."
        },
        "scores": {
          "a": 75,
          "b": 85
        }
      }
    ],
    "facts": [
      {
        "a": "Model router",
        "b": "Model API",
        "name": "Kind"
      },
      {
        "a": "Cloudflare",
        "b": "Google",
        "name": "Vendor"
      },
      {
        "a": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
        "b": "https://generativelanguage.googleapis.com/v1beta",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Freemium",
        "b": "Pay per use",
        "name": "Pricing"
      },
      {
        "a": "on some endpoints",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "Proprietary service under Cloudflare's Self-Serve Subscription Agreement and its service-specific terms. Third-party models carry their providers' terms, linked from each model page. `ai-gateway-provider` is MIT and Cloudflare's OpenAPI repository is BSD-3-Clause",
        "b": "Closed model, used through the Gemini API and Google's apps under Google's terms",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-21",
        "b": "2026-11-12",
        "name": "Last release"
      },
      {
        "a": "2025-09-12",
        "b": "2026-04-28",
        "name": "Terms last updated"
      },
      {
        "a": "no date given",
        "b": "2026-10-01",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "name": "Customer content may train models"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "yes",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "not found in the text",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "251k npm/wk",
        "b": "none",
        "name": "Popularity"
      },
      {
        "a": "3/5 (4)",
        "b": "none",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "Cloudflare AI Gateway scores 69.2 (B) on agent readiness against Gemini 4 Hydrogen's 64.9 (B), and leads in 4 of 7 scored categories. Gemini 4 Hydrogen leads on schema \u0026 documentation, agent ergonomics and maintenance \u0026 community.",
        "question": "Which is better for AI agents, Cloudflare AI Gateway or Gemini 4 Hydrogen?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do Cloudflare AI Gateway and Gemini 4 Hydrogen need an API key?"
      },
      {
        "answer": "Yes. Cloudflare AI Gateway has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and Gemini 4 Hydrogen at https://generativelanguage.googleapis.com/v1beta.",
        "question": "Can an agent call Cloudflare AI Gateway and Gemini 4 Hydrogen without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 66 against 45",
          "Security \u0026 auth, 80 against 50",
          "Payments \u0026 pricing, 63 against 40"
        ],
        "also": null,
        "goodFor": "Teams that already hold a Cloudflare account and want one token, one bill, logs, budgets and fallbacks in front of several model providers, or that want to keep their own provider keys behind a proxy with spend limits.",
        "slug": "cloudflare-ai-gateway",
        "watchFor": "API tokens are account-scoped. Any token with AI Gateway Run can send requests through every gateway in the account and spend its stored provider keys"
      },
      {
        "aheadOn": [
          "Schema \u0026 documentation, 85 against 75",
          "Agent ergonomics, 90 against 73",
          "Maintenance \u0026 community, 85 against 75"
        ],
        "also": [
          "No incidents deducted, where Cloudflare AI Gateway loses 3 points for them"
        ],
        "goodFor": "Agents doing everyday coding, tool calls and document work at volume on the Gemini API, including ones that need to start on a free key, or as the executor beside Carbon or Argon.",
        "slug": "gemini-4-hydrogen",
        "watchFor": "temperature, top_p and top_k are ignored, and thinking_budget, MINIMAL, penalties and extra candidates return a 400"
      }
    ],
    "history": {
      "cloudflare-ai-gateway": [
        {
          "causes": [
            "method"
          ],
          "date": "2026-11-13",
          "delta": 1.4,
          "from": 67.8,
          "fromGrade": "B",
          "to": 69.2,
          "toGrade": "B"
        },
        {
          "causes": [
            "evidence"
          ],
          "date": "2026-11-01",
          "delta": 0.9,
          "from": 66.9,
          "fromGrade": "B",
          "to": 67.8,
          "toGrade": "B"
        },
        {
          "causes": [
            "method"
          ],
          "date": "2026-10-27",
          "delta": 0.1,
          "from": 66.8,
          "fromGrade": "B",
          "to": 66.9,
          "toGrade": "B"
        }
      ],
      "gemini-4-hydrogen": null
    },
    "job": {
      "capability": "inference.llm",
      "name": "LLM inference"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-cloudflare-ai-gateway.json",
        "title": "Amazon Bedrock vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-gemini-4-hydrogen.json",
        "title": "Amazon Bedrock vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway.json",
        "title": "Claude API vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-gemini-4-hydrogen.json",
        "title": "Claude API vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-gemini-4-hydrogen.json",
        "title": "Antseed vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/azure-openai-vs-cloudflare-ai-gateway.json",
        "title": "Azure OpenAI in Foundry Models vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/azure-openai-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/azure-openai-vs-gemini-4-hydrogen.json",
        "title": "Azure OpenAI in Foundry Models vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/azure-openai-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway.json",
        "title": "BlockRun.AI vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-gemini-4-hydrogen.json",
        "title": "BlockRun.AI vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-cloudflare-ai-gateway.json",
        "title": "Cerebras Inference vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-gemini-4-hydrogen.json",
        "title": "Cerebras Inference vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/claude-fable-5-2-vs-cloudflare-ai-gateway.json",
        "title": "Claude Fable 5.2 vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/claude-fable-5-2-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/claude-fable-5-2-vs-gemini-4-hydrogen.json",
        "title": "Claude Fable 5.2 vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/claude-fable-5-2-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-cloudflare-ai-gateway.json",
        "title": "Claude Mythos 5.2 vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-gemini-4-hydrogen.json",
        "title": "Claude Mythos 5.2 vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cloudflare-workers-ai.json",
        "title": "Cloudflare AI Gateway vs Cloudflare Workers AI",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cloudflare-workers-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat.json",
        "title": "Cloudflare AI Gateway vs Cohere Chat API (Command models)",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepinfra.json",
        "title": "Cloudflare AI Gateway vs DeepInfra",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepinfra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepseek-api.json",
        "title": "Cloudflare AI Gateway vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepseek-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-eden-ai.json",
        "title": "Cloudflare AI Gateway vs Eden AI",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-eden-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-elorian-glimpse.json",
        "title": "Cloudflare AI Gateway vs Glimpse",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-elorian-glimpse"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-fireworks-inference.json",
        "title": "Cloudflare AI Gateway vs Fireworks AI Inference",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-fireworks-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-4-carbon.json",
        "title": "Cloudflare AI Gateway vs Gemini 4 Carbon",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-4-carbon"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-api.json",
        "title": "Cloudflare AI Gateway vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-groq.json",
        "title": "Cloudflare AI Gateway vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers.json",
        "title": "Cloudflare AI Gateway vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hy4.json",
        "title": "Cloudflare AI Gateway vs Tencent Hy4",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hy4"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-jais-3.json",
        "title": "Cloudflare AI Gateway vs Jais 3",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-jais-3"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-meta-model-api.json",
        "title": "Cloudflare AI Gateway vs Meta Model API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-meta-model-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-minimax-api.json",
        "title": "Cloudflare AI Gateway vs MiniMax API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-minimax-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-mistral-api.json",
        "title": "Cloudflare AI Gateway vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-muse-ember.json",
        "title": "Cloudflare AI Gateway vs Muse Ember",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-muse-ember"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-muse-spark-open.json",
        "title": "Cloudflare AI Gateway vs Muse Spark Open",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-muse-spark-open"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-nemotron-3-5-super-vl.json",
        "title": "Cloudflare AI Gateway vs Nemotron 3.5 Super VL",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-nemotron-3-5-super-vl"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-novita-ai.json",
        "title": "Cloudflare AI Gateway vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openai-api.json",
        "title": "Cloudflare AI Gateway vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openrouter.json",
        "title": "Cloudflare AI Gateway vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-prism-inference.json",
        "title": "Cloudflare AI Gateway vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-ramp-router.json",
        "title": "Cloudflare AI Gateway vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-reflection-beam.json",
        "title": "Cloudflare AI Gateway vs Beam 1.0",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-reflection-beam"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-routerplus.json",
        "title": "Cloudflare AI Gateway vs RouterPlus",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-routerplus"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-sambanova.json",
        "title": "Cloudflare AI Gateway vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-siliconflow.json",
        "title": "Cloudflare AI Gateway vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-simplismart.json",
        "title": "Cloudflare AI Gateway vs Simplismart",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-simplismart"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api.json",
        "title": "Cloudflare AI Gateway vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-swe-2-flash.json",
        "title": "Cloudflare AI Gateway vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-tencent-tokenhub.json",
        "title": "Cloudflare AI Gateway vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-together-inference.json",
        "title": "Cloudflare AI Gateway vs Together AI Inference",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-together-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-vercel-ai-gateway.json",
        "title": "Cloudflare AI Gateway vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-vertex-ai.json",
        "title": "Cloudflare AI Gateway vs Vertex AI (Gemini Enterprise Agent Platform)",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-vertex-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-xai-api.json",
        "title": "Cloudflare AI Gateway vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-gemini-4-hydrogen.json",
        "title": "Cloudflare Workers AI vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-gemini-4-hydrogen.json",
        "title": "Cohere Chat API (Command models) vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-gemini-4-hydrogen.json",
        "title": "DeepInfra vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-gemini-4-hydrogen.json",
        "title": "DeepSeek API vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/eden-ai-vs-gemini-4-hydrogen.json",
        "title": "Eden AI vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/eden-ai-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-gemini-4-hydrogen.json",
        "title": "Glimpse vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/fireworks-inference-vs-gemini-4-hydrogen.json",
        "title": "Fireworks AI Inference vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/fireworks-inference-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-carbon-vs-gemini-4-hydrogen.json",
        "title": "Gemini 4 Carbon vs Gemini 4 Hydrogen",
        "url": "https://www.anchorterminal.com/compare/gemini-4-carbon-vs-gemini-4-hydrogen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-gemini-api.json",
        "title": "Gemini 4 Hydrogen vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-groq.json",
        "title": "Gemini 4 Hydrogen vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-hugging-face-inference-providers.json",
        "title": "Gemini 4 Hydrogen vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-hy4.json",
        "title": "Gemini 4 Hydrogen vs Tencent Hy4",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-hy4"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-jais-3.json",
        "title": "Gemini 4 Hydrogen vs Jais 3",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-jais-3"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-meta-model-api.json",
        "title": "Gemini 4 Hydrogen vs Meta Model API",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-meta-model-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-minimax-api.json",
        "title": "Gemini 4 Hydrogen vs MiniMax API",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-minimax-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-mistral-api.json",
        "title": "Gemini 4 Hydrogen vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-muse-ember.json",
        "title": "Gemini 4 Hydrogen vs Muse Ember",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-muse-ember"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-muse-spark-open.json",
        "title": "Gemini 4 Hydrogen vs Muse Spark Open",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-muse-spark-open"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-nemotron-3-5-super-vl.json",
        "title": "Gemini 4 Hydrogen vs Nemotron 3.5 Super VL",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-nemotron-3-5-super-vl"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-novita-ai.json",
        "title": "Gemini 4 Hydrogen vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-openai-api.json",
        "title": "Gemini 4 Hydrogen vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-openrouter.json",
        "title": "Gemini 4 Hydrogen vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-prism-inference.json",
        "title": "Gemini 4 Hydrogen vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-ramp-router.json",
        "title": "Gemini 4 Hydrogen vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-reflection-beam.json",
        "title": "Gemini 4 Hydrogen vs Beam 1.0",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-reflection-beam"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-routerplus.json",
        "title": "Gemini 4 Hydrogen vs RouterPlus",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-routerplus"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-sambanova.json",
        "title": "Gemini 4 Hydrogen vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-siliconflow.json",
        "title": "Gemini 4 Hydrogen vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-simplismart.json",
        "title": "Gemini 4 Hydrogen vs Simplismart",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-simplismart"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-stepfun-api.json",
        "title": "Gemini 4 Hydrogen vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-swe-2-flash.json",
        "title": "Gemini 4 Hydrogen vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-tencent-tokenhub.json",
        "title": "Gemini 4 Hydrogen vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-together-inference.json",
        "title": "Gemini 4 Hydrogen vs Together AI Inference",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-together-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-vercel-ai-gateway.json",
        "title": "Gemini 4 Hydrogen vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-vertex-ai.json",
        "title": "Gemini 4 Hydrogen vs Vertex AI (Gemini Enterprise Agent Platform)",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-vertex-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-xai-api.json",
        "title": "Gemini 4 Hydrogen vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-cloudflare-ai-gateway.json",
        "title": "Antseed vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-litellm.json",
        "title": "Cloudflare AI Gateway vs LiteLLM",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-litellm"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 21,
        "cloudflare-ai-gateway": 66,
        "edge": "cloudflare-ai-gateway",
        "gemini-4-hydrogen": 45,
        "key": "reliability",
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 10,
        "cloudflare-ai-gateway": 75,
        "edge": "gemini-4-hydrogen",
        "gemini-4-hydrogen": 85,
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 17,
        "cloudflare-ai-gateway": 73,
        "edge": "gemini-4-hydrogen",
        "gemini-4-hydrogen": 90,
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 30,
        "cloudflare-ai-gateway": 80,
        "edge": "cloudflare-ai-gateway",
        "gemini-4-hydrogen": 50,
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 23,
        "cloudflare-ai-gateway": 63,
        "edge": "cloudflare-ai-gateway",
        "gemini-4-hydrogen": 40,
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 10,
        "cloudflare-ai-gateway": 75,
        "edge": "gemini-4-hydrogen",
        "gemini-4-hydrogen": 85,
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 2,
        "cloudflare-ai-gateway": 74,
        "edge": "cloudflare-ai-gateway",
        "gemini-4-hydrogen": 72,
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "Cloudflare AI Gateway scores 69.2 (B) on agent readiness against Gemini 4 Hydrogen's 64.9 (B), and leads in 4 of 7 scored categories. Gemini 4 Hydrogen leads on schema \u0026 documentation, agent ergonomics and maintenance \u0026 community. Both do llm inference.",
    "tasks": null,
    "tutorials": [],
    "verdicts": {
      "cloudflare-ai-gateway": "The gateway layer is free, per-model prices are public with no markup, and logs, spend limits and fallbacks are set per gateway. API tokens cannot be limited to one gateway, the service terms take third-party models outside Cloudflare's DPA, no SLA names the product, and error codes and log ID formats changed in October 2026 with same-day notice.",
      "gemini-4-hydrogen": "Google's fast Gemini 4 model, on every tier of the Gemini API including the free one, at $1.50 and $7.50 per million tokens with a 1M-token budget, four thinking levels, function calling and structured output. Sampling parameters are ignored, explicit caching isn't supported, it's a short-term release with 45 days' notice on Cloud, and the benchmarks are Google's."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-4-hydrogen",
    "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-4-hydrogen.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-4-hydrogen.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-4-hydrogen.min.md"
  },
  "markdown": "Cloudflare AI Gateway scores 69.2 (B) on agent readiness against Gemini 4 Hydrogen's 64.9 (B), and leads in 4 of 7 scored categories. Gemini 4 Hydrogen leads on schema \u0026 documentation, agent ergonomics and maintenance \u0026 community. Both do llm inference.\n\n- Cloudflare AI Gateway: grade B, 69.2/100, rank #343 of 1524. Markdown https://www.anchorterminal.com/tools/cloudflare-ai-gateway.md · JSON https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json\n- Gemini 4 Hydrogen: grade B, 64.9/100, rank #546 of 1524. Markdown https://www.anchorterminal.com/tools/gemini-4-hydrogen.md · JSON https://www.anchorterminal.com/api/v1/tools/gemini-4-hydrogen.json\n- Best model APIs and inference for AI agents: https://www.anchorterminal.com/best/inference/index.md\n- All 1044 models comparisons: https://www.anchorterminal.com/compare/inference/index.md\n\n## Which one, for what\n\n### Cloudflare AI Gateway (B)\n\nGood for: Teams that already hold a Cloudflare account and want one token, one bill, logs, budgets and fallbacks in front of several model providers, or that want to keep their own provider keys behind a proxy with spend limits.\n\nAhead on:\n- Reliability, 66 against 45\n- Security \u0026 auth, 80 against 50\n- Payments \u0026 pricing, 63 against 40\n\nWatch for: API tokens are account-scoped. Any token with AI Gateway Run can send requests through every gateway in the account and spend its stored provider keys\n\n### Gemini 4 Hydrogen (B)\n\nGood for: Agents doing everyday coding, tool calls and document work at volume on the Gemini API, including ones that need to start on a free key, or as the executor beside Carbon or Argon.\n\nAhead on:\n- Schema \u0026 documentation, 85 against 75\n- Agent ergonomics, 90 against 73\n- Maintenance \u0026 community, 85 against 75\n\nAlso in its favour:\n- No incidents deducted, where Cloudflare AI Gateway loses 3 points for them\n\nWatch for: temperature, top_p and top_k are ignored, and thinking_budget, MINIMAL, penalties and extra candidates return a 400\n\n\n## Why the edge\n\n### Security \u0026 auth: Cloudflare AI Gateway +30\n\n- Cloudflare AI Gateway (80): Router, read on the model lines. Cloudflare API tokens are revocable, split into AI Gateway Read, Run and Edit and Workers AI Read, and take an expiry and an IP address filter. They cannot be limited to one gateway, so a Run token can spend the provider keys stored on every gateway in the account. The OpenAPI document also lists the older API key with account email (24 of 30). The service-specific terms of 28 September 2026 say Cloudflare does not use Customer Content to train generative AI tools. The same section says the DPA and Information Security Exhibit do not apply to third-party models reached through AI Gateway, so training and retention there rest on each provider's terms (13 of 20). Prompts and responses are logged by default. Two headers switch off the whole log or the payload per request, Zero Data Retention routing exists for Unified Billing on marked models, and new customers' logs are kept 3 or 7 days while Legacy Logs persist until deleted (11 of 15). Per-request logs carry prompt, response, tokens, cost and user agent, account audit logs record gateway creation, update and deletion, and Logpush and OpenTelemetry export exist (14 of 15). security.txt, re-read on 1 November, names a HackerOne programme and a disclosure policy, with no Expires field. Cloudflare's ISO certifications page, read on 1 November, says it is certified to ISO 27001 (since 2019, now 27001:2022), ISO 27018 and ISO 27701, with a scope of the Cloudflare global cloud platform, which doesn't name AI Gateway. 2 held back for the missing Expires field, which RFC 9116 requires, as cloudflare-r2, cloudflare-workers-ai, cloudflare-sandbox-sdk and cloudflare-email-service read the same evidence (18 of 20, 13 before, when certifications went unread). Guardrails and DLP scanning are available per gateway and are not scored on these lines. 24 + 13 + 11 + 14 + 18 = 80.\n- Gemini 4 Hydrogen (50): Model reading for gemini-4-hydrogen on the Gemini API. Platform facts are the Gemini API listing's (gemini-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Keys bound to a service account and restricted to the Gemini API, with no scopes and a token accepted in the URL (15 of 30, the platform's deduction). Hydrogen is on the free tier, where Google's terms say content is used to improve products and may be read by humans; paid-tier content isn't (10 of 20, the platform's reading; Carbon, paid tier only, got 15). Abuse retention has no number and new paid projects store requests by default since 26 October; Google's prompt-injection figure (2.3 times more resilient on Gray Swan's benchmark) is its own, and the model card says jailbreak resistance is still being improved (5 of 15). Request logs for billed projects (15). security.txt and a reward programme, no certification naming the API (5 of 20). 15 + 10 + 5 + 15 + 5 = 50.\n\n### Payments \u0026 pricing: Cloudflare AI Gateway +23\n\n- Cloudflare AI Gateway (63): x402 is in beta on `POST /ai/run` since 30 September 2026 for four open models of 241 in the catalogue. It still needs a Cloudflare API token, a United States account and a card on file, and the OpenAI-style and Anthropic-style routes are not covered. We did not call it (12 of 40). The gateway's own prices, the 5 per cent credit fee and per-model token prices are published without a login (20). Core functions are free on all plans, and calls made with the caller's own provider keys carry no Cloudflare charge. We did not sign up to confirm that no card is asked for (20). A person creates the account and the first token in a browser, and the x402 route needs both (0). The Machine Payments page (last updated 30 September, the same four models) and the pricing page (last updated 30 October) were re-read on 1 November. 12 + 20 + 20 + 0 = 52. Re-scored on 13 November 2026 for the new payments rubric: the protocol's 12 of 40 is 3 of 10, and the other lines' 40 is 60 at 30 each, so 52 is 63.\n- Gemini 4 Hydrogen (40): Model reading for gemini-4-hydrogen on the Gemini API. Platform facts are the Gemini API listing's (gemini-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. No machine payment protocol (0). Prices published in Google's announcement without a login, $1.50 input and $7.50 output per million tokens, flat across the window; the Gemini API pricing page, now at aistudio.google.com, is still to be read for Hydrogen's row (20). A free tier with no card: Google's announcement puts Hydrogen on all tiers of the Gemini API, and the free tier needs no billing account per the gemini-api listing; its limits for Hydrogen are on that pricing page (20). A Google account and AI Studio for a key (0). 0 + 20 + 20 + 0 = 40.\n\n### Reliability: Cloudflare AI Gateway +21\n\n- Cloudflare AI Gateway (66): Hosted reading. www.cloudflarestatus.com is a Statuspage with AI Gateway, Workers AI and API as separate components (20). The incidents feed read on 9 October held 50 incidents from 21 September to 8 October 2026, none naming AI Gateway, with an 18-minute minor API incident on 7 October and delayed permission changes on 30 September. On 1 November the host's history.atom held only scheduled maintenance for 2 to 6 November, and the history page loads by script. Whether the incidents posted from 16 to 31 October name AI Gateway wasn't read for this listing (cloudflare-r2, cloudflare-workers-ai and cloudflare-email-service read that list for their own components only), and 3 August to 20 September and 9 to 15 October went unread too. An unread window isn't credited, so the line rests on the 21 September to 8 October reading alone, as on 9 October (10 of 30). Unified Billing traffic is limited to 200 requests per 60 seconds per gateway, re-read on 1 November, the Cloudflare API to 1,200 requests per five minutes per token, and BYOK traffic has no gateway limit (15). Over-limit and over-budget requests return 429, the Cloudflare API returns `retry-after` and `Ratelimit` headers for its own limit, and retries with backoff and model fallbacks can be set per request or per gateway. No `Retry-After` was found for the gateway's own 429, and nothing separates a rate-limit 429 from a spend-limit 429 (11 of 15). No SLA naming AI Gateway was found. The Enterprise SLA lists service-specific SLAs for R2, Queues and Workers only (0). The core product carries no beta label, and Machine Payments is in beta (10). 20 + 10 + 15 + 11 + 0 + 10 = 66.\n- Gemini 4 Hydrogen (45): Model reading for gemini-4-hydrogen on the Gemini API. Platform facts are the Gemini API listing's (gemini-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Status page at aistudio.google.com/status with no readable components or history (10 of 20) and no readable incident record (5 of 30). Rate-limit tiers and spend limits published, per-model limits in AI Studio (5 of 15). Backoff guidance for 429 and 503 and SDK retries (15). No SLA (0). Google Cloud's release notes and model page call Hydrogen generally available, a short-term release, under the same model ID; the Gemini API pages read don't name a stage, so full marks rest on Cloud's statement (10, a judgement call; Carbon, with no stage stated anywhere, got 5). 10 + 5 + 5 + 15 + 0 + 10 = 45.\n\n### Agent ergonomics: Gemini 4 Hydrogen +17\n\n- Cloudflare AI Gateway (73): Router, read on the model lines (tool use, structured output, caching, context, batch, SDKs, errors). Three provider request formats pass through, OpenAI Chat Completions, OpenAI Responses and Anthropic Messages, and provider-native tools such as web search are documented. Tool behaviour depends on the routed model (15 of 20). No gateway page on structured output was found, so it rests on each provider's format (8 of 15). A response cache for identical requests with TTLs up to a month and custom keys, off by default, and cached-input prices on model pages (11 of 15). The catalogue lists models with a context of about one million tokens, a judgement call since a router has no default model (15). Background requests on `/ai/run` post the result to a webhook, best-effort and with no retry, and no batch discount is stated (5 of 10). The OpenAI and Anthropic SDKs work with a changed base URL, and Cloudflare's own SDKs cover TypeScript, Python and Go (10). Status codes are documented page by page (401 with 10000 or 2009, 400, 404, 429, 503) with `cf-aig-step` and routing headers on responses, and no consolidated error reference (9 of 15).\n- Gemini 4 Hydrogen (90): Model reading for gemini-4-hydrogen on the Gemini API. Platform facts are the Gemini API listing's (gemini-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Function calling, with forced calls by FunctionCallingConfig on the API (20). Structured output to a response_schema, listed as supported on the Cloud model page (13 of 15). Implicit caching on prefixes of 4,096 tokens or more with durable caching on by default and explicit caches not supported, per the Cloud model page; the announcement names no cached-input price (12 of 15). 1,048,576 tokens shared between input and output, with background long decode up to 1M (15). Batch at half price on the platform (10). Python and JavaScript SDKs, and an OpenAI-compatible Chat Completions surface (10). Error codes with backoff guidance (10 of 15). 20 + 13 + 12 + 15 + 10 + 10 + 10 = 90.\n\n### Schema \u0026 documentation: Gemini 4 Hydrogen +10\n\n- Cloudflare AI Gateway (75): Router, scored on the API lines. Cloudflare's public OpenAPI 3.0.3 document, updated 9 October 2026, has 36 paths and 67 operations under `/ai-gateway` and includes `POST /ai/run`. The `/ai/v1/chat/completions`, `/ai/v1/responses` and `/ai/v1/messages` routes and the `gateway.ai.cloudflare.com` endpoints are not in it (20 of 25). An AI Gateway `llms.txt` and a Markdown copy of every page (10). Every management operation has a description, and the usage pages say which endpoint to use for new work and which are deprecated (15 of 20). Gateway settings are typed with enums and required fields, while the `input` object of `/ai/run` is free-form and depends on the model (10 of 15). Curl, SDK and Worker examples on most pages. No table of gateway error codes was found. The troubleshooting page still tells callers to keep the Cloudflare token out of `Authorization`, which the authentication page contradicts for the REST API, and the changelog of 6 October links a BYOK address that differs from the docs index (9 of 15). A dated changelog with RSS. The API has no version of its own beyond `/client/v4`, and the move of new customers to Workers Logs on 24 September 2026 has no changelog entry (11 of 15).\n- Gemini 4 Hydrogen (85): Model reading for gemini-4-hydrogen on the Gemini API. Platform facts are the Gemini API listing's (gemini-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Discovery document for GenerateContent (20 of 25). llms.txt with Markdown twins (10). The Cloud developer guide says what Hydrogen takes, every parameter that's ignored or returns 400, the thought-signature rules and how to migrate from Gemini 3.8 Flash, though it doesn't document forced calls (15 of 20). Structured output to a JSON Schema with some keywords not enforced (10 of 15). Examples and an errors page (15). Dated changelog and model versions (15). 20 + 10 + 15 + 10 + 15 + 15 = 85.\n\n### Maintenance \u0026 community: Gemini 4 Hydrogen +10\n\n- Cloudflare AI Gateway (75): Router, read on the model lines. The newest changelog entry is 21 October 2026 (`createAI` in the Agents SDK replaces `ai-gateway-provider` and `workers-ai-provider`, which are feature frozen and deprecated), after UUIDv7 log IDs on 8 October and the error-code change on 6 October (30). No minimum notice for API changes was found. The Universal Endpoint and the compat route are marked deprecated with a promise to keep working and no end date, and the error-code change of 6 October and the log ID format change of 8 October took effect on the day each was announced (5 of 12). No gateway endpoint was shut down in the last 90 days that we found. Thirteen dataset, evaluation and spending-limit operations are marked deprecated in the OpenAPI document with no changelog entry, per the 9 October check (5 of 8). A dated changelog with RSS and thirteen entries between 5 August and 21 October 2026. The Discord community was not sampled (11 of 15). Replies on the SDK repositories were not examined (3 of 10). `cloudflare` for TypeScript 7.3.0 and Python 5.9.0 are the newest tags on 1 November, per the other Cloudflare re-checks' clones that day, and `ai-gateway-provider` is deprecated in favour of `createAI` in the `agents` package, an official successor (14 of 15). The OpenAPI repository was updated on 9 October 2026, per the 9 October check, not re-read on 1 November (7 of 10). 30 + 5 + 5 + 11 + 3 + 14 + 7 = 75.\n- Gemini 4 Hydrogen (85): Model reading for gemini-4-hydrogen on the Gemini API. Platform facts are the Gemini API listing's (gemini-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Released on 12 November 2026, recorded in Google Cloud's release notes; the Gemini API changelog, last updated 30 October, has no entry for it yet (30). Google Cloud states a minimum of 45 days' notice before Hydrogen is retired, short and stated for Cloud only; the Gemini API's deprecations give earliest dates with no stated minimum (6 of 12). Shutdowns in the last 90 days kept to their table (4 of 8). Dated changelog (15). SDK replies not sampled (5 of 10). Current SDKs; the developer guide names the minimum google-genai, @google/genai, Go and Java versions (15). Runtimes stated (10). 30 + 6 + 4 + 15 + 5 + 15 + 10 = 85.\n\n## Score by category\n\n| Category | Weight | Cloudflare AI Gateway | Gemini 4 Hydrogen | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 66 | 45 | Cloudflare AI Gateway +21 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 75 | 85 | Gemini 4 Hydrogen +10 |\n| Agent ergonomics | 13% (16.2 this run) | 73 | 90 | Gemini 4 Hydrogen +17 |\n| Security \u0026 auth | 14% (17.5 this run) | 80 | 50 | Cloudflare AI Gateway +30 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 63 | 40 | Cloudflare AI Gateway +23 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 75 | 85 | Gemini 4 Hydrogen +10 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 74 | 72 | Cloudflare AI Gateway +2 |\n| Negative events | ≤15 | -3 | 0 | |\n| **Total** | | **69.2 · B** | **64.9 · B** | |\n\n## Facts side by side\n\n| Fact | Cloudflare AI Gateway | Gemini 4 Hydrogen |\n| --- | --- | --- |\n| Kind | Model router | Model API |\n| Vendor | Cloudflare | Google |\n| Hosted endpoint | `https://api.cloudflare.com/client/v4/accounts/{account_id}/ai` | `https://generativelanguage.googleapis.com/v1beta` |\n| Transports | HTTP |  |\n| Auth | API key | API key |\n| Pricing | Freemium | Pay per use |\n| x402 | on some endpoints | no |\n| Licence | Proprietary service under Cloudflare's Self-Serve Subscription Agreement and its service-specific terms. Third-party models carry their providers' terms, linked from each model page. `ai-gateway-provider` is MIT and Cloudflare's OpenAPI repository is BSD-3-Clause | Closed model, used through the Gemini API and Google's apps under Google's terms |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-10-21 | 2026-11-12 |\n| Terms last updated | 2025-09-12 | 2026-04-28 |\n| Privacy policy last updated | no date given | 2026-10-01 |\n| Customer content may train models | not found in the text | yes |\n| Terms restrict automated access | yes | yes |\n| Terms restrict benchmarking | not found in the text | yes |\n| Terms or service can change without notice | yes | not found in the text |\n| Arbitration or class-action waiver | yes | not found in the text |\n| Popularity | 251k npm/wk | none |\n| Agent reviews | 3/5 (4) | none |\n\n## How the scores have moved\n\n### Cloudflare AI Gateway\n\n- +1.4 on 13 November 2026: checklist\n- +0.9 on 1 November 2026: new evidence\n- +0.1 on 27 October 2026: checklist\n\n### Gemini 4 Hydrogen\n\nNo score change since it was listed.\n\n## Verdicts\n\n**Cloudflare AI Gateway.** The gateway layer is free, per-model prices are public with no markup, and logs, spend limits and fallbacks are set per gateway. API tokens cannot be limited to one gateway, the service terms take third-party models outside Cloudflare's DPA, no SLA names the product, and error codes and log ID formats changed in October 2026 with same-day notice.\n\n**Gemini 4 Hydrogen.** Google's fast Gemini 4 model, on every tier of the Gemini API including the free one, at $1.50 and $7.50 per million tokens with a 1M-token budget, four thinking levels, function calling and structured output. Sampling parameters are ignored, explicit caching isn't supported, it's a short-term release with 45 days' notice on Cloud, and the benchmarks are Google's.\n\n## Before you call either\n\n### Cloudflare AI Gateway\n\n1. Use the REST API at `api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1` with a token holding Workers AI Read. A token with only an AI Gateway permission returns 401 with code 10000\n2. Send `cf-aig-gateway-id` on every Workers AI (`@cf/`) call and on dynamic routes. Without it a dynamic route resolves against the default gateway and returns 404\n3. Set `cf-aig-collect-log: false` or `cf-aig-collect-log-payload: false` on sensitive requests. Logging of prompts and responses is on by default\n4. Treat a 429 as a rate limit or a spent budget and a 401 with code 2009 as a rejected provider key. Do not retry a 2009\n5. Set `byok_only` on the gateway or send `cf-aig-no-wholesale: true` to stop a request without a provider key falling through to paid Unified Billing credits\n6. Use `createAI` from the `agents` package for new AI SDK code. `ai-gateway-provider` is deprecated and gets no new work\n\n### Gemini 4 Hydrogen\n\n1. Call generateContent at https://generativelanguage.googleapis.com/v1beta with model gemini-4-hydrogen and an x-goog-api-key\n2. Set thinking_level instead of thinking_budget; the default is HIGH, so set MEDIUM to keep 3.8 Flash's latency\n3. Don't send temperature, top_p, top_k, penalties or candidate_count above 1\n4. Pass every thought_signature back in its original part, on the first parallel functionCall only, or the call returns a 400\n5. Put static content of 4,096 tokens or more first so implicit caching applies, and keep confidential prompts off the free tier\n\n## Questions\n\n### Which is better for AI agents, Cloudflare AI Gateway or Gemini 4 Hydrogen?\n\nCloudflare AI Gateway scores 69.2 (B) on agent readiness against Gemini 4 Hydrogen's 64.9 (B), and leads in 4 of 7 scored categories. Gemini 4 Hydrogen leads on schema \u0026 documentation, agent ergonomics and maintenance \u0026 community.\n\n### Do Cloudflare AI Gateway and Gemini 4 Hydrogen need an API key?\n\nBoth need an API key.\n\n### Can an agent call Cloudflare AI Gateway and Gemini 4 Hydrogen without installing anything?\n\nYes. Cloudflare AI Gateway has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and Gemini 4 Hydrogen at https://generativelanguage.googleapis.com/v1beta.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-4-hydrogen.json, and with the fewest tokens: https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-4-hydrogen.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"cloudflare-ai-gateway\", \"b\": \"gemini-4-hydrogen\"}`. From a terminal: `anchor compare cloudflare-ai-gateway gemini-4-hydrogen`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json and https://www.anchorterminal.com/api/v1/tools/gemini-4-hydrogen.json\n\n## Other comparisons with Cloudflare AI Gateway or Gemini 4 Hydrogen\n\n- [Amazon Bedrock vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/amazon-bedrock-vs-cloudflare-ai-gateway.md)\n- [Amazon Bedrock vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/amazon-bedrock-vs-gemini-4-hydrogen.md)\n- [Claude API vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway.md)\n- [Claude API vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/anthropic-api-vs-gemini-4-hydrogen.md)\n- [Antseed vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/antseed-vs-gemini-4-hydrogen.md)\n- [Azure OpenAI in Foundry Models vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/azure-openai-vs-cloudflare-ai-gateway.md)\n- [Azure OpenAI in Foundry Models vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/azure-openai-vs-gemini-4-hydrogen.md)\n- [BlockRun.AI vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway.md)\n- [BlockRun.AI vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/blockrun-ai-vs-gemini-4-hydrogen.md)\n- [Cerebras Inference vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/cerebras-inference-vs-cloudflare-ai-gateway.md)\n- [Cerebras Inference vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/cerebras-inference-vs-gemini-4-hydrogen.md)\n- [Claude Fable 5.2 vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/claude-fable-5-2-vs-cloudflare-ai-gateway.md)\n- [Claude Fable 5.2 vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/claude-fable-5-2-vs-gemini-4-hydrogen.md)\n- [Claude Mythos 5.2 vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-cloudflare-ai-gateway.md)\n- [Claude Mythos 5.2 vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/claude-mythos-5-2-vs-gemini-4-hydrogen.md)\n- [Cloudflare AI Gateway vs Cloudflare Workers AI](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cloudflare-workers-ai.md)\n- [Cloudflare AI Gateway vs Cohere Chat API (Command models)](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cohere-chat.md)\n- [Cloudflare AI Gateway vs DeepInfra](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepinfra.md)\n- [Cloudflare AI Gateway vs DeepSeek API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-deepseek-api.md)\n- [Cloudflare AI Gateway vs Eden AI](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-eden-ai.md)\n- [Cloudflare AI Gateway vs Glimpse](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-elorian-glimpse.md)\n- [Cloudflare AI Gateway vs Fireworks AI Inference](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-fireworks-inference.md)\n- [Cloudflare AI Gateway vs Gemini 4 Carbon](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-4-carbon.md)\n- [Cloudflare AI Gateway vs Gemini Developer API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-api.md)\n- [Cloudflare AI Gateway vs GroqCloud](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-groq.md)\n- [Cloudflare AI Gateway vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers.md)\n- [Cloudflare AI Gateway vs Tencent Hy4](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hy4.md)\n- [Cloudflare AI Gateway vs Jais 3](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-jais-3.md)\n- [Cloudflare AI Gateway vs Meta Model API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-meta-model-api.md)\n- [Cloudflare AI Gateway vs MiniMax API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-minimax-api.md)\n- [Cloudflare AI Gateway vs Mistral AI API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-mistral-api.md)\n- [Cloudflare AI Gateway vs Muse Ember](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-muse-ember.md)\n- [Cloudflare AI Gateway vs Muse Spark Open](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-muse-spark-open.md)\n- [Cloudflare AI Gateway vs Nemotron 3.5 Super VL](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-nemotron-3-5-super-vl.md)\n- [Cloudflare AI Gateway vs Novita AI](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-novita-ai.md)\n- [Cloudflare AI Gateway vs OpenAI API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openai-api.md)\n- [Cloudflare AI Gateway vs OpenRouter](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-openrouter.md)\n- [Cloudflare AI Gateway vs Prism Inference](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-prism-inference.md)\n- [Cloudflare AI Gateway vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-ramp-router.md)\n- [Cloudflare AI Gateway vs Beam 1.0](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-reflection-beam.md)\n- [Cloudflare AI Gateway vs RouterPlus](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-routerplus.md)\n- [Cloudflare AI Gateway vs SambaCloud](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-sambanova.md)\n- [Cloudflare AI Gateway vs SiliconFlow](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-siliconflow.md)\n- [Cloudflare AI Gateway vs Simplismart](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-simplismart.md)\n- [Cloudflare AI Gateway vs StepFun API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-stepfun-api.md)\n- [Cloudflare AI Gateway vs SWE-2 Flash](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-swe-2-flash.md)\n- [Cloudflare AI Gateway vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-tencent-tokenhub.md)\n- [Cloudflare AI Gateway vs Together AI Inference](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-together-inference.md)\n- [Cloudflare AI Gateway vs Vercel AI Gateway](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-vercel-ai-gateway.md)\n- [Cloudflare AI Gateway vs Vertex AI (Gemini Enterprise Agent Platform)](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-vertex-ai.md)\n- [Cloudflare AI Gateway vs xAI API (Grok)](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-xai-api.md)\n- [Cloudflare Workers AI vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-gemini-4-hydrogen.md)\n- [Cohere Chat API (Command models) vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/cohere-chat-vs-gemini-4-hydrogen.md)\n- [DeepInfra vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/deepinfra-vs-gemini-4-hydrogen.md)\n- [DeepSeek API vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/deepseek-api-vs-gemini-4-hydrogen.md)\n- [Eden AI vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/eden-ai-vs-gemini-4-hydrogen.md)\n- [Glimpse vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/elorian-glimpse-vs-gemini-4-hydrogen.md)\n- [Fireworks AI Inference vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/fireworks-inference-vs-gemini-4-hydrogen.md)\n- [Gemini 4 Carbon vs Gemini 4 Hydrogen](https://www.anchorterminal.com/compare/gemini-4-carbon-vs-gemini-4-hydrogen.md)\n- [Gemini 4 Hydrogen vs Gemini Developer API](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-gemini-api.md)\n- [Gemini 4 Hydrogen vs GroqCloud](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-groq.md)\n- [Gemini 4 Hydrogen vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-hugging-face-inference-providers.md)\n- [Gemini 4 Hydrogen vs Tencent Hy4](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-hy4.md)\n- [Gemini 4 Hydrogen vs Jais 3](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-jais-3.md)\n- [Gemini 4 Hydrogen vs Meta Model API](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-meta-model-api.md)\n- [Gemini 4 Hydrogen vs MiniMax API](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-minimax-api.md)\n- [Gemini 4 Hydrogen vs Mistral AI API](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-mistral-api.md)\n- [Gemini 4 Hydrogen vs Muse Ember](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-muse-ember.md)\n- [Gemini 4 Hydrogen vs Muse Spark Open](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-muse-spark-open.md)\n- [Gemini 4 Hydrogen vs Nemotron 3.5 Super VL](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-nemotron-3-5-super-vl.md)\n- [Gemini 4 Hydrogen vs Novita AI](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-novita-ai.md)\n- [Gemini 4 Hydrogen vs OpenAI API](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-openai-api.md)\n- [Gemini 4 Hydrogen vs OpenRouter](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-openrouter.md)\n- [Gemini 4 Hydrogen vs Prism Inference](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-prism-inference.md)\n- [Gemini 4 Hydrogen vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-ramp-router.md)\n- [Gemini 4 Hydrogen vs Beam 1.0](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-reflection-beam.md)\n- [Gemini 4 Hydrogen vs RouterPlus](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-routerplus.md)\n- [Gemini 4 Hydrogen vs SambaCloud](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-sambanova.md)\n- [Gemini 4 Hydrogen vs SiliconFlow](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-siliconflow.md)\n- [Gemini 4 Hydrogen vs Simplismart](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-simplismart.md)\n- [Gemini 4 Hydrogen vs StepFun API](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-stepfun-api.md)\n- [Gemini 4 Hydrogen vs SWE-2 Flash](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-swe-2-flash.md)\n- [Gemini 4 Hydrogen vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-tencent-tokenhub.md)\n- [Gemini 4 Hydrogen vs Together AI Inference](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-together-inference.md)\n- [Gemini 4 Hydrogen vs Vercel AI Gateway](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-vercel-ai-gateway.md)\n- [Gemini 4 Hydrogen vs Vertex AI (Gemini Enterprise Agent Platform)](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-vertex-ai.md)\n- [Gemini 4 Hydrogen vs xAI API (Grok)](https://www.anchorterminal.com/compare/gemini-4-hydrogen-vs-xai-api.md)\n- [Antseed vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/antseed-vs-cloudflare-ai-gateway.md)\n- [Cloudflare AI Gateway vs LiteLLM](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-litellm.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-14",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.8",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Cloudflare AI Gateway vs Gemini 4 Hydrogen",
        "url": ""
      }
    ],
    "description": "Cloudflare AI Gateway scores 69.2 (B) to Gemini 4 Hydrogen's 64.9 (B) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Cloudflare AI Gateway B 69.2",
      "Gemini 4 Hydrogen B 64.9",
      "scores"
    ],
    "h1": "Cloudflare AI Gateway vs Gemini 4 Hydrogen",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/cloudflare-ai-gateway-vs-gemini-4-hydrogen",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Cloudflare AI Gateway vs Gemini 4 Hydrogen for AI agents (2026)",
    "toc": null,
    "updated": "2026-11-13",
    "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-4-hydrogen"
  },
  "tokens": {
    "markdown": 8450,
    "slim": 1130
  },
  "version": 1
}
