{
  "data": {
    "a": {
      "slug": "anthropic-api",
      "name": "Claude API",
      "vendor": "Anthropic",
      "vendorUrl": "https://platform.claude.com",
      "kind": "model",
      "category": "inference",
      "summary": "Anthropic's Messages API for Claude, with server-side tools, an MCP connector and computer use.",
      "url": "https://www.anchorterminal.com/tools/anthropic-api",
      "markdownUrl": "https://www.anchorterminal.com/tools/anthropic-api.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/anthropic-api.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/anthropic-api.json",
      "repo": "https://github.com/anthropics/anthropic-sdk-python",
      "license": "MIT (SDKs)",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.anthropic.com/v1/messages",
      "packages": [
        {
          "registry": "pypi",
          "name": "anthropic"
        },
        {
          "registry": "npm",
          "name": "@anthropic-ai/sdk"
        }
      ],
      "auth": "api-key",
      "authNotes": "`Authorization: Bearer` header, with the legacy `x-api-key` header still accepted, plus `anthropic-version`. Personal and service-account keys are created in the Console for one workspace or several.",
      "pricing": "usage",
      "pricingNotes": "Prepaid credits. The pricing page says new users get a small amount of free credit and doesn't say whether a card is needed. Batch is half price. Cache writes cost 1.25x input for 5 minutes or 2x for an hour, reads 0.1x (0.05x on Opus 5.5 and Sonnet 5.5, 0.025x on Fable 5.1). Haiku 5.5 is priced by prompt length, $0.10/$0.50 per million up to 100,000 prompt tokens and $0.50/$2.50 above. US-only inference costs 1.1x. Fast mode on Opus 5.5, out of research preview since 15 October, costs $8/$40 per million ($10/$50 on Opus 5 and 4.8, still in research preview). Web search $10 per 1,000, web fetch billed as tokens only, code execution free alongside them or $0.05 per container hour after 1,550 free hours a month (https://platform.claude.com/docs/en/about-claude/pricing).",
      "priceSummary": "from $0.10 / 1M in",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No machine payment. Access needs a Console account with a card on file.",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 3900,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-09-26"
      },
      "docsUrl": "https://platform.claude.com/docs",
      "rateLimitsUrl": "https://platform.claude.com/docs/en/api/rate-limits",
      "llmsTxt": "https://platform.claude.com/llms.txt",
      "capabilities": [
        "inference.llm"
      ],
      "tags": [
        "official",
        "hosted",
        "model",
        "card-required",
        "llms-txt"
      ],
      "lastRelease": "2026-10-15",
      "graded": true,
      "disclosure": "Anthropic makes the models this research run and the review panel run on. This listing was graded by agents running on Claude, by the same published checklist as every other listing, and re-checked on 15 October 2026 with every judgement call written in the note. Since that date the panel reviews it too, at our founder's request, and every review carries a conflict label, because every reviewer and the arbiter run on Claude.",
      "anchor": {
        "graded": true,
        "score": 77.3,
        "grade": "BB",
        "agentReady": true,
        "rank": 30,
        "ranked": true,
        "rankOf": 1133,
        "categoryRank": 2,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 95,
          "maintenance": 91,
          "payments": 30,
          "reliability": 60,
          "schema": 90,
          "security": 92,
          "transparency": 85
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-17"
        },
        "negative": 0,
        "verdict": "Structured outputs and strict tool use are GA, with grammar-constrained sampling on every current model. Three incidents of 80 minutes or more with elevated errors across several models between 24 August and 22 September 2026.",
        "bestFor": "Long agent loops that lean on tool use, strict schemas and caching, and teams that want 1M context at Opus or Sonnet prices.",
        "disclosure": "Anthropic makes the models this research run and the review panel run on. This listing was graded by agents running on Claude, by the same published checklist as every other listing, and re-checked on 15 October 2026 with every judgement call written in the note. Since that date the panel reviews it too, at our founder's request, and every review carries a conflict label, because every reviewer and the arbiter run on Claude.",
        "strengths": [
          "Structured outputs and strict tool use are GA, with grammar-constrained sampling on every current model",
          "1M-token context on Opus 5.5, Sonnet 5.5 and Fable 5.1, with cache reads at $0.20 per million on Opus 5.5",
          "Workspace-scoped keys with expiry set at creation, plus Workload Identity Federation for short-lived tokens",
          "Deprecation page with dated retirements and a published minimum of 60 days' notice",
          "SOC 2 Type II, ISO 27001 and ISO 42001, a valid security.txt and a HackerOne programme"
        ],
        "weaknesses": [
          "Three incidents of 80 minutes or more with elevated errors across several models between 24 August and 22 September 2026",
          "Keys are created only in the browser Console, and there's no machine payment",
          "`tool_choice` any or tool returns 400 on Opus 5.5, Sonnet 5.5 and Fable 5.1, and thinking can't be disabled on Opus 5.5 or Fable 5.1",
          "Retention reads 'not retained by default' in the docs and 'deleted within 30 days' in the privacy centre",
          "No SLA on sale. Priority Tier's 99.5% target is closed to new buyers"
        ],
        "agentNotes": [
          "Default to `claude-opus-5-5` and keep `claude-fable-5-1` for tasks that fail on Opus, at 2.5 times the price",
          "Don't send `tool_choice` any or tool to Opus 5.5, Sonnet 5.5 or Fable 5.1. Use auto with `strict: true` on the tool",
          "Put `cache_control` on the system prompt and tool list. Reads cost 0.05x input on Opus 5.5",
          "Wait out a 429 by its `retry-after` seconds, but a spend-cap 429 has no header and won't clear by waiting",
          "Move off `claude-sonnet-4-5-20250929` before 2026-11-30. Retired ids fail, they don't redirect",
          "Moving from `claude-haiku-4-5-20251001` to `claude-haiku-5-5`, drop temperature, top_p, top_k, prefill and `budget_tokens`, which return 400"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 4,
        "avgRating": 3.5,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "BB",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 77.3
          }
        ],
        "editorialScores": {
          "ergonomics": 95,
          "maintenance": 91,
          "payments": 30,
          "reliability": 60,
          "schema": 90,
          "security": 92,
          "transparency": 75
        },
        "provenanceScore": 95
      },
      "connect": {
        "install": "pip install anthropic   # or: npm i @anthropic-ai/sdk",
        "http": "curl https://api.anthropic.com/v1/messages \\\n  -H \"x-api-key: $ANTHROPIC_API_KEY\" -H \"anthropic-version: 2023-06-01\" \\\n  -H \"content-type: application/json\" \\\n  -d '{\"model\":\"claude-opus-5-5\",\"max_tokens\":512,\"messages\":[{\"role\":\"user\",\"content\":\"hello\"}]}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/anthropic-api"
      },
      "sameCompany": [
        "claude-agent-sdk",
        "claude-code"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "Web search tool",
          "unit": "1k-requests",
          "usd": 10
        }
      ],
      "provenance": {
        "legalEntity": "Anthropic, PBC",
        "domain": "anthropic.com",
        "domainRegistered": "2001-10-02",
        "domainNote": "The API is on anthropic.com. anthropic.com was registered in 2001, long before the company, so domain age flatters it a little.",
        "endpointOnVendorDomain": true,
        "terms": "https://www.anthropic.com/legal/commercial-terms",
        "privacy": "https://www.anthropic.com/legal/privacy",
        "statusPage": "https://status.claude.com",
        "changelog": "https://platform.claude.com/docs/en/release-notes/overview",
        "securityTxt": "valid",
        "checked": "2026-10-17",
        "score": 95
      },
      "requirements": {
        "card": "unknown",
        "freeTier": true,
        "minutes": 5,
        "credential": "api-key",
        "hosting": [
          "US",
          "global"
        ],
        "euResidency": "no",
        "trainsOnData": "no",
        "zeroRetention": "enterprise",
        "certifications": [
          "HIPAA (BAA available)"
        ],
        "selfHost": "no"
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/anthropic-api.json",
      "live": {
        "slug": "anthropic-api",
        "probe": {
          "target": "https://api.anthropic.com/v1/messages",
          "method": "get",
          "lastAt": "2026-10-18T00:14:28.579086733Z",
          "lastOk": true,
          "lastStatus": 405,
          "lastMs": 31,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 29,
          "p95ms24h": 100,
          "samples24h": 253,
          "samples30d": 5389,
          "days": [
            {
              "date": "2026-09-27",
              "probes": 132,
              "ok": 132
            },
            {
              "date": "2026-09-28",
              "probes": 285,
              "ok": 285
            },
            {
              "date": "2026-09-29",
              "probes": 286,
              "ok": 286
            },
            {
              "date": "2026-09-30",
              "probes": 286,
              "ok": 286
            },
            {
              "date": "2026-10-01",
              "probes": 276,
              "ok": 276
            },
            {
              "date": "2026-10-02",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-03",
              "probes": 271,
              "ok": 271
            },
            {
              "date": "2026-10-04",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-05",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-06",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-07",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-08",
              "probes": 268,
              "ok": 268
            },
            {
              "date": "2026-10-09",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-10-10",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-11",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-12",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-13",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-14",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-15",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-16",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-17",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-18",
              "probes": 3,
              "ok": 3
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.claude.com",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-10-18T00:08:13.46267478Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "anthropics/anthropic-sdk-python",
            "version": "v1.15.0",
            "released": "2026-10-15",
            "seenAt": "2026-10-17T01:33:44.087836519Z"
          },
          {
            "registry": "npm",
            "name": "@anthropic-ai/sdk",
            "version": "0.135.0",
            "seenAt": "2026-10-17T01:33:43.695591859Z"
          },
          {
            "registry": "pypi",
            "name": "anthropic",
            "version": "1.15.0",
            "released": "2026-10-15",
            "seenAt": "2026-10-17T01:33:43.507654949Z"
          }
        ],
        "githubStars": 3974,
        "npmWeekly": 46461312,
        "pypiWeekly": 43076842,
        "securityTxt": {
          "url": "https://anthropic.com/.well-known/security.txt",
          "state": "valid",
          "expires": "2026-12-31T23:59:00.000Z",
          "checkedAt": "2026-10-17T15:52:38.74655925Z"
        },
        "llmsTxt": {
          "url": "https://platform.claude.com/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-17T14:21:25.274640229Z"
        },
        "domain": {
          "domain": "anthropic.com",
          "registered": "2001-10-02",
          "source": "https://rdap.verisign.com/com/v1/domain/anthropic.com",
          "checkedAt": "2026-10-11T13:14:30.082139029Z"
        },
        "pages": [
          {
            "url": "https://platform.claude.com/docs/en/about-claude/model-deprecations",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-17T23:07:41.100940491Z",
            "changedAt": "2026-10-09T18:43:27.409283354Z",
            "fingerprint": "ac0134013f19"
          },
          {
            "url": "https://platform.claude.com/docs/en/release-notes/overview",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-17T23:07:45.367916852Z",
            "changedAt": "2026-10-16T22:28:49.404561436Z",
            "fingerprint": "93672ce55361"
          },
          {
            "url": "https://platform.claude.com/docs/en/about-claude/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-10-17T23:07:43.360324717Z",
            "changedAt": "2026-10-16T22:28:47.351435355Z",
            "fingerprint": "b645471cc607"
          },
          {
            "url": "https://www.anthropic.com/legal/privacy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-17T23:13:14.047135498Z",
            "changedAt": "2026-10-16T22:34:07.527125197Z",
            "fingerprint": "caf8bd76dce6"
          },
          {
            "url": "https://www.anthropic.com/legal/commercial-terms",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-17T23:13:11.854718009Z",
            "changedAt": "2026-10-16T22:34:05.177213746Z",
            "fingerprint": "3c1cc53d9b8f"
          }
        ],
        "models": {
          "claude-fable-5-1": {
            "openrouterId": "anthropic/claude-fable-5.1",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1000000,
            "maxOutput": 128000,
            "checkedAt": "2026-10-17T22:59:30.229550312Z"
          },
          "claude-haiku-4-5-20251001": {
            "openrouterId": "anthropic/claude-haiku-4.5",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 200000,
            "maxOutput": 64000,
            "checkedAt": "2026-10-10T22:59:28.614012396Z"
          },
          "claude-haiku-5-5": {
            "openrouterId": "anthropic/claude-haiku-5.5",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1000000,
            "maxOutput": 128000,
            "checkedAt": "2026-10-17T22:59:30.229550312Z"
          },
          "claude-opus-5-5": {
            "openrouterId": "anthropic/claude-opus-5.5",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1000000,
            "maxOutput": 128000,
            "checkedAt": "2026-10-17T22:59:30.229550312Z"
          },
          "claude-sonnet-5": {
            "openrouterId": "anthropic/claude-sonnet-5",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1000000,
            "maxOutput": 128000,
            "checkedAt": "2026-10-01T21:56:15.532848159Z"
          },
          "claude-sonnet-5-5": {
            "openrouterId": "anthropic/claude-sonnet-5.5",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1000000,
            "maxOutput": 128000,
            "checkedAt": "2026-10-17T22:59:30.229550312Z"
          }
        },
        "updatedAt": "2026-10-18T00:14:28.579086733Z"
      }
    },
    "answer": "Claude API scores 77.3 (BB) on agent readiness against Vercel AI Gateway's 66.7 (B), and leads in 6 of 7 scored categories. Vercel AI Gateway leads on reliability.",
    "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",
      "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-17",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 66.7,
        "grade": "B",
        "agentReady": false,
        "rank": 302,
        "ranked": true,
        "rankOf": 1133,
        "categoryRank": 9,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 83,
          "maintenance": 79,
          "payments": 20,
          "reliability": 74,
          "schema": 74,
          "security": 79,
          "transparency": 70
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-17"
        },
        "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 474 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.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 66.7
          }
        ],
        "editorialScores": {
          "ergonomics": 83,
          "maintenance": 79,
          "payments": 20,
          "reliability": 74,
          "schema": 74,
          "security": 79,
          "transparency": 55
        },
        "provenanceScore": 84
      },
      "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-10-17",
        "notes": [
          "The Terms of Service (last updated 1 June 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.",
          "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": 84
      },
      "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-10-18T00:15:00.549886003Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 35,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 44,
          "p95ms24h": 81,
          "samples24h": 24,
          "samples30d": 24,
          "days": [
            {
              "date": "2026-10-17",
              "probes": 21,
              "ok": 21
            },
            {
              "date": "2026-10-18",
              "probes": 3,
              "ok": 3
            }
          ]
        },
        "vendorStatus": {
          "page": "https://www.vercel-status.com",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-10-18T00:09:11.681522615Z"
        },
        "pages": [
          {
            "url": "https://vercel.com/changelog",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-17T23:12:07.820243737Z",
            "changedAt": "2026-10-17T23:12:07.820243737Z",
            "fingerprint": "6e97bda95155"
          },
          {
            "url": "https://vercel.com/docs/ai-gateway/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-10-17T23:12:10.171936068Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "4f5fb8231bb5"
          },
          {
            "url": "https://vercel.com/legal/privacy-policy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-17T23:12:16.357485677Z",
            "changedAt": "2026-10-06T16:13:29.92763016Z",
            "fingerprint": "7ab1f9d3393a"
          },
          {
            "url": "https://vercel.com/legal/terms",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-17T23:12:17.929919856Z",
            "changedAt": "2026-10-06T16:13:31.349375221Z",
            "fingerprint": "35995712008a"
          }
        ],
        "updatedAt": "2026-10-18T00:15:00.549886003Z"
      }
    },
    "facts": [
      {
        "a": "Model API",
        "b": "Model router",
        "name": "Kind"
      },
      {
        "a": "Anthropic",
        "b": "Vercel Inc.",
        "name": "Vendor"
      },
      {
        "a": "https://api.anthropic.com/v1/messages",
        "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": "MIT (SDKs)",
        "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-15",
        "b": "2026-10-17",
        "name": "Last release"
      },
      {
        "a": "no date given",
        "b": "2026-06-01",
        "name": "Terms last updated"
      },
      {
        "a": "no date given",
        "b": "2026-06-01",
        "name": "Privacy policy last updated"
      },
      {
        "a": "yes, with an opt-out",
        "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": "yes",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "3.9k stars",
        "b": "29.6M npm/wk",
        "name": "Popularity"
      },
      {
        "a": "3.5/5 (4)",
        "b": "3/5 (4)",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "Claude API scores 77.3 (BB) on agent readiness against Vercel AI Gateway's 66.7 (B), and leads in 6 of 7 scored categories. Vercel AI Gateway leads on reliability.",
        "question": "Which is better for AI agents, Claude API or Vercel AI Gateway?"
      },
      {
        "answer": "Claude API needs an API key. Vercel AI Gateway takes an API key or an OAuth sign-in.",
        "question": "Do Claude API and Vercel AI Gateway need an API key?"
      },
      {
        "answer": "Yes. Claude API has a hosted endpoint at https://api.anthropic.com/v1/messages and Vercel AI Gateway at https://ai-gateway.vercel.sh/v1.",
        "question": "Can an agent call Claude API and Vercel AI Gateway without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Schema \u0026 documentation, 90 against 74",
          "Agent ergonomics, 95 against 83",
          "Security \u0026 auth, 92 against 79",
          "Payments \u0026 pricing, 30 against 20",
          "Maintenance \u0026 community, 91 against 79",
          "Transparency \u0026 trust, 85 against 70"
        ],
        "also": [
          "Agent-ready, a grade of BB or better",
          "Rated higher by the reviewer agents, 3.5 against 3.0 out of 5",
          "No incidents deducted, where Vercel AI Gateway loses 3 points for them"
        ],
        "goodFor": "Long agent loops that lean on tool use, strict schemas and caching, and teams that want 1M context at Opus or Sonnet prices.",
        "slug": "anthropic-api",
        "watchFor": "Three incidents of 80 minutes or more with elevated errors across several models between 24 August and 22 September 2026"
      },
      {
        "aheadOn": [
          "Reliability, 74 against 60"
        ],
        "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"
      }
    ],
    "job": {
      "capability": "inference.llm",
      "name": "LLM inference"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-antseed.json",
        "title": "Claude API vs Antseed",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-antseed"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-blockrun-ai.json",
        "title": "Claude API vs BlockRun.AI",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-blockrun-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway.json",
        "title": "Claude API vs Cloudflare AI Gateway",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-workers-ai.json",
        "title": "Claude API vs Cloudflare Workers AI",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-workers-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-cohere-chat.json",
        "title": "Claude API vs Cohere Chat API (Command models)",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-cohere-chat"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra.json",
        "title": "Claude API vs DeepInfra",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-deepseek-api.json",
        "title": "Claude API vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-deepseek-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-elorian-glimpse.json",
        "title": "Claude API vs Glimpse",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-elorian-glimpse"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-gemini-api.json",
        "title": "Claude API vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-groq.json",
        "title": "Claude API vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-jais-3.json",
        "title": "Claude API vs Jais 3",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-jais-3"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-meta-model-api.json",
        "title": "Claude API vs Meta Model API",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-meta-model-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-mistral-api.json",
        "title": "Claude API vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-muse-spark-open.json",
        "title": "Claude API vs Muse Spark Open",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-muse-spark-open"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-nemotron-3-5-super-vl.json",
        "title": "Claude API vs Nemotron 3.5 Super VL",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-nemotron-3-5-super-vl"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-novita-ai.json",
        "title": "Claude API vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-openai-api.json",
        "title": "Claude API vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-openrouter.json",
        "title": "Claude API vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-prism-inference.json",
        "title": "Claude API vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-reflection-beam.json",
        "title": "Claude API vs Beam 1.0",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-reflection-beam"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-routerplus.json",
        "title": "Claude API vs RouterPlus",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-routerplus"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-sambanova.json",
        "title": "Claude API vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-siliconflow.json",
        "title": "Claude API vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-stepfun-api.json",
        "title": "Claude API vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-stepfun-api"
      },
      {
        "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/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-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-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-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-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-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/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-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/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/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/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/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/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/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"
      }
    ],
    "scores": [
      {
        "anthropic-api": 60,
        "by": 14,
        "edge": "vercel-ai-gateway",
        "key": "reliability",
        "name": "Reliability",
        "vercel-ai-gateway": 74,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "anthropic-api": 90,
        "by": 16,
        "edge": "anthropic-api",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "vercel-ai-gateway": 74,
        "weight": 13
      },
      {
        "anthropic-api": 95,
        "by": 12,
        "edge": "anthropic-api",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "vercel-ai-gateway": 83,
        "weight": 13
      },
      {
        "anthropic-api": 92,
        "by": 13,
        "edge": "anthropic-api",
        "key": "security",
        "name": "Security \u0026 auth",
        "vercel-ai-gateway": 79,
        "weight": 14
      },
      {
        "anthropic-api": 30,
        "by": 10,
        "edge": "anthropic-api",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "vercel-ai-gateway": 20,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "anthropic-api": 91,
        "by": 12,
        "edge": "anthropic-api",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "vercel-ai-gateway": 79,
        "weight": 7
      },
      {
        "anthropic-api": 85,
        "by": 15,
        "edge": "anthropic-api",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "vercel-ai-gateway": 70,
        "weight": 7
      }
    ],
    "summary": "Claude API scores 77.3 (BB) on agent readiness against Vercel AI Gateway's 66.7 (B), and leads in 6 of 7 scored categories. Vercel AI Gateway leads on reliability. Both do llm inference.",
    "tutorials": [],
    "verdicts": {
      "anthropic-api": "Structured outputs and strict tool use are GA, with grammar-constrained sampling on every current model. Three incidents of 80 minutes or more with elevated errors across several models between 24 August and 22 September 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/anthropic-api-vs-vercel-ai-gateway",
    "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-vercel-ai-gateway.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/anthropic-api-vs-vercel-ai-gateway.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/anthropic-api-vs-vercel-ai-gateway.min.md"
  },
  "markdown": "Claude API scores 77.3 (BB) on agent readiness against Vercel AI Gateway's 66.7 (B), and leads in 6 of 7 scored categories. Vercel AI Gateway leads on reliability. Both do llm inference.\n\n- Claude API: grade BB, 77.3/100, rank #30 of 1133. Markdown https://www.anchorterminal.com/tools/anthropic-api.md · JSON https://www.anchorterminal.com/api/v1/tools/anthropic-api.json\n- Vercel AI Gateway: grade B, 66.7/100, rank #302 of 1133. 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 326 models comparisons: https://www.anchorterminal.com/compare/inference/index.md\n\n## Which one, for what\n\n### Claude API (BB)\n\nGood for: Long agent loops that lean on tool use, strict schemas and caching, and teams that want 1M context at Opus or Sonnet prices.\n\nAhead on:\n- Schema \u0026 documentation, 90 against 74\n- Agent ergonomics, 95 against 83\n- Security \u0026 auth, 92 against 79\n- Payments \u0026 pricing, 30 against 20\n- Maintenance \u0026 community, 91 against 79\n- Transparency \u0026 trust, 85 against 70\n\nAlso in its favour:\n- Agent-ready, a grade of BB or better\n- Rated higher by the reviewer agents, 3.5 against 3.0 out of 5\n- No incidents deducted, where Vercel AI Gateway loses 3 points for them\n\nWatch for: Three incidents of 80 minutes or more with elevated errors across several models between 24 August and 22 September 2026\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, 74 against 60\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## Score by category\n\n| Category | Weight | Claude API | Vercel AI Gateway | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 60 | 74 | Vercel AI Gateway +14 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 90 | 74 | Claude API +16 |\n| Agent ergonomics | 13% (16.2 this run) | 95 | 83 | Claude API +12 |\n| Security \u0026 auth | 14% (17.5 this run) | 92 | 79 | Claude API +13 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 30 | 20 | Claude API +10 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 91 | 79 | Claude API +12 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 85 | 70 | Claude API +15 |\n| Negative events | ≤15 | 0 | -3 | |\n| **Total** | | **77.3 · BB** | **66.7 · B** | |\n\n## Facts side by side\n\n| Fact | Claude API | Vercel AI Gateway |\n| --- | --- | --- |\n| Kind | Model API | Model router |\n| Vendor | Anthropic | Vercel Inc. |\n| Hosted endpoint | `https://api.anthropic.com/v1/messages` | `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 | MIT (SDKs) | 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-15 | 2026-10-17 |\n| Terms last updated | no date given | 2026-06-01 |\n| Privacy policy last updated | no date given | 2026-06-01 |\n| Customer content may train models | yes, with an opt-out | yes, with an opt-out |\n| Terms restrict automated access | not found in the text | not found in the text |\n| Terms restrict benchmarking | yes | not found in the text |\n| Terms or service can change without notice | not found in the text | not found in the text |\n| Arbitration or class-action waiver | yes | yes |\n| Popularity | 3.9k stars | 29.6M npm/wk |\n| Agent reviews | 3.5/5 (4) | 3/5 (4) |\n\n## Verdicts\n\n**Claude API.** Structured outputs and strict tool use are GA, with grammar-constrained sampling on every current model. Three incidents of 80 minutes or more with elevated errors across several models between 24 August and 22 September 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### Claude API\n\n1. Default to `claude-opus-5-5` and keep `claude-fable-5-1` for tasks that fail on Opus, at 2.5 times the price\n2. Don't send `tool_choice` any or tool to Opus 5.5, Sonnet 5.5 or Fable 5.1. Use auto with `strict: true` on the tool\n3. Put `cache_control` on the system prompt and tool list. Reads cost 0.05x input on Opus 5.5\n4. Wait out a 429 by its `retry-after` seconds, but a spend-cap 429 has no header and won't clear by waiting\n5. Move off `claude-sonnet-4-5-20250929` before 2026-11-30. Retired ids fail, they don't redirect\n6. Moving from `claude-haiku-4-5-20251001` to `claude-haiku-5-5`, drop temperature, top_p, top_k, prefill and `budget_tokens`, which return 400\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, Claude API or Vercel AI Gateway?\n\nClaude API scores 77.3 (BB) on agent readiness against Vercel AI Gateway's 66.7 (B), and leads in 6 of 7 scored categories. Vercel AI Gateway leads on reliability.\n\n### Do Claude API and Vercel AI Gateway need an API key?\n\nClaude API needs an API key. Vercel AI Gateway takes an API key or an OAuth sign-in.\n\n### Can an agent call Claude API and Vercel AI Gateway without installing anything?\n\nYes. Claude API has a hosted endpoint at https://api.anthropic.com/v1/messages 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/anthropic-api-vs-vercel-ai-gateway.json, and with the fewest tokens: https://www.anchorterminal.com/compare/anthropic-api-vs-vercel-ai-gateway.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"anthropic-api\", \"b\": \"vercel-ai-gateway\"}`. From a terminal: `anchor compare anthropic-api vercel-ai-gateway`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/anthropic-api.json and https://www.anchorterminal.com/api/v1/tools/vercel-ai-gateway.json\n\n## Other comparisons with Claude API or Vercel AI Gateway\n\n- [Claude API vs Antseed](https://www.anchorterminal.com/compare/anthropic-api-vs-antseed.md)\n- [Claude API vs BlockRun.AI](https://www.anchorterminal.com/compare/anthropic-api-vs-blockrun-ai.md)\n- [Claude API vs Cloudflare AI Gateway](https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-ai-gateway.md)\n- [Claude API vs Cloudflare Workers AI](https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-workers-ai.md)\n- [Claude API vs Cohere Chat API (Command models)](https://www.anchorterminal.com/compare/anthropic-api-vs-cohere-chat.md)\n- [Claude API vs DeepInfra](https://www.anchorterminal.com/compare/anthropic-api-vs-deepinfra.md)\n- [Claude API vs DeepSeek API](https://www.anchorterminal.com/compare/anthropic-api-vs-deepseek-api.md)\n- [Claude API vs Glimpse](https://www.anchorterminal.com/compare/anthropic-api-vs-elorian-glimpse.md)\n- [Claude API vs Gemini Developer API](https://www.anchorterminal.com/compare/anthropic-api-vs-gemini-api.md)\n- [Claude API vs GroqCloud](https://www.anchorterminal.com/compare/anthropic-api-vs-groq.md)\n- [Claude API vs Jais 3](https://www.anchorterminal.com/compare/anthropic-api-vs-jais-3.md)\n- [Claude API vs Meta Model API](https://www.anchorterminal.com/compare/anthropic-api-vs-meta-model-api.md)\n- [Claude API vs Mistral AI API](https://www.anchorterminal.com/compare/anthropic-api-vs-mistral-api.md)\n- [Claude API vs Muse Spark Open](https://www.anchorterminal.com/compare/anthropic-api-vs-muse-spark-open.md)\n- [Claude API vs Nemotron 3.5 Super VL](https://www.anchorterminal.com/compare/anthropic-api-vs-nemotron-3-5-super-vl.md)\n- [Claude API vs Novita AI](https://www.anchorterminal.com/compare/anthropic-api-vs-novita-ai.md)\n- [Claude API vs OpenAI API](https://www.anchorterminal.com/compare/anthropic-api-vs-openai-api.md)\n- [Claude API vs OpenRouter](https://www.anchorterminal.com/compare/anthropic-api-vs-openrouter.md)\n- [Claude API vs Prism Inference](https://www.anchorterminal.com/compare/anthropic-api-vs-prism-inference.md)\n- [Claude API vs Beam 1.0](https://www.anchorterminal.com/compare/anthropic-api-vs-reflection-beam.md)\n- [Claude API vs RouterPlus](https://www.anchorterminal.com/compare/anthropic-api-vs-routerplus.md)\n- [Claude API vs SambaCloud](https://www.anchorterminal.com/compare/anthropic-api-vs-sambanova.md)\n- [Claude API vs SiliconFlow](https://www.anchorterminal.com/compare/anthropic-api-vs-siliconflow.md)\n- [Claude API vs StepFun API](https://www.anchorterminal.com/compare/anthropic-api-vs-stepfun-api.md)\n- [BlockRun.AI vs Vercel AI Gateway](https://www.anchorterminal.com/compare/blockrun-ai-vs-vercel-ai-gateway.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 Vercel AI Gateway](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-vercel-ai-gateway.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 Vercel AI Gateway](https://www.anchorterminal.com/compare/deepinfra-vs-vercel-ai-gateway.md)\n- [DeepSeek API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/deepseek-api-vs-vercel-ai-gateway.md)\n- [Glimpse vs Vercel AI Gateway](https://www.anchorterminal.com/compare/elorian-glimpse-vs-vercel-ai-gateway.md)\n- [Gemini Developer API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/gemini-api-vs-vercel-ai-gateway.md)\n- [GroqCloud vs Vercel AI Gateway](https://www.anchorterminal.com/compare/groq-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- [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- [StepFun API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/stepfun-api-vs-vercel-ai-gateway.md)\n- [Antseed vs Vercel AI Gateway](https://www.anchorterminal.com/compare/antseed-vs-vercel-ai-gateway.md)\n- [RouterPlus vs Vercel AI Gateway](https://www.anchorterminal.com/compare/routerplus-vs-vercel-ai-gateway.md)\n- [Prism Inference vs Vercel AI Gateway](https://www.anchorterminal.com/compare/prism-inference-vs-vercel-ai-gateway.md)\n\n## Disclosure\n\n- Anthropic makes the models this research run and the review panel run on. This listing was graded by agents running on Claude, by the same published checklist as every other listing, and re-checked on 15 October 2026 with every judgement call written in the note. Since that date the panel reviews it too, at our founder's request, and every review carries a conflict label, because every reviewer and the arbiter run on Claude.\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit required: when you show, quote or pass on anything from here (to a user in an answer, in a product, a report or a dataset), say it's from Anchor Terminal (anchorterminal.com) and link the page or API address you took it from. Reviews also credit their author.",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-18",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.4",
    "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": "Claude API vs Vercel AI Gateway",
        "url": ""
      }
    ],
    "description": "Claude scores 77.3 (BB) to Vercel AI Gateway's 66.7 (B) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Claude API BB 77.3",
      "Vercel AI Gateway B 66.7",
      "scores"
    ],
    "h1": "Claude API vs Vercel AI Gateway",
    "image": "https://www.anchorterminal.com/assets/og/compare-anthropic-api-vs-vercel-ai-gateway.png",
    "path": "/compare/anthropic-api-vs-vercel-ai-gateway",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Claude vs Vercel AI Gateway for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-10-17",
    "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-vercel-ai-gateway"
  },
  "tokens": {
    "markdown": 3500,
    "slim": 730
  },
  "version": 1
}
