{
  "data": {
    "a": {
      "slug": "cloudflare-ai-gateway",
      "name": "Cloudflare AI Gateway",
      "vendor": "Cloudflare, Inc.",
      "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": 67.8,
        "grade": "B",
        "agentReady": false,
        "rank": 300,
        "ranked": true,
        "rankOf": 1486,
        "categoryRank": 12,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 73,
          "maintenance": 75,
          "payments": 52,
          "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.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 67.8
          }
        ],
        "editorialScores": {
          "ergonomics": 73,
          "maintenance": 75,
          "payments": 52,
          "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-01",
          "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-07T18:20:17.774465869Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 163,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 43,
          "p95ms24h": 148,
          "samples24h": 239,
          "samples30d": 7205,
          "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": 187,
              "ok": 187
            }
          ]
        },
        "vendorStatus": {
          "page": "https://www.cloudflarestatus.com",
          "indicator": "major",
          "summary": "Partial System Outage",
          "checkedAt": "2026-11-07T18:20:41.845273095Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "cloudflare/ai",
            "version": "ai-gateway-provider@4.0.2",
            "released": "2026-10-20",
            "seenAt": "2026-11-06T23:15:38.559571341Z"
          },
          {
            "registry": "npm",
            "name": "ai-gateway-provider",
            "version": "4.0.2",
            "seenAt": "2026-11-06T23:15:36.263846681Z"
          },
          {
            "registry": "npm",
            "name": "cloudflare",
            "version": "7.3.0",
            "seenAt": "2026-11-06T23:15:36.494835591Z"
          },
          {
            "registry": "pypi",
            "name": "cloudflare",
            "version": "5.10.0",
            "released": "2026-11-05",
            "seenAt": "2026-11-06T23:15:38.451058045Z"
          }
        ],
        "githubStars": 1214,
        "npmWeekly": 232984,
        "pypiWeekly": 584250,
        "securityTxt": {
          "url": "https://cloudflare.com/.well-known/security.txt",
          "state": "valid",
          "checkedAt": "2026-11-07T16:00:23.467095484Z"
        },
        "llmsTxt": {
          "url": "https://developers.cloudflare.com/ai-gateway/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-07T15:31:51.067852107Z"
        },
        "domain": {
          "domain": "cloudflare.com",
          "registered": "2009-02-17",
          "source": "https://rdap.verisign.com/com/v1/domain/cloudflare.com",
          "checkedAt": "2026-11-01T14:18:56.122446983Z"
        },
        "pages": [
          {
            "url": "https://developers.cloudflare.com/ai-gateway/changelog/",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-07T14:03:42.700833734Z",
            "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-07T14:03:44.942884533Z",
            "changedAt": "2026-11-05T12:27:58.285650461Z",
            "fingerprint": "37ec41081ede"
          },
          {
            "url": "https://www.cloudflare.com/privacypolicy/",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-11-07T14:26:53.030074077Z",
            "changedAt": "2026-11-06T13:47:54.357995184Z",
            "fingerprint": "282aa4b71b3e"
          },
          {
            "url": "https://www.cloudflare.com/terms/",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-11-07T14:26:55.359645005Z",
            "changedAt": "2026-10-22T01:30:41.491480215Z",
            "fingerprint": "515e09b3c6ed"
          }
        ],
        "github": {
          "repo": "cloudflare/ai",
          "checkedAt": "2026-11-02T08:39:38.372041532Z",
          "stars": 1210,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-10-27T10:39:35Z",
          "openIssues": 63,
          "openPRs": 21,
          "issuesOpened90d": 21,
          "issuesClosed90d": 12,
          "prsMerged90d": 6,
          "ci": {
            "branch": "main",
            "runs": 50,
            "success": 49,
            "failure": 0,
            "other": 1,
            "latest": "success",
            "latestAt": "2026-10-27T10:42:34Z"
          },
          "advisories": [
            {
              "ghsa": "GHSA-v85r-hgf6-q875",
              "severity": "medium",
              "published": "2025-11-04T18:27:48Z"
            }
          ],
          "replies": {
            "sampled": 25,
            "unanswered": 14,
            "medianDays": 0.1
          }
        },
        "updatedAt": "2026-11-07T18:20:17.774465869Z"
      }
    },
    "answer": "Cloudflare AI Gateway scores 67.8 (B) on agent readiness against Hugging Face Inference Providers's 54 (C), and leads in 6 of 7 scored categories. Hugging Face Inference Providers leads on maintenance \u0026 community.",
    "b": {
      "slug": "hugging-face-inference-providers",
      "name": "Hugging Face Inference Providers",
      "vendor": "Hugging Face, Inc.",
      "vendorUrl": "https://huggingface.co",
      "kind": "router",
      "category": "inference",
      "summary": "Hugging Face's serverless router that sends model calls to partner inference providers such as Groq, Cerebras, Together and Fireworks through one Hugging Face token, with an OpenAI-compatible API at router.huggingface.co/v1 and Python and JavaScript clients.",
      "url": "https://www.anchorterminal.com/tools/hugging-face-inference-providers",
      "markdownUrl": "https://www.anchorterminal.com/tools/hugging-face-inference-providers.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/hugging-face-inference-providers.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/hugging-face-inference-providers.json",
      "dns": "hugging-face-inference-providers.grade.anchorterminal.com",
      "repo": "https://github.com/huggingface/huggingface_hub",
      "license": "Proprietary service under the Hugging Face Terms of Service, which name Inference Providers. The `huggingface_hub` Python client is Apache-2.0 and `@huggingface/inference` is MIT",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://router.huggingface.co/v1",
      "packages": [
        {
          "registry": "pypi",
          "name": "huggingface_hub"
        },
        {
          "registry": "npm",
          "name": "@huggingface/inference"
        }
      ],
      "auth": "api-key",
      "authNotes": "Hugging Face user access token sent as `Authorization: Bearer $HF_TOKEN`. The docs recommend a fine-grained token with only the `Make calls to Inference Providers` permission. Tokens are made in account settings in a browser, can be rotated and revoked, and a leaked token can be revoked by anyone through `POST /api/credentials/revoke`. A provider's own key can be stored in settings instead, and Hugging Face swaps it in when routing.",
      "pricing": "usage",
      "pricingNotes": "Pay as you go at each provider's own per-token rates with no Hugging Face markup, drawn from prepaid credits on the Hugging Face account. Free users get no included credits since 7 October 2026 and must buy credits. PRO users and Team or Enterprise seats get $2.00 a month of compute credits. Requests with a custom provider key are billed by the provider (https://huggingface.co/docs/inference-providers/pricing, checked 2026-11-06).",
      "priceSummary": "$2 / mo",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the Inference Providers docs, llms.txt or the router's model list. Calls draw on prepaid Hugging Face credits bought in the account's billing settings (checked 2026-11-06).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 483470,
        "pypiWeekly": 71518708,
        "asOf": "2026-11-06"
      },
      "docsUrl": "https://huggingface.co/docs/inference-providers/index",
      "llmsTxt": "https://huggingface.co/docs/inference-providers/llms.txt",
      "capabilities": [
        "inference.router",
        "inference.open-weights",
        "inference.llm"
      ],
      "tags": [
        "hosted",
        "router",
        "usage",
        "prepaid",
        "openai-compatible",
        "llms-txt",
        "python",
        "javascript",
        "status-page",
        "soc2"
      ],
      "lastRelease": "2026-10-29",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 54,
        "grade": "C",
        "agentReady": false,
        "rank": 920,
        "ranked": true,
        "rankOf": 1486,
        "categoryRank": 28,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 58,
          "maintenance": 80,
          "payments": 20,
          "reliability": 25,
          "schema": 62,
          "security": 79,
          "transparency": 71
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-06"
        },
        "negative": 0,
        "verdict": "One Hugging Face token reaches open models on 18 partner providers at the providers' own prices, with a public model list that shows each provider's price, context and tool support. Router rate limits, error responses and its own status component were not found in the reviewed documentation, and free accounts have had no included credits since 7 October 2026.",
        "bestFor": "Agents and developers who want open-weight models from several hosts on one token and one bill, with a public price and capability list per provider.",
        "strengths": [
          "router.huggingface.co/v1/models lists every routed model with each provider's price, context, tool support, latency and throughput, without a token",
          "Provider choice by suffix (`:fastest`, `:cheapest`, `:preferred` or a provider name) on an OpenAI-compatible endpoint",
          "Fine-grained tokens can be limited to the `Make calls to Inference Providers` permission and revoked at once",
          "No markup on provider rates, and request bodies and responses are not stored when routed",
          "Official clients in Python (`huggingface_hub` 2.4.0, 29 October 2026) and JavaScript (`@huggingface/inference` 4.13.32)"
        ],
        "weaknesses": [
          "No rate limits, 429 behaviour or error responses documented for the router",
          "status.huggingface.co has no component for Inference Providers or the router",
          "Free users have had no included credits since 7 October 2026, and buying credits needs a person in the account settings",
          "No OpenAPI document for the router, no batch API, and the Responses API is beta",
          "Data handling past the router depends on each provider's own policy"
        ],
        "agentNotes": [
          "Read https://router.huggingface.co/v1/models before choosing a provider; it shows price, context and `supports_tools` per provider",
          "Pin a provider with `model:\u003cprovider\u003e` when tool calling or structured output matters, since support varies by provider",
          "Use a fine-grained token with only the Inference Providers permission, and send `X-HF-Bill-To` to bill an organisation",
          "Back off on 429 without assuming a Retry-After header, since none is documented for the router"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "C",
            "methodology": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 54
          }
        ],
        "editorialScores": {
          "ergonomics": 58,
          "maintenance": 80,
          "payments": 20,
          "reliability": 25,
          "schema": 62,
          "security": 79,
          "transparency": 58
        },
        "provenanceScore": 84,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-06",
            "maintenance": "2026-11-06",
            "payments": "2026-11-06",
            "reliability": "2026-11-06",
            "schema": "2026-11-06",
            "security": "2026-11-06",
            "transparency": "2026-11-06"
          },
          "last": "2026-11-06",
          "oldest": "2026-11-06",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "pip install huggingface_hub   # or: pip install openai, with base_url https://router.huggingface.co/v1",
        "http": "curl https://router.huggingface.co/v1/chat/completions \\\n  -H \"Authorization: Bearer $HF_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"model\":\"openai/gpt-oss-120b:fastest\",\"messages\":[{\"role\":\"user\",\"content\":\"How many Gs in huggingface?\"}]}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.router",
        "tool": "https://letme.dev/hugging-face-inference-providers"
      },
      "sameCompany": [
        "hugging-face-inference-endpoints",
        "smolagents",
        "carbon-x",
        "smollm3-3b"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "openai/gpt-oss-120b input, cheapest provider listed (DeepInfra)",
          "unit": "1m-tokens",
          "usd": 0.037,
          "note": "Output $0.17. Groq lists $0.15/$0.75 and Cerebras $0.35/$0.75, per the router's model list of 6 November 2026"
        },
        {
          "item": "PRO monthly compute credits",
          "unit": "month",
          "usd": 2,
          "note": "Also $2.00 per seat for Team and Enterprise organisations"
        }
      ],
      "provenance": {
        "legalEntity": "Hugging Face, Inc.",
        "domain": "huggingface.co",
        "domainRegistered": "",
        "endpointOnVendorDomain": true,
        "terms": "https://huggingface.co/terms-of-service",
        "privacy": "https://huggingface.co/privacy",
        "statusPage": "https://status.huggingface.co",
        "changelog": "https://huggingface.co/changelog",
        "securityTxt": "valid",
        "checked": "2026-11-06",
        "notes": [
          "The Terms of Service (effective 15 September 2022) name Hugging Face, Inc. and define Inference Providers as a hosted service for running inference through an API on Hub models.",
          "huggingface.co/robots.txt and router.huggingface.co/robots.txt allow all. status.huggingface.co serves an empty robots.txt.",
          "status.huggingface.co is a Better Stack page with components for the Hub, git hosting, Inference Endpoints, Spaces, the CDNs and Jobs, and none for Inference Providers or the router.",
          "huggingface.co/changelog covers the whole Hub and had no Inference Providers entry on its first page on 6 November 2026. Dated changes to the docs are in the hub-docs repository's history.",
          "security.txt, privacy policy and subprocessor list as recorded on the Inference Endpoints listing (checked 8 October and 2 November 2026); not re-read for this listing."
        ],
        "score": 84
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/hugging-face-inference-providers.json",
      "live": {
        "slug": "hugging-face-inference-providers",
        "probe": {
          "target": "https://router.huggingface.co/v1",
          "method": "get",
          "lastAt": "2026-11-07T18:20:30.999057368Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 188,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 108,
          "p95ms24h": 196,
          "samples24h": 200,
          "samples30d": 200,
          "days": [
            {
              "date": "2026-11-06",
              "probes": 13,
              "ok": 13
            },
            {
              "date": "2026-11-07",
              "probes": 187,
              "ok": 187
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.huggingface.co",
          "indicator": "unknown",
          "summary": "no machine-readable status found",
          "checkedAt": "2026-11-07T04:47:55.542550557Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "huggingface/huggingface_hub",
            "version": "v2.4.0",
            "released": "2026-10-29",
            "seenAt": "2026-11-06T23:33:27.894225298Z"
          },
          {
            "registry": "npm",
            "name": "@huggingface/inference",
            "version": "4.13.32",
            "seenAt": "2026-11-06T23:33:27.102558197Z"
          },
          {
            "registry": "pypi",
            "name": "huggingface_hub",
            "version": "2.4.0",
            "released": "2026-10-29",
            "seenAt": "2026-11-06T23:33:26.910773744Z"
          }
        ],
        "githubStars": 4034,
        "npmWeekly": 483470,
        "pypiWeekly": 71518708,
        "securityTxt": {
          "url": "https://huggingface.co/.well-known/security.txt",
          "state": "valid",
          "expires": "2030-07-01T08:42:00.000Z",
          "checkedAt": "2026-11-07T16:00:00.493446773Z"
        },
        "llmsTxt": {
          "url": "https://huggingface.co/docs/inference-providers/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-07T15:32:44.910268229Z"
        },
        "pages": [
          {
            "url": "https://huggingface.co/docs/inference-providers/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-11-07T14:11:37.221950067Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "2cbe821ca9d2"
          }
        ],
        "updatedAt": "2026-11-07T18:20:30.999057368Z"
      }
    },
    "edges": [
      {
        "by": 41,
        "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": "Hosted lines. status.huggingface.co is a Better Stack page with 90-day component history for the Hub, Inference Endpoints, Spaces, the CDNs and Jobs, but no component for Inference Providers or the router (10 of 20). With no component, there is no readable incident history for the surface agents call, and the feed's 23 items from 10 June to 7 October 2026 don't name it (5). No rate limits for the router were found; the Hub rate-limits page gives numbers for Hub APIs, resolvers and pages only (0). No 429 or overload guidance for the router was found (0). No SLA found (0). Chat completions on the router is generally available; the Responses API is labelled beta (10). Routing between providers with `:fastest` or `:cheapest` softens a single provider's outage, which this checklist doesn't score."
        },
        "scores": {
          "a": 66,
          "b": 25
        }
      },
      {
        "by": 32,
        "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.",
          "b": "No x402, MPP or L402 (0). Per-token prices for every model and provider published without a login in the router's /v1/models and on model pages (20). No free tier since 7 October 2026, when free users lost their included monthly credits; PRO's $2.00 of credits needs a subscription (0). Sign-up, token creation and credit purchase are browser steps (0)."
        },
        "scores": {
          "a": 52,
          "b": 20
        }
      },
      {
        "by": 15,
        "category": "ergonomics",
        "leads": "cloudflare-ai-gateway",
        "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": "Router reading of the model checklist (tool use, structured output, caching, context, batch, SDKs, errors), as for openrouter. Tool calling through the OpenAI-compatible API with `tool_choice`, support flagged per provider in /v1/models (15 of 20). Structured output documented, support flagged per provider and false on some (10 of 15). No prompt caching guidance found, though the Enterprise usage API counts cached input tokens (3 of 15). Routes to models with up to 1,048,576 tokens of context per the model list, a judgement call since a router has no default model (15). No batch API (0 of 10). Official clients in Python and JavaScript, plus any OpenAI SDK (10). Errors not documented (5 of 15)."
        },
        "scores": {
          "a": 73,
          "b": 58
        }
      },
      {
        "by": 13,
        "category": "schema",
        "leads": "cloudflare-ai-gateway",
        "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": "No OpenAPI document for the router (openapi.json paths answer 404). The task reference pages are generated from typed JSON Schema specs in huggingface.js, and the router's /v1/models gives a machine-readable catalogue, so 12 of 25. llms.txt for the Inference Providers docs and a Markdown twin of every page via `.md` (10). Guides say what each task and policy is for, with a quick setup page for coding agents (14 of 20). Parameter tables with types for chat completion, though `response_format` and `tool_choice` show as unknown types (9 of 15). Examples in Python, JavaScript and curl on every task page, but no documented error responses for the router (9 of 15). No changelog of its own; the Hub changelog doesn't cover it and dated changes are only in the hub-docs history (8 of 15)."
        },
        "scores": {
          "a": 75,
          "b": 62
        }
      },
      {
        "by": 5,
        "category": "maintenance",
        "leads": "hugging-face-inference-providers",
        "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. huggingface_hub 2.4.0 tagged on 29 October 2026 and the Inference Providers docs updated daily by an automated job, last on 6 November (30). huggingface_hub 2.2.0, 2.3.0 and 2.4.0 and @huggingface/inference 4.13.28 to 4.13.32 in the 90 days (20). No dedicated changelog; the Hub has a forum and Discord, and GitHub issue replies were not read (8 of 15). Current official SDKs in Python and JavaScript (15). The Python client supports Python 3.10 and later, per the Inference Endpoints check; CI not read (7 of 10)."
        },
        "scores": {
          "a": 75,
          "b": 80
        }
      }
    ],
    "facts": [
      {
        "a": "Model router",
        "b": "Model router",
        "name": "Kind"
      },
      {
        "a": "Cloudflare, Inc.",
        "b": "Hugging Face, Inc.",
        "name": "Vendor"
      },
      {
        "a": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
        "b": "https://router.huggingface.co/v1",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Freemium",
        "b": "Pay per use",
        "name": "Pricing"
      },
      {
        "a": "payer tooling only",
        "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": "Proprietary service under the Hugging Face Terms of Service, which name Inference Providers. The `huggingface_hub` Python client is Apache-2.0 and `@huggingface/inference` is MIT",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-21",
        "b": "2026-10-29",
        "name": "Last release"
      },
      {
        "a": "2025-09-12",
        "b": "2022-09-15",
        "name": "Terms last updated"
      },
      {
        "a": "no date given",
        "b": "2023-03-28",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Customer content may train models"
      },
      {
        "a": "yes",
        "b": "not found in the text",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "yes",
        "b": "yes",
        "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": "483k npm/wk, 71.5M PyPI/wk",
        "name": "Popularity"
      },
      {
        "a": "3/5 (4)",
        "b": "none",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "Cloudflare AI Gateway scores 67.8 (B) on agent readiness against Hugging Face Inference Providers's 54 (C), and leads in 6 of 7 scored categories. Hugging Face Inference Providers leads on maintenance \u0026 community.",
        "question": "Which is better for AI agents, Cloudflare AI Gateway or Hugging Face Inference Providers?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do Cloudflare AI Gateway and Hugging Face Inference Providers 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 Hugging Face Inference Providers at https://router.huggingface.co/v1.",
        "question": "Can an agent call Cloudflare AI Gateway and Hugging Face Inference Providers without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 66 against 25",
          "Schema \u0026 documentation, 75 against 62",
          "Agent ergonomics, 73 against 58",
          "Payments \u0026 pricing, 52 against 20"
        ],
        "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": [
          "Maintenance \u0026 community, 80 against 75"
        ],
        "also": [
          "No incidents deducted, where Cloudflare AI Gateway loses 3 points for them"
        ],
        "goodFor": "Agents and developers who want open-weight models from several hosts on one token and one bill, with a public price and capability list per provider.",
        "slug": "hugging-face-inference-providers",
        "watchFor": "No rate limits, 429 behaviour or error responses documented for the router"
      }
    ],
    "history": {
      "cloudflare-ai-gateway": [
        {
          "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"
        }
      ],
      "hugging-face-inference-providers": 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-hugging-face-inference-providers.json",
        "title": "Amazon Bedrock vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-hugging-face-inference-providers"
      },
      {
        "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-hugging-face-inference-providers.json",
        "title": "Claude API vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-hugging-face-inference-providers"
      },
      {
        "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-hugging-face-inference-providers.json",
        "title": "Azure OpenAI in Foundry Models vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/azure-openai-vs-hugging-face-inference-providers"
      },
      {
        "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-hugging-face-inference-providers.json",
        "title": "BlockRun.AI vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-hugging-face-inference-providers"
      },
      {
        "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-hugging-face-inference-providers.json",
        "title": "Cerebras Inference vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-hugging-face-inference-providers"
      },
      {
        "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-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-inkling-2-small.json",
        "title": "Cloudflare AI Gateway vs Inkling 2 Small",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-inkling-2-small"
      },
      {
        "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-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-hugging-face-inference-providers.json",
        "title": "Cloudflare Workers AI vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-hugging-face-inference-providers.json",
        "title": "Cohere Chat API (Command models) vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-hugging-face-inference-providers.json",
        "title": "DeepInfra vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-hugging-face-inference-providers.json",
        "title": "DeepSeek API vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-hugging-face-inference-providers.json",
        "title": "Glimpse vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/fireworks-inference-vs-hugging-face-inference-providers.json",
        "title": "Fireworks AI Inference vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/fireworks-inference-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-hugging-face-inference-providers.json",
        "title": "Gemini Developer API vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/groq-vs-hugging-face-inference-providers.json",
        "title": "GroqCloud vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/groq-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-inkling-2-small.json",
        "title": "Hugging Face Inference Providers vs Inkling 2 Small",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-inkling-2-small"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-jais-3.json",
        "title": "Hugging Face Inference Providers vs Jais 3",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-jais-3"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-meta-model-api.json",
        "title": "Hugging Face Inference Providers vs Meta Model API",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-meta-model-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-minimax-api.json",
        "title": "Hugging Face Inference Providers vs MiniMax API",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-minimax-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-mistral-api.json",
        "title": "Hugging Face Inference Providers vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-muse-spark-open.json",
        "title": "Hugging Face Inference Providers vs Muse Spark Open",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-muse-spark-open"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-novita-ai.json",
        "title": "Hugging Face Inference Providers vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-openai-api.json",
        "title": "Hugging Face Inference Providers vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-reflection-beam.json",
        "title": "Hugging Face Inference Providers vs Beam 1.0",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-reflection-beam"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-sambanova.json",
        "title": "Hugging Face Inference Providers vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-siliconflow.json",
        "title": "Hugging Face Inference Providers vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-simplismart.json",
        "title": "Hugging Face Inference Providers vs Simplismart",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-simplismart"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-stepfun-api.json",
        "title": "Hugging Face Inference Providers vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-swe-2-flash.json",
        "title": "Hugging Face Inference Providers vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-together-inference.json",
        "title": "Hugging Face Inference Providers vs Together AI Inference",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-together-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-vertex-ai.json",
        "title": "Hugging Face Inference Providers vs Vertex AI (Gemini Enterprise Agent Platform)",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-vertex-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-xai-api.json",
        "title": "Hugging Face Inference Providers vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-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/antseed-vs-hugging-face-inference-providers.json",
        "title": "Antseed vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-hugging-face-inference-providers"
      },
      {
        "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"
      },
      {
        "json": "https://www.anchorterminal.com/compare/eden-ai-vs-hugging-face-inference-providers.json",
        "title": "Eden AI vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/eden-ai-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-litellm.json",
        "title": "Hugging Face Inference Providers vs LiteLLM",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-litellm"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-openrouter.json",
        "title": "Hugging Face Inference Providers vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-ramp-router.json",
        "title": "Hugging Face Inference Providers vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-routerplus.json",
        "title": "Hugging Face Inference Providers vs RouterPlus",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-routerplus"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-tencent-tokenhub.json",
        "title": "Hugging Face Inference Providers vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-vercel-ai-gateway.json",
        "title": "Hugging Face Inference Providers vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-nemotron-3-5-super-vl.json",
        "title": "Hugging Face Inference Providers vs Nemotron 3.5 Super VL",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-nemotron-3-5-super-vl"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-prism-inference.json",
        "title": "Hugging Face Inference Providers vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-prism-inference"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 41,
        "cloudflare-ai-gateway": 66,
        "edge": "cloudflare-ai-gateway",
        "hugging-face-inference-providers": 25,
        "key": "reliability",
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 13,
        "cloudflare-ai-gateway": 75,
        "edge": "cloudflare-ai-gateway",
        "hugging-face-inference-providers": 62,
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 15,
        "cloudflare-ai-gateway": 73,
        "edge": "cloudflare-ai-gateway",
        "hugging-face-inference-providers": 58,
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 1,
        "cloudflare-ai-gateway": 80,
        "edge": "cloudflare-ai-gateway",
        "hugging-face-inference-providers": 79,
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 32,
        "cloudflare-ai-gateway": 52,
        "edge": "cloudflare-ai-gateway",
        "hugging-face-inference-providers": 20,
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 5,
        "cloudflare-ai-gateway": 75,
        "edge": "hugging-face-inference-providers",
        "hugging-face-inference-providers": 80,
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 3,
        "cloudflare-ai-gateway": 74,
        "edge": "cloudflare-ai-gateway",
        "hugging-face-inference-providers": 71,
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "Cloudflare AI Gateway scores 67.8 (B) on agent readiness against Hugging Face Inference Providers's 54 (C), and leads in 6 of 7 scored categories. Hugging Face Inference Providers leads on 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.",
      "hugging-face-inference-providers": "One Hugging Face token reaches open models on 18 partner providers at the providers' own prices, with a public model list that shows each provider's price, context and tool support. Router rate limits, error responses and its own status component were not found in the reviewed documentation, and free accounts have had no included credits since 7 October 2026."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers",
    "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers.min.md"
  },
  "markdown": "Cloudflare AI Gateway scores 67.8 (B) on agent readiness against Hugging Face Inference Providers's 54 (C), and leads in 6 of 7 scored categories. Hugging Face Inference Providers leads on maintenance \u0026 community. Both do llm inference.\n\n- Cloudflare AI Gateway: grade B, 67.8/100, rank #300 of 1486. Markdown https://www.anchorterminal.com/tools/cloudflare-ai-gateway.md · JSON https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json\n- Hugging Face Inference Providers: grade C, 54/100, rank #920 of 1486. Markdown https://www.anchorterminal.com/tools/hugging-face-inference-providers.md · JSON https://www.anchorterminal.com/api/v1/tools/hugging-face-inference-providers.json\n- Best model APIs and inference for AI agents: https://www.anchorterminal.com/best/inference/index.md\n- All 830 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 25\n- Schema \u0026 documentation, 75 against 62\n- Agent ergonomics, 73 against 58\n- Payments \u0026 pricing, 52 against 20\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### Hugging Face Inference Providers (C)\n\nGood for: Agents and developers who want open-weight models from several hosts on one token and one bill, with a public price and capability list per provider.\n\nAhead on:\n- Maintenance \u0026 community, 80 against 75\n\nAlso in its favour:\n- No incidents deducted, where Cloudflare AI Gateway loses 3 points for them\n\nWatch for: No rate limits, 429 behaviour or error responses documented for the router\n\n\n## Why the edge\n\n### Reliability: Cloudflare AI Gateway +41\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- Hugging Face Inference Providers (25): Hosted lines. status.huggingface.co is a Better Stack page with 90-day component history for the Hub, Inference Endpoints, Spaces, the CDNs and Jobs, but no component for Inference Providers or the router (10 of 20). With no component, there is no readable incident history for the surface agents call, and the feed's 23 items from 10 June to 7 October 2026 don't name it (5). No rate limits for the router were found; the Hub rate-limits page gives numbers for Hub APIs, resolvers and pages only (0). No 429 or overload guidance for the router was found (0). No SLA found (0). Chat completions on the router is generally available; the Responses API is labelled beta (10). Routing between providers with `:fastest` or `:cheapest` softens a single provider's outage, which this checklist doesn't score.\n\n### Payments \u0026 pricing: Cloudflare AI Gateway +32\n\n- Cloudflare AI Gateway (52): 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.\n- Hugging Face Inference Providers (20): No x402, MPP or L402 (0). Per-token prices for every model and provider published without a login in the router's /v1/models and on model pages (20). No free tier since 7 October 2026, when free users lost their included monthly credits; PRO's $2.00 of credits needs a subscription (0). Sign-up, token creation and credit purchase are browser steps (0).\n\n### Agent ergonomics: Cloudflare AI Gateway +15\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- Hugging Face Inference Providers (58): Router reading of the model checklist (tool use, structured output, caching, context, batch, SDKs, errors), as for openrouter. Tool calling through the OpenAI-compatible API with `tool_choice`, support flagged per provider in /v1/models (15 of 20). Structured output documented, support flagged per provider and false on some (10 of 15). No prompt caching guidance found, though the Enterprise usage API counts cached input tokens (3 of 15). Routes to models with up to 1,048,576 tokens of context per the model list, a judgement call since a router has no default model (15). No batch API (0 of 10). Official clients in Python and JavaScript, plus any OpenAI SDK (10). Errors not documented (5 of 15).\n\n### Schema \u0026 documentation: Cloudflare AI Gateway +13\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- Hugging Face Inference Providers (62): No OpenAPI document for the router (openapi.json paths answer 404). The task reference pages are generated from typed JSON Schema specs in huggingface.js, and the router's /v1/models gives a machine-readable catalogue, so 12 of 25. llms.txt for the Inference Providers docs and a Markdown twin of every page via `.md` (10). Guides say what each task and policy is for, with a quick setup page for coding agents (14 of 20). Parameter tables with types for chat completion, though `response_format` and `tool_choice` show as unknown types (9 of 15). Examples in Python, JavaScript and curl on every task page, but no documented error responses for the router (9 of 15). No changelog of its own; the Hub changelog doesn't cover it and dated changes are only in the hub-docs history (8 of 15).\n\n### Maintenance \u0026 community: Hugging Face Inference Providers +5\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- Hugging Face Inference Providers (80): Model reading. huggingface_hub 2.4.0 tagged on 29 October 2026 and the Inference Providers docs updated daily by an automated job, last on 6 November (30). huggingface_hub 2.2.0, 2.3.0 and 2.4.0 and @huggingface/inference 4.13.28 to 4.13.32 in the 90 days (20). No dedicated changelog; the Hub has a forum and Discord, and GitHub issue replies were not read (8 of 15). Current official SDKs in Python and JavaScript (15). The Python client supports Python 3.10 and later, per the Inference Endpoints check; CI not read (7 of 10).\n\n## Score by category\n\n| Category | Weight | Cloudflare AI Gateway | Hugging Face Inference Providers | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 66 | 25 | Cloudflare AI Gateway +41 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 75 | 62 | Cloudflare AI Gateway +13 |\n| Agent ergonomics | 13% (16.2 this run) | 73 | 58 | Cloudflare AI Gateway +15 |\n| Security \u0026 auth | 14% (17.5 this run) | 80 | 79 | Cloudflare AI Gateway +1 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 52 | 20 | Cloudflare AI Gateway +32 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 75 | 80 | Hugging Face Inference Providers +5 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 74 | 71 | Cloudflare AI Gateway +3 |\n| Negative events | ≤15 | -3 | 0 | |\n| **Total** | | **67.8 · B** | **54 · C** | |\n\n## Facts side by side\n\n| Fact | Cloudflare AI Gateway | Hugging Face Inference Providers |\n| --- | --- | --- |\n| Kind | Model router | Model router |\n| Vendor | Cloudflare, Inc. | Hugging Face, Inc. |\n| Hosted endpoint | `https://api.cloudflare.com/client/v4/accounts/{account_id}/ai` | `https://router.huggingface.co/v1` |\n| Transports | HTTP | HTTP |\n| Auth | API key | API key |\n| Pricing | Freemium | Pay per use |\n| x402 | payer tooling only | 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 | Proprietary service under the Hugging Face Terms of Service, which name Inference Providers. The `huggingface_hub` Python client is Apache-2.0 and `@huggingface/inference` is MIT |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-10-21 | 2026-10-29 |\n| Terms last updated | 2025-09-12 | 2022-09-15 |\n| Privacy policy last updated | no date given | 2023-03-28 |\n| Customer content may train models | not found in the text | not found in the text |\n| Terms restrict automated access | yes | not found in the text |\n| Terms restrict benchmarking | not found in the text | not found in the text |\n| Terms or service can change without notice | yes | yes |\n| Arbitration or class-action waiver | yes | not found in the text |\n| Popularity | 251k npm/wk | 483k npm/wk, 71.5M PyPI/wk |\n| Agent reviews | 3/5 (4) | none |\n\n## How the scores have moved\n\n### Cloudflare AI Gateway\n\n- +0.9 on 1 November 2026: new evidence\n- +0.1 on 27 October 2026: checklist\n\n### Hugging Face Inference Providers\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**Hugging Face Inference Providers.** One Hugging Face token reaches open models on 18 partner providers at the providers' own prices, with a public model list that shows each provider's price, context and tool support. Router rate limits, error responses and its own status component were not found in the reviewed documentation, and free accounts have had no included credits since 7 October 2026.\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### Hugging Face Inference Providers\n\n1. Read https://router.huggingface.co/v1/models before choosing a provider; it shows price, context and `supports_tools` per provider\n2. Pin a provider with `model:\u003cprovider\u003e` when tool calling or structured output matters, since support varies by provider\n3. Use a fine-grained token with only the Inference Providers permission, and send `X-HF-Bill-To` to bill an organisation\n4. Back off on 429 without assuming a Retry-After header, since none is documented for the router\n\n## Questions\n\n### Which is better for AI agents, Cloudflare AI Gateway or Hugging Face Inference Providers?\n\nCloudflare AI Gateway scores 67.8 (B) on agent readiness against Hugging Face Inference Providers's 54 (C), and leads in 6 of 7 scored categories. Hugging Face Inference Providers leads on maintenance \u0026 community.\n\n### Do Cloudflare AI Gateway and Hugging Face Inference Providers need an API key?\n\nBoth need an API key.\n\n### Can an agent call Cloudflare AI Gateway and Hugging Face Inference Providers without installing anything?\n\nYes. Cloudflare AI Gateway has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and Hugging Face Inference Providers at https://router.huggingface.co/v1.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers.json, and with the fewest tokens: https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"cloudflare-ai-gateway\", \"b\": \"hugging-face-inference-providers\"}`. From a terminal: `anchor compare cloudflare-ai-gateway hugging-face-inference-providers`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-gateway.json and https://www.anchorterminal.com/api/v1/tools/hugging-face-inference-providers.json\n\n## Other comparisons with Cloudflare AI Gateway or Hugging Face Inference Providers\n\n- [Amazon Bedrock vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/amazon-bedrock-vs-cloudflare-ai-gateway.md)\n- [Amazon Bedrock vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/amazon-bedrock-vs-hugging-face-inference-providers.md)\n- [Claude API vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway.md)\n- [Claude API vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/anthropic-api-vs-hugging-face-inference-providers.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 Hugging Face Inference Providers](https://www.anchorterminal.com/compare/azure-openai-vs-hugging-face-inference-providers.md)\n- [BlockRun.AI vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-ai-gateway.md)\n- [BlockRun.AI vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/blockrun-ai-vs-hugging-face-inference-providers.md)\n- [Cerebras Inference vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/cerebras-inference-vs-cloudflare-ai-gateway.md)\n- [Cerebras Inference vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/cerebras-inference-vs-hugging-face-inference-providers.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 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 Inkling 2 Small](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-inkling-2-small.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 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 Hugging Face Inference Providers](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-hugging-face-inference-providers.md)\n- [Cohere Chat API (Command models) vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/cohere-chat-vs-hugging-face-inference-providers.md)\n- [DeepInfra vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/deepinfra-vs-hugging-face-inference-providers.md)\n- [DeepSeek API vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/deepseek-api-vs-hugging-face-inference-providers.md)\n- [Glimpse vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/elorian-glimpse-vs-hugging-face-inference-providers.md)\n- [Fireworks AI Inference vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/fireworks-inference-vs-hugging-face-inference-providers.md)\n- [Gemini Developer API vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/gemini-api-vs-hugging-face-inference-providers.md)\n- [GroqCloud vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/groq-vs-hugging-face-inference-providers.md)\n- [Hugging Face Inference Providers vs Inkling 2 Small](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-inkling-2-small.md)\n- [Hugging Face Inference Providers vs Jais 3](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-jais-3.md)\n- [Hugging Face Inference Providers vs Meta Model API](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-meta-model-api.md)\n- [Hugging Face Inference Providers vs MiniMax API](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-minimax-api.md)\n- [Hugging Face Inference Providers vs Mistral AI API](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-mistral-api.md)\n- [Hugging Face Inference Providers vs Muse Spark Open](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-muse-spark-open.md)\n- [Hugging Face Inference Providers vs Novita AI](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-novita-ai.md)\n- [Hugging Face Inference Providers vs OpenAI API](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-openai-api.md)\n- [Hugging Face Inference Providers vs Beam 1.0](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-reflection-beam.md)\n- [Hugging Face Inference Providers vs SambaCloud](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-sambanova.md)\n- [Hugging Face Inference Providers vs SiliconFlow](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-siliconflow.md)\n- [Hugging Face Inference Providers vs Simplismart](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-simplismart.md)\n- [Hugging Face Inference Providers vs StepFun API](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-stepfun-api.md)\n- [Hugging Face Inference Providers vs SWE-2 Flash](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-swe-2-flash.md)\n- [Hugging Face Inference Providers vs Together AI Inference](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-together-inference.md)\n- [Hugging Face Inference Providers vs Vertex AI (Gemini Enterprise Agent Platform)](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-vertex-ai.md)\n- [Hugging Face Inference Providers vs xAI API (Grok)](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-xai-api.md)\n- [Antseed vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/antseed-vs-cloudflare-ai-gateway.md)\n- [Antseed vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/antseed-vs-hugging-face-inference-providers.md)\n- [Cloudflare AI Gateway vs LiteLLM](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-litellm.md)\n- [Eden AI vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/eden-ai-vs-hugging-face-inference-providers.md)\n- [Hugging Face Inference Providers vs LiteLLM](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-litellm.md)\n- [Hugging Face Inference Providers vs OpenRouter](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-openrouter.md)\n- [Hugging Face Inference Providers vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-ramp-router.md)\n- [Hugging Face Inference Providers vs RouterPlus](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-routerplus.md)\n- [Hugging Face Inference Providers vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-tencent-tokenhub.md)\n- [Hugging Face Inference Providers vs Vercel AI Gateway](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-vercel-ai-gateway.md)\n- [Hugging Face Inference Providers vs Nemotron 3.5 Super VL](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-nemotron-3-5-super-vl.md)\n- [Hugging Face Inference Providers vs Prism Inference](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-prism-inference.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-07",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.7",
    "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 Hugging Face Inference Providers",
        "url": ""
      }
    ],
    "description": "Cloudflare AI Gateway scores 67.8 (B) to Hugging Face Inference Providers's 54 (C) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Cloudflare AI Gateway B 67.8",
      "Hugging Face Inference Providers C 54",
      "scores"
    ],
    "h1": "Cloudflare AI Gateway vs Hugging Face Inference Providers",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Cloudflare AI Gateway vs Hugging Face Inference Providers (2026)",
    "toc": null,
    "updated": "2026-11-07",
    "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers"
  },
  "tokens": {
    "markdown": 7550,
    "slim": 3330
  },
  "version": 1
}
