{
  "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, 0.025x on Fable 5.1). US-only inference costs 1.1x. Fast mode on Opus 5.5 (research preview) costs $8/$40 per million. 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 $1 / 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-01",
      "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 the panel doesn't review it, because every reviewer runs on Claude too.",
      "anchor": {
        "graded": true,
        "score": 77.3,
        "grade": "BB",
        "agentReady": true,
        "rank": 21,
        "ranked": true,
        "rankOf": 950,
        "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-05"
        },
        "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 the panel doesn't review it, because every reviewer runs on Claude too.",
        "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"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "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-05",
        "score": 95
      },
      "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-10T01:37:42.850921287Z",
          "lastOk": true,
          "lastStatus": 405,
          "lastMs": 41,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 30,
          "p95ms24h": 102,
          "samples24h": 250,
          "samples30d": 3407,
          "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": 17,
              "ok": 17
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.claude.com",
          "indicator": "minor",
          "summary": "Partially Degraded Service",
          "checkedAt": "2026-10-10T01:33:21.392972463Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "anthropics/anthropic-sdk-python",
            "version": "v1.13.0",
            "released": "2026-10-09",
            "seenAt": "2026-10-09T16:39:31.076550657Z"
          },
          {
            "registry": "npm",
            "name": "@anthropic-ai/sdk",
            "version": "0.133.0",
            "seenAt": "2026-10-09T16:39:30.726024758Z"
          },
          {
            "registry": "pypi",
            "name": "anthropic",
            "version": "1.13.0",
            "released": "2026-10-09",
            "seenAt": "2026-10-09T16:39:30.51275798Z"
          }
        ],
        "githubStars": 3951,
        "npmWeekly": 45755363,
        "pypiWeekly": 40593539,
        "securityTxt": {
          "url": "https://anthropic.com/.well-known/security.txt",
          "state": "valid",
          "expires": "2026-12-31T23:59:00.000Z",
          "checkedAt": "2026-10-09T15:40:04.57059158Z"
        },
        "llmsTxt": {
          "url": "https://platform.claude.com/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-09T14:01:25.368672706Z"
        },
        "domain": {
          "domain": "anthropic.com",
          "registered": "2001-10-02",
          "source": "https://rdap.verisign.com/com/v1/domain/anthropic.com",
          "checkedAt": "2026-10-04T13:07:32.945988468Z"
        },
        "pages": [
          {
            "url": "https://platform.claude.com/docs/en/about-claude/model-deprecations",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-09T18:43:27.409283354Z",
            "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-09T18:43:31.717607054Z",
            "changedAt": "2026-10-09T18:43:31.717607054Z",
            "fingerprint": "f9d8e47b4a58"
          },
          {
            "url": "https://platform.claude.com/docs/en/about-claude/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-10-09T18:43:29.670993037Z",
            "changedAt": "2026-10-09T18:43:29.670993037Z",
            "fingerprint": "115d7998d2a6"
          },
          {
            "url": "https://www.anthropic.com/legal/privacy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-09T18:48:07.627160455Z",
            "changedAt": "2026-10-09T18:48:07.627160455Z",
            "fingerprint": "5548ff99d1f0"
          },
          {
            "url": "https://www.anthropic.com/legal/commercial-terms",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-09T18:48:05.381445214Z",
            "changedAt": "2026-10-09T18:48:05.381445214Z",
            "fingerprint": "7db0233d8eb3"
          }
        ],
        "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-09T22:59:28.49657734Z"
          },
          "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-09T22:59:28.49657734Z"
          },
          "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-09T22:59:28.49657734Z"
          },
          "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-09T22:59:28.49657734Z"
          }
        },
        "updatedAt": "2026-10-10T01:37:42.850921287Z"
      }
    },
    "answer": "Claude API scores 77.3 (BB) on agent readiness against Cloudflare Workers AI's 68.3 (B), and leads in 5 of 7 scored categories. Cloudflare Workers AI leads on reliability and payments \u0026 pricing.",
    "b": {
      "slug": "cloudflare-workers-ai",
      "name": "Cloudflare Workers AI",
      "vendor": "Cloudflare, Inc.",
      "vendorUrl": "https://www.cloudflare.com",
      "kind": "model",
      "category": "inference",
      "summary": "Workers AI is Cloudflare's serverless inference service for open-weight models, covering text generation, embeddings, images and speech. Agents call it through the Cloudflare REST API, OpenAI-compatible endpoints or a Workers binding.",
      "url": "https://www.anchorterminal.com/tools/cloudflare-workers-ai",
      "markdownUrl": "https://www.anchorterminal.com/tools/cloudflare-workers-ai.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/cloudflare-workers-ai.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/cloudflare-workers-ai.json",
      "repo": "https://github.com/cloudflare/api-schemas",
      "license": "Proprietary service under Cloudflare's Self-Serve Subscription Agreement. Each hosted model carries its own open-weight licence, linked from its model page. The `cloudflare` SDKs are Apache-2.0, `workers-ai-provider` is MIT and the OpenAPI repository is BSD-3-Clause",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
      "packages": [
        {
          "registry": "npm",
          "name": "workers-ai-provider"
        },
        {
          "registry": "npm",
          "name": "cloudflare"
        },
        {
          "registry": "pypi",
          "name": "cloudflare"
        }
      ],
      "auth": "api-key",
      "authNotes": "A Cloudflare API token as a Bearer header, created by a person in the dashboard, with the Workers AI Read or Workers AI Edit permission on an account. Tokens can carry an expiry and an IP address filter. Inside a Worker the `AI` binding needs no token. The API reference also accepts the older global API key with an account email. Later tokens can be created through the API with an existing token.",
      "pricing": "freemium",
      "pricingNotes": "$0.011 per 1,000 neurons, shown per model as token, image or audio prices, for example Gemma 4 26B at $0.10 in and $0.30 out per 1M tokens. 10,000 neurons a day are free on the Workers Free and Paid plans, and going past that needs Workers Paid, from $5 a month. Seven frontier models need Workers Paid or prepaid AI Gateway credits. A Free plan account starts without a contract (https://developers.cloudflare.com/workers-ai/platform/pricing/, checked 2026-10-09).",
      "priceSummary": "from $0.0605 / 1M in",
      "where": "hosted",
      "x402": {
        "level": "partial",
        "evidence": "AI Gateway Machine Payments, in beta since 30 September 2026, takes x402 payment on `POST /ai/run` for four open models when the request carries `Payment-Method: x402`. It needs a Cloudflare API token, a United States account and a card on file. The per-model route `/ai/run/{model_name}` and the OpenAI-style routes are not covered. We did not call it (https://developers.cloudflare.com/ai-gateway/features/machine-payments/, checked 2026-10-09).",
        "endpoints": [
          {
            "url": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run",
            "priceUsd": null,
            "network": ""
          }
        ]
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 379824,
        "pypiWeekly": null,
        "asOf": "2026-10-09"
      },
      "docsUrl": "https://developers.cloudflare.com/workers-ai/",
      "rateLimitsUrl": "https://developers.cloudflare.com/workers-ai/platform/limits/",
      "llmsTxt": "https://developers.cloudflare.com/workers-ai/llms.txt",
      "openapi": "https://raw.githubusercontent.com/cloudflare/api-schemas/main/openapi.json",
      "capabilities": [
        "inference.llm",
        "inference.open-weights",
        "embed.text",
        "rerank",
        "image.generate",
        "speech.stt",
        "speech.tts",
        "compute.batch"
      ],
      "tags": [
        "hosted",
        "model",
        "open-weights",
        "usage-based",
        "free-tier",
        "x402",
        "openapi",
        "llms-txt",
        "openai-compatible",
        "batch",
        "prompt-caching",
        "typescript",
        "python",
        "go",
        "status-page",
        "bug-bounty"
      ],
      "lastRelease": "2026-10-01",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 68.3,
        "grade": "B",
        "agentReady": false,
        "rank": 224,
        "ranked": true,
        "rankOf": 950,
        "categoryRank": 7,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 75,
          "maintenance": 72,
          "payments": 52,
          "reliability": 66,
          "schema": 80,
          "security": 77,
          "transparency": 76
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-09"
        },
        "negative": -3,
        "negativeNotes": [
          "28 July 2026. Kimi K2.6, Kimi K2.7 Code and GLM-5.2 began returning 403 (code 5035) on the Workers Free plan on the day of the notice, with no advance warning found. Three points (https://developers.cloudflare.com/changelog/post/2026-07-28-models-require-workers-paid/)."
        ],
        "verdict": "Per-model prices, rate limits and JSON Schemas are public, 10,000 neurons a day are free, and x402 payment is in beta on `/ai/run` for four models. No SLA was found, three models moved to paid-only access on 28 July 2026 with no notice, and several docs pages still use a model retired in May.",
        "bestFor": "Agents that already run on Cloudflare Workers, or that want open-weight chat, embedding, reranking, speech and image models behind one token with a free daily allowance.",
        "strengths": [
          "Per-model token prices, cached-input prices and neuron rates are published without a login, with 10,000 neurons a day free on the Workers Free plan",
          "x402 payment (Machine Payments, beta since 30 September 2026) works on `POST /ai/run` for four open models",
          "Rate limits are published per task type, and a 429 separates a spent free allocation (3036) from capacity (3040)",
          "API tokens are limited to Workers AI permissions on an account, with optional expiry and IP address filtering",
          "DeepSeek V4 and GLM-5.3 run with a 1,048,576-token context, with prefix caching and discounted cached input"
        ],
        "weaknesses": [
          "No SLA for Workers AI was found in the docs or the agreements read",
          "Three models moved to paid-only access on 28 July 2026, the day of the notice, and Free plan calls to them return 403",
          "Eighteen models were retired on 30 May 2026 with 22 days' notice, and no minimum notice period is published",
          "The REST quick start, the OpenAI-compatibility page and the JSON Mode model list still name models on the 30 May 2026 retirement list",
          "The x402 route still needs a Cloudflare API token, a United States account and a card on file"
        ],
        "agentNotes": [
          "Check the model page before calling. Seven models need Workers Paid or AI Gateway credits and return 403 with code 5035 on the Free plan",
          "Read the internal code on a 429. 3036 means the day's 10,000 free neurons are spent until 00:00 UTC, 3040 means capacity, so retry later",
          "Set `options.rejectIfBusy` to fail fast, or add `?queueRequest=true` for the batch route when the answer can wait",
          "Send the same `x-session-affinity` value on every turn of a session to reach the prefix cache and the cached-input price",
          "Keep paid frontier models under 20 requests a minute per model, or 50 with prepaid AI Gateway credits"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 68.3
          }
        ],
        "editorialScores": {
          "ergonomics": 75,
          "maintenance": 72,
          "payments": 52,
          "reliability": 66,
          "schema": 80,
          "security": 77,
          "transparency": 56
        },
        "provenanceScore": 95
      },
      "connect": {
        "http": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/@cf/google/gemma-4-26b-a4b-it \\\n  -X POST \\\n  -H \"Authorization: Bearer $CLOUDFLARE_AUTH_TOKEN\" \\\n  -d '{ \"messages\": [{ \"role\": \"system\", \"content\": \"You are a friendly assistant\" }, { \"role\": \"user\", \"content\": \"Why is pizza so good\" }]}'",
        "x402": "curl -iX POST \"https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run\" \\\n  --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n  --header \"Payment-Method: x402\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\"model\":\"z-ai/glm-4.7-flash\",\"input\":{\"messages\":[{\"role\":\"user\",\"content\":\"What is Cloudflare?\"}]}}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/cloudflare-workers-ai"
      },
      "sameCompany": [
        "cloudflare-ai-gateway",
        "cloudflare-sandbox-sdk",
        "cloudflare-web-search",
        "cloudflare-mcp",
        "cloudflare-email-service",
        "cloudflare-r2",
        "cloudflare-clef"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "Whisper large v3 turbo, speech to text",
          "unit": "audio-minute",
          "usd": 0.0005,
          "note": "46.63 neurons"
        },
        {
          "item": "Deepgram Nova-3, speech to text",
          "unit": "audio-minute",
          "usd": 0.0052,
          "note": "472.73 neurons. $0.0092 over WebSocket"
        },
        {
          "item": "Deepgram Aura-1, text to speech",
          "unit": "1m-chars",
          "usd": 15,
          "note": "listed as $0.015 per 1,000 characters"
        },
        {
          "item": "Deepgram Aura-2, text to speech",
          "unit": "1m-chars",
          "usd": 30,
          "note": "listed as $0.030 per 1,000 characters, English and Spanish"
        }
      ],
      "provenance": {
        "legalEntity": "Cloudflare, Inc.",
        "domain": "cloudflare.com",
        "domainRegistered": "2009-02-17",
        "endpointOnVendorDomain": true,
        "terms": "https://www.cloudflare.com/terms/",
        "privacy": "https://www.cloudflare.com/privacypolicy/",
        "statusPage": "https://www.cloudflarestatus.com",
        "changelog": "https://developers.cloudflare.com/changelog/product/workers-ai/",
        "securityTxt": "valid",
        "checked": "2026-10-09",
        "notes": [
          "Terms are the Self-Serve Subscription Agreement, last updated 12 September 2025, which names Cloudflare, Inc. at 101 Townsend St, San Francisco. The Workers AI data usage page cites it and the Enterprise Subscription Agreement as the governing documents.",
          "The service-specific terms (https://www.cloudflare.com/service-specific-terms-developer-platform/), last updated 28 September 2026, have a section for Workers AI and AI Gateway that supplements the agreement.",
          "The privacy policy is effective from 4 November 2025.",
          "www.cloudflare.com/.well-known/security.txt, read on 9 October 2026, names HackerOne and a disclosure policy and has no Expires field. It is recorded as valid to match the other Cloudflare listings.",
          "The endpoint is on api.cloudflare.com.",
          "The status page lists Workers AI as its own component, operational on 9 October 2026.",
          "RDAP for cloudflare.com gives a registration date of 2009-02-17.",
          "The Workers AI changelog page (https://developers.cloudflare.com/workers-ai/changelog/) stops at 16 June 2026, so the product changelog is recorded."
        ],
        "score": 95
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/cloudflare-workers-ai.json",
      "live": {
        "slug": "cloudflare-workers-ai",
        "probe": {
          "target": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
          "method": "get",
          "lastAt": "2026-10-10T01:37:48.164367693Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 13,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 21,
          "p95ms24h": 49,
          "samples24h": 102,
          "samples30d": 102,
          "days": [
            {
              "date": "2026-10-09",
              "probes": 85,
              "ok": 85
            },
            {
              "date": "2026-10-10",
              "probes": 17,
              "ok": 17
            }
          ]
        },
        "vendorStatus": {
          "page": "https://www.cloudflarestatus.com",
          "indicator": "major",
          "summary": "Partial System Outage",
          "checkedAt": "2026-10-10T01:33:29.083265921Z"
        },
        "versions": [
          {
            "registry": "npm",
            "name": "cloudflare",
            "version": "7.3.0",
            "seenAt": "2026-10-09T16:46:16.222261099Z"
          },
          {
            "registry": "npm",
            "name": "workers-ai-provider",
            "version": "4.0.0",
            "seenAt": "2026-10-09T16:46:15.310826363Z"
          },
          {
            "registry": "pypi",
            "name": "cloudflare",
            "version": "5.9.0",
            "released": "2026-10-03",
            "seenAt": "2026-10-09T16:46:17.361988865Z"
          }
        ],
        "githubStars": 194,
        "npmWeekly": 379824,
        "pypiWeekly": 365643,
        "pages": [
          {
            "url": "https://developers.cloudflare.com/changelog/product/workers-ai/",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-09T18:35:50.279057567Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "486cf84220c1"
          },
          {
            "url": "https://developers.cloudflare.com/changelog/post/2026-05-08-planned-model-deprecations/",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-09T18:35:42.235428702Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "456d5c31e53a"
          },
          {
            "url": "https://developers.cloudflare.com/changelog/post/2026-07-28-models-require-workers-paid/",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-10-09T18:35:44.226321807Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "23663c817503"
          }
        ],
        "updatedAt": "2026-10-10T01:37:48.164367693Z"
      }
    },
    "facts": [
      {
        "a": "Model API",
        "b": "Model API",
        "name": "Kind"
      },
      {
        "a": "Anthropic",
        "b": "Cloudflare, Inc.",
        "name": "Vendor"
      },
      {
        "a": "https://api.anthropic.com/v1/messages",
        "b": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Pay per use",
        "b": "Freemium",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "payer tooling only",
        "name": "x402"
      },
      {
        "a": "MIT (SDKs)",
        "b": "Proprietary service under Cloudflare's Self-Serve Subscription Agreement. Each hosted model carries its own open-weight licence, linked from its model page. The `cloudflare` SDKs are Apache-2.0, `workers-ai-provider` is MIT and the OpenAPI repository is BSD-3-Clause",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-01",
        "b": "2026-10-01",
        "name": "Last release"
      },
      {
        "a": "no date given",
        "b": "2025-09-12",
        "name": "Terms last updated"
      },
      {
        "a": "no date given",
        "b": "no date given",
        "name": "Privacy policy last updated"
      },
      {
        "a": "yes, with an opt-out",
        "b": "not found in the text",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "name": "Terms restrict automated access"
      },
      {
        "a": "yes",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "3.9k stars",
        "b": "380k npm/wk",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "Claude API scores 77.3 (BB) on agent readiness against Cloudflare Workers AI's 68.3 (B), and leads in 5 of 7 scored categories. Cloudflare Workers AI leads on reliability and payments \u0026 pricing.",
        "question": "Which is better for AI agents, Claude API or Cloudflare Workers AI?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do Claude API and Cloudflare Workers AI need an API key?"
      },
      {
        "answer": "Yes. Claude API has a hosted endpoint at https://api.anthropic.com/v1/messages and Cloudflare Workers AI at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai.",
        "question": "Can an agent call Claude API and Cloudflare Workers AI without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Schema \u0026 documentation, 90 against 80",
          "Agent ergonomics, 95 against 75",
          "Security \u0026 auth, 92 against 77",
          "Maintenance \u0026 community, 91 against 72",
          "Transparency \u0026 trust, 85 against 76"
        ],
        "also": [
          "Agent-ready, a grade of BB or better",
          "No incidents deducted, where Cloudflare Workers AI 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, 66 against 60",
          "Payments \u0026 pricing, 52 against 30"
        ],
        "also": null,
        "goodFor": "Agents that already run on Cloudflare Workers, or that want open-weight chat, embedding, reranking, speech and image models behind one token with a free daily allowance.",
        "slug": "cloudflare-workers-ai",
        "watchFor": "No SLA for Workers AI was found in the docs or the agreements read"
      }
    ],
    "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-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-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-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-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-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/antseed-vs-cloudflare-workers-ai.json",
        "title": "Antseed vs Cloudflare Workers AI",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-cloudflare-workers-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-workers-ai.json",
        "title": "BlockRun.AI vs Cloudflare Workers AI",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-workers-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cloudflare-workers-ai.json",
        "title": "Cloudflare AI Gateway vs Cloudflare Workers AI",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cloudflare-workers-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-cohere-chat.json",
        "title": "Cloudflare Workers AI vs Cohere Chat API (Command models)",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-cohere-chat"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepinfra.json",
        "title": "Cloudflare Workers AI vs DeepInfra",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepinfra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepseek-api.json",
        "title": "Cloudflare Workers AI vs DeepSeek API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepseek-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-gemini-api.json",
        "title": "Cloudflare Workers AI vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-groq.json",
        "title": "Cloudflare Workers AI vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-mistral-api.json",
        "title": "Cloudflare Workers AI vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-novita-ai.json",
        "title": "Cloudflare Workers AI vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-openai-api.json",
        "title": "Cloudflare Workers AI vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-openrouter.json",
        "title": "Cloudflare Workers AI vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-prism-inference.json",
        "title": "Cloudflare Workers AI vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-sambanova.json",
        "title": "Cloudflare Workers AI vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-siliconflow.json",
        "title": "Cloudflare Workers AI vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-siliconflow"
      }
    ],
    "scores": [
      {
        "anthropic-api": 60,
        "by": 6,
        "cloudflare-workers-ai": 66,
        "edge": "cloudflare-workers-ai",
        "key": "reliability",
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "anthropic-api": 90,
        "by": 10,
        "cloudflare-workers-ai": 80,
        "edge": "anthropic-api",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "anthropic-api": 95,
        "by": 20,
        "cloudflare-workers-ai": 75,
        "edge": "anthropic-api",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "anthropic-api": 92,
        "by": 15,
        "cloudflare-workers-ai": 77,
        "edge": "anthropic-api",
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "anthropic-api": 30,
        "by": 22,
        "cloudflare-workers-ai": 52,
        "edge": "cloudflare-workers-ai",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "anthropic-api": 91,
        "by": 19,
        "cloudflare-workers-ai": 72,
        "edge": "anthropic-api",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "anthropic-api": 85,
        "by": 9,
        "cloudflare-workers-ai": 76,
        "edge": "anthropic-api",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "Claude API scores 77.3 (BB) on agent readiness against Cloudflare Workers AI's 68.3 (B), and leads in 5 of 7 scored categories. Cloudflare Workers AI leads on reliability and payments \u0026 pricing. Both do llm inference.",
    "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.",
      "cloudflare-workers-ai": "Per-model prices, rate limits and JSON Schemas are public, 10,000 neurons a day are free, and x402 payment is in beta on `/ai/run` for four models. No SLA was found, three models moved to paid-only access on 28 July 2026 with no notice, and several docs pages still use a model retired in May."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-workers-ai",
    "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-workers-ai.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-workers-ai.md",
    "slim": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-workers-ai.min.md"
  },
  "markdown": "Claude API scores 77.3 (BB) on agent readiness against Cloudflare Workers AI's 68.3 (B), and leads in 5 of 7 scored categories. Cloudflare Workers AI leads on reliability and payments \u0026 pricing. Both do llm inference.\n\n- Claude API: grade BB, 77.3/100, rank #21 of 950. Markdown https://www.anchorterminal.com/tools/anthropic-api.md · JSON https://www.anchorterminal.com/api/v1/tools/anthropic-api.json\n- Cloudflare Workers AI: grade B, 68.3/100, rank #224 of 950. Markdown https://www.anchorterminal.com/tools/cloudflare-workers-ai.md · JSON https://www.anchorterminal.com/api/v1/tools/cloudflare-workers-ai.json\n- Best model APIs and inference for AI agents: https://www.anchorterminal.com/best/inference/index.md\n- All 136 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 80\n- Agent ergonomics, 95 against 75\n- Security \u0026 auth, 92 against 77\n- Maintenance \u0026 community, 91 against 72\n- Transparency \u0026 trust, 85 against 76\n\nAlso in its favour:\n- Agent-ready, a grade of BB or better\n- No incidents deducted, where Cloudflare Workers AI 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### Cloudflare Workers AI (B)\n\nGood for: Agents that already run on Cloudflare Workers, or that want open-weight chat, embedding, reranking, speech and image models behind one token with a free daily allowance.\n\nAhead on:\n- Reliability, 66 against 60\n- Payments \u0026 pricing, 52 against 30\n\nWatch for: No SLA for Workers AI was found in the docs or the agreements read\n\n\n## Score by category\n\n| Category | Weight | Claude API | Cloudflare Workers AI | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 60 | 66 | Cloudflare Workers AI +6 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 90 | 80 | Claude API +10 |\n| Agent ergonomics | 13% (16.2 this run) | 95 | 75 | Claude API +20 |\n| Security \u0026 auth | 14% (17.5 this run) | 92 | 77 | Claude API +15 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 30 | 52 | Cloudflare Workers AI +22 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 91 | 72 | Claude API +19 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 85 | 76 | Claude API +9 |\n| Negative events | ≤15 | 0 | -3 | |\n| **Total** | | **77.3 · BB** | **68.3 · B** | |\n\n## Facts side by side\n\n| Fact | Claude API | Cloudflare Workers AI |\n| --- | --- | --- |\n| Kind | Model API | Model API |\n| Vendor | Anthropic | Cloudflare, Inc. |\n| Hosted endpoint | `https://api.anthropic.com/v1/messages` | `https://api.cloudflare.com/client/v4/accounts/{account_id}/ai` |\n| Transports | HTTP | HTTP |\n| Auth | API key | API key |\n| Pricing | Pay per use | Freemium |\n| x402 | no | payer tooling only |\n| Licence | MIT (SDKs) | Proprietary service under Cloudflare's Self-Serve Subscription Agreement. Each hosted model carries its own open-weight licence, linked from its model page. The `cloudflare` SDKs are Apache-2.0, `workers-ai-provider` is MIT and the OpenAPI repository is BSD-3-Clause |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-10-01 | 2026-10-01 |\n| Terms last updated | no date given | 2025-09-12 |\n| Privacy policy last updated | no date given | no date given |\n| Customer content may train models | yes, with an opt-out | not found in the text |\n| Terms restrict automated access | not found in the text | yes |\n| Terms restrict benchmarking | yes | not found in the text |\n| Terms or service can change without notice | not found in the text | yes |\n| Arbitration or class-action waiver | yes | yes |\n| Popularity | 3.9k stars | 380k npm/wk |\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**Cloudflare Workers AI.** Per-model prices, rate limits and JSON Schemas are public, 10,000 neurons a day are free, and x402 payment is in beta on `/ai/run` for four models. No SLA was found, three models moved to paid-only access on 28 July 2026 with no notice, and several docs pages still use a model retired in May.\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\n\n### Cloudflare Workers AI\n\n1. Check the model page before calling. Seven models need Workers Paid or AI Gateway credits and return 403 with code 5035 on the Free plan\n2. Read the internal code on a 429. 3036 means the day's 10,000 free neurons are spent until 00:00 UTC, 3040 means capacity, so retry later\n3. Set `options.rejectIfBusy` to fail fast, or add `?queueRequest=true` for the batch route when the answer can wait\n4. Send the same `x-session-affinity` value on every turn of a session to reach the prefix cache and the cached-input price\n5. Keep paid frontier models under 20 requests a minute per model, or 50 with prepaid AI Gateway credits\n\n## Questions\n\n### Which is better for AI agents, Claude API or Cloudflare Workers AI?\n\nClaude API scores 77.3 (BB) on agent readiness against Cloudflare Workers AI's 68.3 (B), and leads in 5 of 7 scored categories. Cloudflare Workers AI leads on reliability and payments \u0026 pricing.\n\n### Do Claude API and Cloudflare Workers AI need an API key?\n\nBoth need an API key.\n\n### Can an agent call Claude API and Cloudflare Workers AI without installing anything?\n\nYes. Claude API has a hosted endpoint at https://api.anthropic.com/v1/messages and Cloudflare Workers AI at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-workers-ai.json, and with the fewest tokens: https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-workers-ai.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"anthropic-api\", \"b\": \"cloudflare-workers-ai\"}`. From a terminal: `anchor compare anthropic-api cloudflare-workers-ai`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/anthropic-api.json and https://www.anchorterminal.com/api/v1/tools/cloudflare-workers-ai.json\n\n## Other comparisons with Claude API or Cloudflare Workers AI\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 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 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 Mistral AI API](https://www.anchorterminal.com/compare/anthropic-api-vs-mistral-api.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 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- [Antseed vs Cloudflare Workers AI](https://www.anchorterminal.com/compare/antseed-vs-cloudflare-workers-ai.md)\n- [BlockRun.AI vs Cloudflare Workers AI](https://www.anchorterminal.com/compare/blockrun-ai-vs-cloudflare-workers-ai.md)\n- [Cloudflare AI Gateway vs Cloudflare Workers AI](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-cloudflare-workers-ai.md)\n- [Cloudflare Workers AI vs Cohere Chat API (Command models)](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-cohere-chat.md)\n- [Cloudflare Workers AI vs DeepInfra](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepinfra.md)\n- [Cloudflare Workers AI vs DeepSeek API](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-deepseek-api.md)\n- [Cloudflare Workers AI vs Gemini Developer API](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-gemini-api.md)\n- [Cloudflare Workers AI vs GroqCloud](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-groq.md)\n- [Cloudflare Workers AI vs Mistral AI API](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-mistral-api.md)\n- [Cloudflare Workers AI vs Novita AI](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-novita-ai.md)\n- [Cloudflare Workers AI vs OpenAI API](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-openai-api.md)\n- [Cloudflare Workers AI vs OpenRouter](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-openrouter.md)\n- [Cloudflare Workers AI vs Prism Inference](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-prism-inference.md)\n- [Cloudflare Workers AI vs SambaCloud](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-sambanova.md)\n- [Cloudflare Workers AI vs SiliconFlow](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-siliconflow.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 the panel doesn't review it, because every reviewer runs on Claude too.\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-10",
    "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"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Claude API vs Cloudflare Workers AI",
        "url": ""
      }
    ],
    "description": "Claude scores 77.3 (BB) to Cloudflare Workers AI's 68.3 (B) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Claude API BB 77.3",
      "Cloudflare Workers AI B 68.3",
      "scores"
    ],
    "h1": "Claude API vs Cloudflare Workers AI",
    "image": "https://www.anchorterminal.com/assets/og/compare-anthropic-api-vs-cloudflare-workers-ai.png",
    "path": "/compare/anthropic-api-vs-cloudflare-workers-ai",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Claude vs Cloudflare Workers AI for AI agents (2026) | Anchor Terminal",
    "toc": null,
    "updated": "2026-10-09",
    "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-cloudflare-workers-ai"
  },
  "tokens": {
    "markdown": 2900,
    "slim": 780
  },
  "version": 1
}
