{
  "data": {
    "a": {
      "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"
      }
    },
    "answer": "Vercel AI Gateway scores 67.8 (B) on agent readiness against Hugging Face Inference Providers's 54 (C), and leads in 3 of 7 scored categories.",
    "b": {
      "slug": "vercel-ai-gateway",
      "name": "Vercel AI Gateway",
      "vendor": "Vercel Inc.",
      "vendorUrl": "https://vercel.com",
      "kind": "router",
      "category": "inference",
      "summary": "Vercel AI Gateway is a hosted router for model APIs. One API key or Vercel OIDC token reaches models from OpenAI, Anthropic, Google and others through OpenAI-compatible, Anthropic-compatible and AI SDK interfaces, with budgets, request logs and provider failover.",
      "url": "https://www.anchorterminal.com/tools/vercel-ai-gateway",
      "markdownUrl": "https://www.anchorterminal.com/tools/vercel-ai-gateway.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/vercel-ai-gateway.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/vercel-ai-gateway.json",
      "dns": "vercel-ai-gateway.grade.anchorterminal.com",
      "repo": "https://github.com/vercel/ai",
      "license": "Proprietary service under Vercel's Terms of Service and AI Product Terms, with Token Pass terms on its docs page. Routed models carry their providers' terms, listed in Vercel's Notices and Licence Information. The `@ai-sdk/gateway` provider is Apache-2.0",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://ai-gateway.vercel.sh/v1",
      "packages": [
        {
          "registry": "npm",
          "name": "@ai-sdk/gateway"
        },
        {
          "registry": "npm",
          "name": "ai"
        },
        {
          "registry": "pypi",
          "name": "ai"
        }
      ],
      "auth": "mixed",
      "authNotes": "An AI Gateway API key as a Bearer token from any environment, or a Vercel OIDC token on Vercel deployments (12 hours locally, refreshed with `vercel env pull`). Keys belong to a team, can be limited to one project and given an expiry and a budget, and are created in the dashboard, with the Vercel CLI or by `POST /v1/api-keys` with a Vercel access token. A person creates the Vercel account in a browser. Token Pass needs its own Token Pass API key, and OIDC tokens cannot spend Token Pass credit.",
      "pricing": "usage",
      "pricingNotes": "Prepaid AI Gateway Credits at each provider's list price, with no markup or platform fee, including BYOK. A monthly free credit covers a subset of models and needs a valid payment method on the team. Credits expire a year after purchase. Add-ons are billed separately, and Token Pass is $30 a team a month on Pro for $80 of credit on two models, in early access (https://vercel.com/docs/ai-gateway/pricing, https://vercel.com/docs/ai-gateway/token-pass, checked 2026-10-17).",
      "priceSummary": "$30 / mo",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the AI Gateway docs, the pricing page, the Token Pass pages or the AI Gateway entries of the changelog sitemap. Payment is by prepaid credits bought with a card, or by invoice on Enterprise (checked 2026-10-17).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 29597661,
        "pypiWeekly": null,
        "asOf": "2026-10-17"
      },
      "docsUrl": "https://vercel.com/docs/ai-gateway",
      "llmsTxt": "https://vercel.com/llms.txt",
      "openapi": "https://vercel.com/openapi.json",
      "capabilities": [
        "inference.router",
        "inference.llm",
        "inference.fast",
        "inference.decision",
        "obs.gateway",
        "obs.traces",
        "embed.text",
        "image.generate",
        "video.generate"
      ],
      "tags": [
        "hosted",
        "router",
        "usage-based",
        "prepaid",
        "free-tier",
        "openai-compatible",
        "anthropic-compatible",
        "llms-txt",
        "openapi",
        "typescript",
        "python",
        "oidc",
        "cli",
        "early-access",
        "status-page",
        "bug-bounty",
        "soc2",
        "iso27001"
      ],
      "lastRelease": "2026-10-30",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 67.8,
        "grade": "B",
        "agentReady": false,
        "rank": 302,
        "ranked": true,
        "rankOf": 1486,
        "categoryRank": 14,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 83,
          "maintenance": 79,
          "payments": 20,
          "reliability": 79,
          "schema": 74,
          "security": 79,
          "transparency": 71
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-01"
        },
        "negative": -3,
        "negativeNotes": [
          "April 2026. Vercel's security bulletin says an attacker took over an employee's account through a compromised third-party AI tool, reached internal systems and decrypted non-sensitive environment variables of a limited subset of customers. AI Gateway was generally available then, and its docs have deployments keep AI Gateway and Token Pass API keys as environment variables. The bulletin documents remediation and marks the incident closed on 16 October 2026, so 3 of a possible 15 is taken, as for vercel-connect (https://vercel.com/kb/bulletin/vercel-april-2026-security-incident)."
        ],
        "verdict": "Token prices pass through with no markup, prompts are not stored by the gateway, and budgets, provider failover and per-request logs are built in. The free monthly credit needs a card on file, rate limits are not published as numbers, no SLA covers the API, and the contractual promise not to train on content applies to Enterprise subscriptions only.",
        "bestFor": "Teams that want one key, one bill, budgets and failover in front of many model providers, especially on Vercel with OIDC.",
        "strengths": [
          "Token prices are each provider's list price with no markup or platform fee, including requests made with the customer's own provider keys",
          "The model list at `GET /v1/models` needs no key and gives prices, context windows, supported parameters and ZDR and no-training flags for 498 models",
          "Budgets per team, project, API key or team member reject spend with a 402, distinct from a 429 rate limit",
          "The gateway logs request metadata only. Prompt and response content is deleted when the request completes, per the FAQ and the ZDR page",
          "Failed provider attempts are retried on a model's other providers, and every routing attempt appears in the request logs"
        ],
        "weaknesses": [
          "The free monthly credit needs a valid payment method on the team, and its amount is not stated in the reviewed docs",
          "No rate-limit numbers are published, and the Enterprise SLA excludes the APIs, so the inference API carries no uptime commitment",
          "The contractual promise not to train on AI Gateway content covers Enterprise subscriptions only. Provider no-training and ZDR filters are opt-in per request",
          "A failed BYOK request falls back to Vercel's credentials and is billed to credits, and the no-training filter is not applied to BYOK",
          "Token Pass is early access for Pro teams only, covers two models, has no failover and fails with a 403 once the $80 credit is spent"
        ],
        "agentNotes": [
          "Read `GET https://ai-gateway.vercel.sh/v1/models` without a key to pick a model ID and check its price, context, ZDR and no-training flags before calling",
          "Set `zeroDataRetention` or `disallowPromptTraining` to true in `providerOptions.gateway` on sensitive requests. Default routing ignores provider retention and training policies",
          "Treat a 429 as retryable and honour `retry-after` when present. A 402 with `quota_for_entity_exceeded` is a spent budget, so do not retry it",
          "On a Token Pass key, a 403 with `no_providers_available` means spent credit or a model outside the pass. Retry with a standard AI Gateway key, which bills credits",
          "Set `inferenceRegion` when data residency matters. The default `global` may run inference outside the user's jurisdiction"
        ],
        "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": 83,
          "maintenance": 79,
          "payments": 20,
          "reliability": 79,
          "schema": 74,
          "security": 79,
          "transparency": 55
        },
        "provenanceScore": 86,
        "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": {
        "install": "pnpm add ai@latest",
        "http": "curl https://ai-gateway.vercel.sh/v1/chat/completions \\\n  -H \"Authorization: Bearer $AI_GATEWAY_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"model\": \"openai/gpt-6-astra\",\n    \"messages\": [\n      {\n        \"role\": \"user\",\n        \"content\": \"Explain AI Gateway in one sentence.\"\n      }\n    ]\n  }'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.router",
        "tool": "https://letme.dev/vercel-ai-gateway"
      },
      "sameCompany": [
        "vercel-sandbox",
        "vercel-connect"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "Token Pass subscription (Pro teams)",
          "unit": "month",
          "usd": 30,
          "note": "$80 of monthly credit on two featured models. Early access"
        },
        {
          "item": "Team-wide Zero Data Retention",
          "unit": "1k-requests",
          "usd": 0.1,
          "note": "Pro and Enterprise. Per-request ZDR is free"
        },
        {
          "item": "Team-wide provider allowlist",
          "unit": "1k-requests",
          "usd": 0.1,
          "note": "Successful requests, Pro and Enterprise"
        },
        {
          "item": "Custom Reporting query",
          "unit": "1k-requests",
          "usd": 5,
          "note": "Queries to the reporting endpoint"
        },
        {
          "item": "Custom Reporting write of a tag, user ID or quota entity ID",
          "unit": "1k-requests",
          "usd": 0.075,
          "note": "Each unique value in a request counts as one write"
        },
        {
          "item": "AI Gateway trace delivered to a drain",
          "unit": "1k-requests",
          "usd": 0.05,
          "note": "Listed per 1,000 traces, Pro and Enterprise"
        },
        {
          "item": "Trace egress",
          "unit": "gb",
          "usd": 0.5,
          "note": "Billed through Drains usage"
        }
      ],
      "provenance": {
        "legalEntity": "Vercel Inc.",
        "domain": "vercel.com",
        "domainRegistered": "1999-10-04",
        "endpointOnVendorDomain": false,
        "terms": "https://vercel.com/legal/terms",
        "privacy": "https://vercel.com/legal/privacy-policy",
        "statusPage": "https://www.vercel-status.com",
        "changelog": "https://vercel.com/changelog",
        "securityTxt": "valid",
        "checked": "2026-11-01",
        "notes": [
          "The Terms of Service (last updated 19 October 2026) name Vercel Inc. The AI Product Terms (last updated 17 March 2026, effective 31 March 2026) have a section for AI Gateway and form part of those terms.",
          "The Privacy Notice is effective from 1 June 2026. The DPA (effective 31 March 2026) applies to Pro and Enterprise plans.",
          "https://vercel.com/.well-known/security.txt points to HackerOne and responsible.disclosure@vercel.com and expires 2027-09-28 (re-read 1 November 2026).",
          "The API answers at ai-gateway.vercel.sh, a Vercel domain other than vercel.com. Management calls go to api.vercel.com.",
          "RDAP gives vercel.com a registration date of 1999-10-04, long before Vercel, so the domain was bought later.",
          "AI Gateway is a component on the status page at www.vercel-status.com."
        ],
        "score": 86
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/vercel-ai-gateway.json",
      "live": {
        "slug": "vercel-ai-gateway",
        "probe": {
          "target": "https://ai-gateway.vercel.sh/v1",
          "method": "get",
          "lastAt": "2026-11-07T18:21:03.439719131Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 135,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 41,
          "p95ms24h": 147,
          "samples24h": 239,
          "samples30d": 5145,
          "days": [
            {
              "date": "2026-10-17",
              "probes": 21,
              "ok": 21
            },
            {
              "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": 250,
              "ok": 250
            },
            {
              "date": "2026-10-29",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-30",
              "probes": 249,
              "ok": 249
            },
            {
              "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.vercel-status.com",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-11-07T18:22:06.975781508Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "vercel/ai",
            "version": "@ai-sdk/zai@2.0.19",
            "released": "2026-11-06",
            "seenAt": "2026-11-07T00:14:59.873146448Z"
          },
          {
            "registry": "npm",
            "name": "@ai-sdk/gateway",
            "version": "4.0.137",
            "seenAt": "2026-11-07T00:14:55.531229295Z"
          },
          {
            "registry": "npm",
            "name": "ai",
            "version": "7.0.164",
            "seenAt": "2026-11-07T00:14:55.80980887Z"
          },
          {
            "registry": "pypi",
            "name": "ai",
            "version": "0.9.0",
            "released": "2026-11-04",
            "seenAt": "2026-11-07T00:14:57.789982799Z"
          }
        ],
        "githubStars": 27784,
        "npmWeekly": 43526403,
        "pypiWeekly": 30345,
        "securityTxt": {
          "url": "https://vercel.com/.well-known/security.txt",
          "state": "valid",
          "expires": "2027-09-28T12:00:00.000Z",
          "checkedAt": "2026-11-07T16:01:04.63743298Z"
        },
        "llmsTxt": {
          "url": "https://vercel.com/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-07T15:34:15.91494374Z"
        },
        "domain": {
          "domain": "vercel.com",
          "registered": "1999-10-04",
          "source": "https://rdap.verisign.com/com/v1/domain/vercel.com",
          "checkedAt": "2026-11-01T14:26:56.031194695Z"
        },
        "pages": [
          {
            "url": "https://vercel.com/changelog",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-11-07T14:23:18.843079137Z",
            "changedAt": "2026-11-07T14:23:18.843079137Z",
            "fingerprint": "87cda10f5c5b"
          },
          {
            "url": "https://ai-gateway.vercel.sh/v1/models",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-07T13:58:54.859281938Z",
            "changedAt": "0001-01-01T00:00:00Z"
          },
          {
            "url": "https://vercel.com/changelog/laya-decision-model-now-available-on-ai-gateway-free-through-october-31",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-07T14:23:21.044064491Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "6bbbff189272"
          },
          {
            "url": "https://vercel.com/changelog/tako-search-is-free-on-ai-gateway-through-september-30th",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-07T14:23:23.299815086Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "196bc432bb9c"
          },
          {
            "url": "https://vercel.com/docs/ai-gateway/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-11-07T14:23:25.343283135Z",
            "changedAt": "2026-11-06T13:44:45.951689623Z",
            "fingerprint": "6635a49dd249"
          },
          {
            "url": "https://vercel.com/legal/privacy-policy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-11-07T14:23:31.093414072Z",
            "changedAt": "2026-10-28T04:46:11.674155692Z",
            "fingerprint": "c545eb853c20"
          },
          {
            "url": "https://vercel.com/legal/terms",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-11-07T14:23:33.273454306Z",
            "changedAt": "2026-10-28T04:46:13.475126487Z",
            "fingerprint": "100a29fa0aba"
          }
        ],
        "github": {
          "repo": "vercel/ai",
          "checkedAt": "2026-11-02T09:35:36.328615652Z",
          "stars": 27693,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-11-02T09:18:34Z",
          "openIssues": 505,
          "openPRs": 1043,
          "issuesOpened90d": 1077,
          "issuesClosed90d": 1415,
          "prsMerged90d": 2573,
          "ci": {
            "branch": "main",
            "runs": 50,
            "success": 48,
            "failure": 2,
            "other": 0,
            "latest": "success",
            "latestAt": "2026-11-02T05:34:51Z"
          },
          "advisories": [
            {
              "ghsa": "GHSA-g3x3-7q3h-gmhj",
              "severity": "medium",
              "published": "2026-10-01T19:22:11Z"
            },
            {
              "ghsa": "GHSA-4mqq-99j3-3hmv",
              "severity": "high",
              "published": "2026-09-28T17:44:55Z"
            },
            {
              "ghsa": "GHSA-222v-gj5h-ff73",
              "severity": "high",
              "published": "2026-08-20T21:21:04Z"
            },
            {
              "ghsa": "GHSA-vmqp-7rwf-cq3w",
              "severity": "medium",
              "published": "2026-08-14T01:39:36Z"
            },
            {
              "ghsa": "GHSA-qw9h-448j-6rph",
              "cve": "CVE-2026-64650",
              "severity": "medium",
              "published": "2026-07-20T20:16:06Z"
            },
            {
              "ghsa": "GHSA-g48p-5rr5-8rgq",
              "cve": "CVE-2026-64651",
              "severity": "medium",
              "published": "2026-07-20T20:15:50Z"
            }
          ],
          "replies": {
            "sampled": 25,
            "unanswered": 14,
            "medianDays": 0.1
          }
        },
        "updatedAt": "2026-11-07T18:22:06.975781508Z"
      }
    },
    "edges": [
      {
        "by": 54,
        "category": "reliability",
        "leads": "vercel-ai-gateway",
        "name": "Reliability",
        "reasons": {
          "a": "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.",
          "b": "Hosted reading. AI Gateway is a component on www.vercel-status.com (20). The history feed, re-read on 1 November 2026, has 25 entries from 23 July to 23 October, so it covers the whole 90 days from 3 August. None names AI Gateway in its title or text. The Drains, Logs and Observability incidents (6, 17 and 20 August, 16 to 17 September, 10 October in Washington, which names delayed logs, metrics and traces in general, and 23 October) name no AI Gateway surface, and none reports requests failing. Component tags sit in the status API, which robots.txt disallows, so they were not used. A readable page that posts incidents, none touching the product, is a clean record, as vercel-connect's incidents were read from the same feed (30). The rate-limit page, re-read on 1 November, says it describes behaviour rather than fixed numbers. The paid tier has no gateway limit, and the free tier's per-model limits are not published (5 of 15). A 429 has a documented JSON body, some carry `retry-after`, the docs give backoff code and separate a 429 from a 402 budget rejection, and failed provider attempts are retried on other providers (14 of 15). The Enterprise SLA excludes the APIs and CLI, and no SLA naming AI Gateway was found (0). Generally available since 21 August 2025. Token Pass is early access and the Python SDK is in beta (10)."
        },
        "scores": {
          "a": 25,
          "b": 79
        }
      },
      {
        "by": 25,
        "category": "ergonomics",
        "leads": "vercel-ai-gateway",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "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).",
          "b": "Router, read on the model lines. Tool calling is documented on all six surfaces and 303 of 498 models carry the tool-use tag on 1 November, with behaviour depending on the model routed (16 of 20). Structured output is documented per surface and tagged on 278 models (13 of 15). `caching: 'auto'` adds Anthropic cache markers, `cache_ttl` asks for one-hour entries, `x-session-affinity` keeps a conversation on one provider, and cache-read prices are listed per model (14 of 15). 162 models list a context of one million tokens or more, a judgement call since a router has no default model (15). The SDK source has a `gateway-batch.ts` file, but no batch endpoint or batch discount was found in the docs (2 of 10). The AI SDK for TypeScript, the AI SDK for Python in beta, and the OpenAI and Anthropic SDKs with a changed base URL (10). Errors return `message` and `type`, an exceeded budget answers 402 apart from a 429, the SDK has ten typed `Gateway*Error` classes, and the FAQ maps each status to a fix (13 of 15)."
        },
        "scores": {
          "a": 58,
          "b": 83
        }
      },
      {
        "by": 12,
        "category": "schema",
        "leads": "vercel-ai-gateway",
        "name": "Schema \u0026 documentation",
        "reasons": {
          "a": "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).",
          "b": "Router, scored on the API lines. Vercel's OpenAPI 3.0.3 document has AI Gateway management paths (budgets, routing rules, virtual model configs, routers) and `POST /api-keys`. It does not cover the inference routes on ai-gateway.vercel.sh or `/v1/models`, `/v1/credits`, `/v1/generation` and `/v1/report`, which follow the OpenAI and Anthropic formats and the REST reference page (12 of 25). Every docs page is served as Markdown, and vercel.com/llms.txt lists AI Gateway and the keyless model list (10). The docs say when to use AI Gateway, which API format suits which client, and what each control leaves out, such as BYOK spend outside budgets (16 of 20). `providerOptions.gateway` fields are documented in tables with types, and the model list names each model's supported parameters. The request bodies have no published schema of their own (9 of 15). cURL, TypeScript and Python examples on most pages, and error tables in the FAQ, the REST reference and the Token Pass pages. The Chat Completions error list omits 402 (13 of 15). Paths carry `/v1`, the changelog is dated, with 95 entries naming AI Gateway from 3 August to 30 October 2026, and `@ai-sdk/gateway` keeps a CHANGELOG. The changelog sitemap dates one AI Gateway entry to 25 March 2025, before the alpha (14 of 15)."
        },
        "scores": {
          "a": 62,
          "b": 74
        }
      }
    ],
    "facts": [
      {
        "a": "Model router",
        "b": "Model router",
        "name": "Kind"
      },
      {
        "a": "Hugging Face, Inc.",
        "b": "Vercel Inc.",
        "name": "Vendor"
      },
      {
        "a": "https://router.huggingface.co/v1",
        "b": "https://ai-gateway.vercel.sh/v1",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "OAuth or key",
        "name": "Auth"
      },
      {
        "a": "Pay per use",
        "b": "Pay per use",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "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",
        "b": "Proprietary service under Vercel's Terms of Service and AI Product Terms, with Token Pass terms on its docs page. Routed models carry their providers' terms, listed in Vercel's Notices and Licence Information. The `@ai-sdk/gateway` provider is Apache-2.0",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-29",
        "b": "2026-10-30",
        "name": "Last release"
      },
      {
        "a": "2022-09-15",
        "b": "2026-06-01",
        "name": "Terms last updated"
      },
      {
        "a": "2023-03-28",
        "b": "2026-06-01",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "yes, with an opt-out",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "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": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "483k npm/wk, 71.5M PyPI/wk",
        "b": "29.6M npm/wk",
        "name": "Popularity"
      },
      {
        "a": "none",
        "b": "3/5 (4)",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "Vercel AI Gateway scores 67.8 (B) on agent readiness against Hugging Face Inference Providers's 54 (C), and leads in 3 of 7 scored categories.",
        "question": "Which is better for AI agents, Hugging Face Inference Providers or Vercel AI Gateway?"
      },
      {
        "answer": "Hugging Face Inference Providers needs an API key. Vercel AI Gateway takes an API key or an OAuth sign-in.",
        "question": "Do Hugging Face Inference Providers and Vercel AI Gateway need an API key?"
      },
      {
        "answer": "Yes. Hugging Face Inference Providers has a hosted endpoint at https://router.huggingface.co/v1 and Vercel AI Gateway at https://ai-gateway.vercel.sh/v1.",
        "question": "Can an agent call Hugging Face Inference Providers and Vercel AI Gateway without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": null,
        "also": [
          "No incidents deducted, where Vercel 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"
      },
      {
        "aheadOn": [
          "Reliability, 79 against 25",
          "Schema \u0026 documentation, 74 against 62",
          "Agent ergonomics, 83 against 58"
        ],
        "also": null,
        "goodFor": "Teams that want one key, one bill, budgets and failover in front of many model providers, especially on Vercel with OIDC.",
        "slug": "vercel-ai-gateway",
        "watchFor": "The free monthly credit needs a valid payment method on the team, and its amount is not stated in the reviewed docs"
      }
    ],
    "history": {
      "hugging-face-inference-providers": null,
      "vercel-ai-gateway": [
        {
          "causes": [
            "correction"
          ],
          "date": "2026-11-01",
          "delta": 1,
          "from": 66.8,
          "fromGrade": "B",
          "to": 67.8,
          "toGrade": "B"
        },
        {
          "causes": [
            "method"
          ],
          "date": "2026-10-27",
          "delta": 0.1,
          "from": 66.7,
          "fromGrade": "B",
          "to": 66.8,
          "toGrade": "B"
        }
      ]
    },
    "job": {
      "capability": "inference.router",
      "name": "Model routing"
    },
    "others": [
      {
        "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/amazon-bedrock-vs-vercel-ai-gateway.json",
        "title": "Amazon Bedrock vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-vercel-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/anthropic-api-vs-vercel-ai-gateway.json",
        "title": "Claude API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-vercel-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/azure-openai-vs-vercel-ai-gateway.json",
        "title": "Azure OpenAI in Foundry Models vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/azure-openai-vs-vercel-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/blockrun-ai-vs-vercel-ai-gateway.json",
        "title": "BlockRun.AI vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-vercel-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/cerebras-inference-vs-vercel-ai-gateway.json",
        "title": "Cerebras Inference vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers.json",
        "title": "Cloudflare AI Gateway vs Hugging Face Inference Providers",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-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-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/cloudflare-workers-ai-vs-vercel-ai-gateway.json",
        "title": "Cloudflare Workers AI vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-vercel-ai-gateway"
      },
      {
        "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/cohere-chat-vs-vercel-ai-gateway.json",
        "title": "Cohere Chat API (Command models) vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-vercel-ai-gateway"
      },
      {
        "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/deepinfra-vs-vercel-ai-gateway.json",
        "title": "DeepInfra vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-vercel-ai-gateway"
      },
      {
        "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/deepseek-api-vs-vercel-ai-gateway.json",
        "title": "DeepSeek API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-vercel-ai-gateway"
      },
      {
        "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/elorian-glimpse-vs-vercel-ai-gateway.json",
        "title": "Glimpse vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-vercel-ai-gateway"
      },
      {
        "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/fireworks-inference-vs-vercel-ai-gateway.json",
        "title": "Fireworks AI Inference vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/fireworks-inference-vs-vercel-ai-gateway"
      },
      {
        "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/gemini-api-vs-vercel-ai-gateway.json",
        "title": "Gemini Developer API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-vercel-ai-gateway"
      },
      {
        "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/groq-vs-vercel-ai-gateway.json",
        "title": "GroqCloud vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/groq-vs-vercel-ai-gateway"
      },
      {
        "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/inkling-2-small-vs-vercel-ai-gateway.json",
        "title": "Inkling 2 Small vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/inkling-2-small-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/jais-3-vs-vercel-ai-gateway.json",
        "title": "Jais 3 vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/jais-3-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/meta-model-api-vs-vercel-ai-gateway.json",
        "title": "Meta Model API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/meta-model-api-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/minimax-api-vs-vercel-ai-gateway.json",
        "title": "MiniMax API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/minimax-api-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-vercel-ai-gateway.json",
        "title": "Mistral AI API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/muse-spark-open-vs-vercel-ai-gateway.json",
        "title": "Muse Spark Open vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/muse-spark-open-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-vercel-ai-gateway.json",
        "title": "Nemotron 3.5 Super VL vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/novita-ai-vs-vercel-ai-gateway.json",
        "title": "Novita AI vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/novita-ai-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openai-api-vs-vercel-ai-gateway.json",
        "title": "OpenAI API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/openai-api-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openrouter-vs-vercel-ai-gateway.json",
        "title": "OpenRouter vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/openrouter-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/reflection-beam-vs-vercel-ai-gateway.json",
        "title": "Beam 1.0 vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/reflection-beam-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/sambanova-vs-vercel-ai-gateway.json",
        "title": "SambaCloud vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/sambanova-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/siliconflow-vs-vercel-ai-gateway.json",
        "title": "SiliconFlow vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/siliconflow-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/simplismart-vs-vercel-ai-gateway.json",
        "title": "Simplismart vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/simplismart-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/stepfun-api-vs-vercel-ai-gateway.json",
        "title": "StepFun API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/stepfun-api-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/swe-2-flash-vs-vercel-ai-gateway.json",
        "title": "SWE-2 Flash vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/swe-2-flash-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/together-inference-vs-vercel-ai-gateway.json",
        "title": "Together AI Inference vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/together-inference-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/vercel-ai-gateway-vs-vertex-ai.json",
        "title": "Vercel AI Gateway vs Vertex AI (Gemini Enterprise Agent Platform)",
        "url": "https://www.anchorterminal.com/compare/vercel-ai-gateway-vs-vertex-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/vercel-ai-gateway-vs-xai-api.json",
        "title": "Vercel AI Gateway vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/vercel-ai-gateway-vs-xai-api"
      },
      {
        "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/antseed-vs-vercel-ai-gateway.json",
        "title": "Antseed vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-vercel-ai-gateway"
      },
      {
        "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/eden-ai-vs-vercel-ai-gateway.json",
        "title": "Eden AI vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/eden-ai-vs-vercel-ai-gateway"
      },
      {
        "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/litellm-vs-vercel-ai-gateway.json",
        "title": "LiteLLM vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/litellm-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ramp-router-vs-vercel-ai-gateway.json",
        "title": "Router.com (Ramp Router) vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/ramp-router-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/routerplus-vs-vercel-ai-gateway.json",
        "title": "RouterPlus vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/routerplus-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/tencent-tokenhub-vs-vercel-ai-gateway.json",
        "title": "Tencent Cloud TokenHub vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/tencent-tokenhub-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"
      },
      {
        "json": "https://www.anchorterminal.com/compare/prism-inference-vs-vercel-ai-gateway.json",
        "title": "Prism Inference vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/prism-inference-vs-vercel-ai-gateway"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 54,
        "edge": "vercel-ai-gateway",
        "hugging-face-inference-providers": 25,
        "key": "reliability",
        "name": "Reliability",
        "vercel-ai-gateway": 79,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 12,
        "edge": "vercel-ai-gateway",
        "hugging-face-inference-providers": 62,
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "vercel-ai-gateway": 74,
        "weight": 13
      },
      {
        "by": 25,
        "edge": "vercel-ai-gateway",
        "hugging-face-inference-providers": 58,
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "vercel-ai-gateway": 83,
        "weight": 13
      },
      {
        "by": 0,
        "edge": "",
        "hugging-face-inference-providers": 79,
        "key": "security",
        "name": "Security \u0026 auth",
        "vercel-ai-gateway": 79,
        "weight": 14
      },
      {
        "by": 0,
        "edge": "",
        "hugging-face-inference-providers": 20,
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "vercel-ai-gateway": 20,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 1,
        "edge": "hugging-face-inference-providers",
        "hugging-face-inference-providers": 80,
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "vercel-ai-gateway": 79,
        "weight": 7
      },
      {
        "by": 0,
        "edge": "",
        "hugging-face-inference-providers": 71,
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "vercel-ai-gateway": 71,
        "weight": 7
      }
    ],
    "summary": "Vercel AI Gateway scores 67.8 (B) on agent readiness against Hugging Face Inference Providers's 54 (C), and leads in 3 of 7 scored categories. Both do model routing.",
    "tasks": null,
    "tutorials": [],
    "verdicts": {
      "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.",
      "vercel-ai-gateway": "Token prices pass through with no markup, prompts are not stored by the gateway, and budgets, provider failover and per-request logs are built in. The free monthly credit needs a card on file, rate limits are not published as numbers, no SLA covers the API, and the contractual promise not to train on content applies to Enterprise subscriptions only."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-vercel-ai-gateway",
    "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-vercel-ai-gateway.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-vercel-ai-gateway.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-vercel-ai-gateway.min.md"
  },
  "markdown": "Vercel AI Gateway scores 67.8 (B) on agent readiness against Hugging Face Inference Providers's 54 (C), and leads in 3 of 7 scored categories. Both do model routing.\n\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- Vercel AI Gateway: grade B, 67.8/100, rank #302 of 1486. Markdown https://www.anchorterminal.com/tools/vercel-ai-gateway.md · JSON https://www.anchorterminal.com/api/v1/tools/vercel-ai-gateway.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### 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\nAlso in its favour:\n- No incidents deducted, where Vercel AI Gateway loses 3 points for them\n\nWatch for: No rate limits, 429 behaviour or error responses documented for the router\n\n### Vercel AI Gateway (B)\n\nGood for: Teams that want one key, one bill, budgets and failover in front of many model providers, especially on Vercel with OIDC.\n\nAhead on:\n- Reliability, 79 against 25\n- Schema \u0026 documentation, 74 against 62\n- Agent ergonomics, 83 against 58\n\nWatch for: The free monthly credit needs a valid payment method on the team, and its amount is not stated in the reviewed docs\n\n\n## Why the edge\n\n### Reliability: Vercel AI Gateway +54\n\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- Vercel AI Gateway (79): Hosted reading. AI Gateway is a component on www.vercel-status.com (20). The history feed, re-read on 1 November 2026, has 25 entries from 23 July to 23 October, so it covers the whole 90 days from 3 August. None names AI Gateway in its title or text. The Drains, Logs and Observability incidents (6, 17 and 20 August, 16 to 17 September, 10 October in Washington, which names delayed logs, metrics and traces in general, and 23 October) name no AI Gateway surface, and none reports requests failing. Component tags sit in the status API, which robots.txt disallows, so they were not used. A readable page that posts incidents, none touching the product, is a clean record, as vercel-connect's incidents were read from the same feed (30). The rate-limit page, re-read on 1 November, says it describes behaviour rather than fixed numbers. The paid tier has no gateway limit, and the free tier's per-model limits are not published (5 of 15). A 429 has a documented JSON body, some carry `retry-after`, the docs give backoff code and separate a 429 from a 402 budget rejection, and failed provider attempts are retried on other providers (14 of 15). The Enterprise SLA excludes the APIs and CLI, and no SLA naming AI Gateway was found (0). Generally available since 21 August 2025. Token Pass is early access and the Python SDK is in beta (10).\n\n### Agent ergonomics: Vercel AI Gateway +25\n\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- Vercel AI Gateway (83): Router, read on the model lines. Tool calling is documented on all six surfaces and 303 of 498 models carry the tool-use tag on 1 November, with behaviour depending on the model routed (16 of 20). Structured output is documented per surface and tagged on 278 models (13 of 15). `caching: 'auto'` adds Anthropic cache markers, `cache_ttl` asks for one-hour entries, `x-session-affinity` keeps a conversation on one provider, and cache-read prices are listed per model (14 of 15). 162 models list a context of one million tokens or more, a judgement call since a router has no default model (15). The SDK source has a `gateway-batch.ts` file, but no batch endpoint or batch discount was found in the docs (2 of 10). The AI SDK for TypeScript, the AI SDK for Python in beta, and the OpenAI and Anthropic SDKs with a changed base URL (10). Errors return `message` and `type`, an exceeded budget answers 402 apart from a 429, the SDK has ten typed `Gateway*Error` classes, and the FAQ maps each status to a fix (13 of 15).\n\n### Schema \u0026 documentation: Vercel AI Gateway +12\n\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- Vercel AI Gateway (74): Router, scored on the API lines. Vercel's OpenAPI 3.0.3 document has AI Gateway management paths (budgets, routing rules, virtual model configs, routers) and `POST /api-keys`. It does not cover the inference routes on ai-gateway.vercel.sh or `/v1/models`, `/v1/credits`, `/v1/generation` and `/v1/report`, which follow the OpenAI and Anthropic formats and the REST reference page (12 of 25). Every docs page is served as Markdown, and vercel.com/llms.txt lists AI Gateway and the keyless model list (10). The docs say when to use AI Gateway, which API format suits which client, and what each control leaves out, such as BYOK spend outside budgets (16 of 20). `providerOptions.gateway` fields are documented in tables with types, and the model list names each model's supported parameters. The request bodies have no published schema of their own (9 of 15). cURL, TypeScript and Python examples on most pages, and error tables in the FAQ, the REST reference and the Token Pass pages. The Chat Completions error list omits 402 (13 of 15). Paths carry `/v1`, the changelog is dated, with 95 entries naming AI Gateway from 3 August to 30 October 2026, and `@ai-sdk/gateway` keeps a CHANGELOG. The changelog sitemap dates one AI Gateway entry to 25 March 2025, before the alpha (14 of 15).\n\n## Score by category\n\n| Category | Weight | Hugging Face Inference Providers | Vercel AI Gateway | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 25 | 79 | Vercel AI Gateway +54 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 62 | 74 | Vercel AI Gateway +12 |\n| Agent ergonomics | 13% (16.2 this run) | 58 | 83 | Vercel AI Gateway +25 |\n| Security \u0026 auth | 14% (17.5 this run) | 79 | 79 | even |\n| Payments \u0026 pricing | 10% (12.5 this run) | 20 | 20 | even |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 80 | 79 | Hugging Face Inference Providers +1 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 71 | 71 | even |\n| Negative events | ≤15 | 0 | -3 | |\n| **Total** | | **54 · C** | **67.8 · B** | |\n\n## Facts side by side\n\n| Fact | Hugging Face Inference Providers | Vercel AI Gateway |\n| --- | --- | --- |\n| Kind | Model router | Model router |\n| Vendor | Hugging Face, Inc. | Vercel Inc. |\n| Hosted endpoint | `https://router.huggingface.co/v1` | `https://ai-gateway.vercel.sh/v1` |\n| Transports | HTTP | HTTP |\n| Auth | API key | OAuth or key |\n| Pricing | Pay per use | Pay per use |\n| x402 | no | no |\n| Licence | 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 | Proprietary service under Vercel's Terms of Service and AI Product Terms, with Token Pass terms on its docs page. Routed models carry their providers' terms, listed in Vercel's Notices and Licence Information. The `@ai-sdk/gateway` provider is Apache-2.0 |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-10-29 | 2026-10-30 |\n| Terms last updated | 2022-09-15 | 2026-06-01 |\n| Privacy policy last updated | 2023-03-28 | 2026-06-01 |\n| Customer content may train models | not found in the text | yes, with an opt-out |\n| Terms restrict automated access | not found in the text | 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 | not found in the text |\n| Arbitration or class-action waiver | not found in the text | yes |\n| Popularity | 483k npm/wk, 71.5M PyPI/wk | 29.6M npm/wk |\n| Agent reviews | none | 3/5 (4) |\n\n## How the scores have moved\n\n### Hugging Face Inference Providers\n\nNo score change since it was listed.\n\n### Vercel AI Gateway\n\n- +1.0 on 1 November 2026: correction\n- +0.1 on 27 October 2026: checklist\n\n## Verdicts\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**Vercel AI Gateway.** Token prices pass through with no markup, prompts are not stored by the gateway, and budgets, provider failover and per-request logs are built in. The free monthly credit needs a card on file, rate limits are not published as numbers, no SLA covers the API, and the contractual promise not to train on content applies to Enterprise subscriptions only.\n\n## Before you call either\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### Vercel AI Gateway\n\n1. Read `GET https://ai-gateway.vercel.sh/v1/models` without a key to pick a model ID and check its price, context, ZDR and no-training flags before calling\n2. Set `zeroDataRetention` or `disallowPromptTraining` to true in `providerOptions.gateway` on sensitive requests. Default routing ignores provider retention and training policies\n3. Treat a 429 as retryable and honour `retry-after` when present. A 402 with `quota_for_entity_exceeded` is a spent budget, so do not retry it\n4. On a Token Pass key, a 403 with `no_providers_available` means spent credit or a model outside the pass. Retry with a standard AI Gateway key, which bills credits\n5. Set `inferenceRegion` when data residency matters. The default `global` may run inference outside the user's jurisdiction\n\n## Questions\n\n### Which is better for AI agents, Hugging Face Inference Providers or Vercel AI Gateway?\n\nVercel AI Gateway scores 67.8 (B) on agent readiness against Hugging Face Inference Providers's 54 (C), and leads in 3 of 7 scored categories.\n\n### Do Hugging Face Inference Providers and Vercel AI Gateway need an API key?\n\nHugging Face Inference Providers needs an API key. Vercel AI Gateway takes an API key or an OAuth sign-in.\n\n### Can an agent call Hugging Face Inference Providers and Vercel AI Gateway without installing anything?\n\nYes. Hugging Face Inference Providers has a hosted endpoint at https://router.huggingface.co/v1 and Vercel AI Gateway at https://ai-gateway.vercel.sh/v1.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-vercel-ai-gateway.json, and with the fewest tokens: https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-vercel-ai-gateway.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"hugging-face-inference-providers\", \"b\": \"vercel-ai-gateway\"}`. From a terminal: `anchor compare hugging-face-inference-providers vercel-ai-gateway`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/hugging-face-inference-providers.json and https://www.anchorterminal.com/api/v1/tools/vercel-ai-gateway.json\n\n## Other comparisons with Hugging Face Inference Providers or Vercel AI Gateway\n\n- [Amazon Bedrock vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/amazon-bedrock-vs-hugging-face-inference-providers.md)\n- [Amazon Bedrock vs Vercel AI Gateway](https://www.anchorterminal.com/compare/amazon-bedrock-vs-vercel-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- [Claude API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/anthropic-api-vs-vercel-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- [Azure OpenAI in Foundry Models vs Vercel AI Gateway](https://www.anchorterminal.com/compare/azure-openai-vs-vercel-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- [BlockRun.AI vs Vercel AI Gateway](https://www.anchorterminal.com/compare/blockrun-ai-vs-vercel-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- [Cerebras Inference vs Vercel AI Gateway](https://www.anchorterminal.com/compare/cerebras-inference-vs-vercel-ai-gateway.md)\n- [Cloudflare AI Gateway vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hugging-face-inference-providers.md)\n- [Cloudflare AI Gateway vs Vercel AI Gateway](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-vercel-ai-gateway.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- [Cloudflare Workers AI vs Vercel AI Gateway](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-vercel-ai-gateway.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- [Cohere Chat API (Command models) vs Vercel AI Gateway](https://www.anchorterminal.com/compare/cohere-chat-vs-vercel-ai-gateway.md)\n- [DeepInfra vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/deepinfra-vs-hugging-face-inference-providers.md)\n- [DeepInfra vs Vercel AI Gateway](https://www.anchorterminal.com/compare/deepinfra-vs-vercel-ai-gateway.md)\n- [DeepSeek API vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/deepseek-api-vs-hugging-face-inference-providers.md)\n- [DeepSeek API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/deepseek-api-vs-vercel-ai-gateway.md)\n- [Glimpse vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/elorian-glimpse-vs-hugging-face-inference-providers.md)\n- [Glimpse vs Vercel AI Gateway](https://www.anchorterminal.com/compare/elorian-glimpse-vs-vercel-ai-gateway.md)\n- [Fireworks AI Inference vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/fireworks-inference-vs-hugging-face-inference-providers.md)\n- [Fireworks AI Inference vs Vercel AI Gateway](https://www.anchorterminal.com/compare/fireworks-inference-vs-vercel-ai-gateway.md)\n- [Gemini Developer API vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/gemini-api-vs-hugging-face-inference-providers.md)\n- [Gemini Developer API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/gemini-api-vs-vercel-ai-gateway.md)\n- [GroqCloud vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/groq-vs-hugging-face-inference-providers.md)\n- [GroqCloud vs Vercel AI Gateway](https://www.anchorterminal.com/compare/groq-vs-vercel-ai-gateway.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- [Inkling 2 Small vs Vercel AI Gateway](https://www.anchorterminal.com/compare/inkling-2-small-vs-vercel-ai-gateway.md)\n- [Jais 3 vs Vercel AI Gateway](https://www.anchorterminal.com/compare/jais-3-vs-vercel-ai-gateway.md)\n- [Meta Model API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/meta-model-api-vs-vercel-ai-gateway.md)\n- [MiniMax API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/minimax-api-vs-vercel-ai-gateway.md)\n- [Mistral AI API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/mistral-api-vs-vercel-ai-gateway.md)\n- [Muse Spark Open vs Vercel AI Gateway](https://www.anchorterminal.com/compare/muse-spark-open-vs-vercel-ai-gateway.md)\n- [Nemotron 3.5 Super VL vs Vercel AI Gateway](https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-vercel-ai-gateway.md)\n- [Novita AI vs Vercel AI Gateway](https://www.anchorterminal.com/compare/novita-ai-vs-vercel-ai-gateway.md)\n- [OpenAI API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/openai-api-vs-vercel-ai-gateway.md)\n- [OpenRouter vs Vercel AI Gateway](https://www.anchorterminal.com/compare/openrouter-vs-vercel-ai-gateway.md)\n- [Beam 1.0 vs Vercel AI Gateway](https://www.anchorterminal.com/compare/reflection-beam-vs-vercel-ai-gateway.md)\n- [SambaCloud vs Vercel AI Gateway](https://www.anchorterminal.com/compare/sambanova-vs-vercel-ai-gateway.md)\n- [SiliconFlow vs Vercel AI Gateway](https://www.anchorterminal.com/compare/siliconflow-vs-vercel-ai-gateway.md)\n- [Simplismart vs Vercel AI Gateway](https://www.anchorterminal.com/compare/simplismart-vs-vercel-ai-gateway.md)\n- [StepFun API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/stepfun-api-vs-vercel-ai-gateway.md)\n- [SWE-2 Flash vs Vercel AI Gateway](https://www.anchorterminal.com/compare/swe-2-flash-vs-vercel-ai-gateway.md)\n- [Together AI Inference vs Vercel AI Gateway](https://www.anchorterminal.com/compare/together-inference-vs-vercel-ai-gateway.md)\n- [Vercel AI Gateway vs Vertex AI (Gemini Enterprise Agent Platform)](https://www.anchorterminal.com/compare/vercel-ai-gateway-vs-vertex-ai.md)\n- [Vercel AI Gateway vs xAI API (Grok)](https://www.anchorterminal.com/compare/vercel-ai-gateway-vs-xai-api.md)\n- [Antseed vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/antseed-vs-hugging-face-inference-providers.md)\n- [Antseed vs Vercel AI Gateway](https://www.anchorterminal.com/compare/antseed-vs-vercel-ai-gateway.md)\n- [Eden AI vs Hugging Face Inference Providers](https://www.anchorterminal.com/compare/eden-ai-vs-hugging-face-inference-providers.md)\n- [Eden AI vs Vercel AI Gateway](https://www.anchorterminal.com/compare/eden-ai-vs-vercel-ai-gateway.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- [LiteLLM vs Vercel AI Gateway](https://www.anchorterminal.com/compare/litellm-vs-vercel-ai-gateway.md)\n- [Router.com (Ramp Router) vs Vercel AI Gateway](https://www.anchorterminal.com/compare/ramp-router-vs-vercel-ai-gateway.md)\n- [RouterPlus vs Vercel AI Gateway](https://www.anchorterminal.com/compare/routerplus-vs-vercel-ai-gateway.md)\n- [Tencent Cloud TokenHub vs Vercel AI Gateway](https://www.anchorterminal.com/compare/tencent-tokenhub-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- [Prism Inference vs Vercel AI Gateway](https://www.anchorterminal.com/compare/prism-inference-vs-vercel-ai-gateway.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": "Hugging Face Inference Providers vs Vercel AI Gateway",
        "url": ""
      }
    ],
    "description": "Vercel AI Gateway scores 67.8 (B) to Hugging Face Inference Providers's 54 (C) for model routing. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Hugging Face Inference Providers C 54",
      "Vercel AI Gateway B 67.8",
      "scores"
    ],
    "h1": "Hugging Face Inference Providers vs Vercel AI Gateway",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/hugging-face-inference-providers-vs-vercel-ai-gateway",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Hugging Face Inference Providers vs Vercel AI Gateway (2026)",
    "toc": null,
    "updated": "2026-11-07",
    "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-vercel-ai-gateway"
  },
  "tokens": {
    "markdown": 6350,
    "slim": 2330
  },
  "version": 1
}
