Head to head · LLM inference · October 2026 research run
Claude Fable 5.2 vs Cloudflare AI Gateway
Claude Fable 5.2 scores 77.3 (BB) on agent readiness against Cloudflare AI Gateway's 67.8 (B), and leads in 5 of 7 scored categories. Cloudflare AI Gateway leads on reliability and payments & pricing. Both do llm inference.
Best model APIs and inference for AI agents · All 956 models comparisons
Which one, for what
Best for Agents doing long, hard work (large coding changes, multi-step research, computer use) that can pay frontier prices, accept 30-day retention and don't need to force a tool call.
Ahead on
- Schema & documentation, 90 against 75
- Agent ergonomics, 95 against 73
- Security & auth, 92 against 80
- Maintenance & community, 91 against 75
- Transparency & trust, 85 against 74
Also in its favour
- Agent-ready, a grade of BB or better
- No incidents deducted, where Cloudflare AI Gateway loses 3 points for them
Watch for
Adaptive thinking is always on and can't be turned off
Best for Teams that already hold a Cloudflare account and want one token, one bill, logs, budgets and fallbacks in front of several model providers, or that want to keep their own provider keys behind a proxy with spend limits.
Ahead on
- Reliability, 66 against 60
- Payments & pricing, 52 against 30
Watch for
API tokens are account-scoped. Any token with AI Gateway Run can send requests through every gateway in the account and spend its stored provider keys
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Agent ergonomics Claude Fable 5.2 +22
Claude Fable 5.2 95
Model reading for claude-fable-5-2 on the Claude API. Platform facts are the Claude API listing's (anthropic-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Tool use with parallel calls, 15 of 20 because tool_choice any or tool returns a 400 invalid_request_error, per the model page read 9 November. Structured outputs (15). Prompt caching with reads at $0.20, 0.025x input, per the pricing page read 9 November (15). 1M context by default and at most, 128K output (15). Batch at half price (10). Official SDKs in seven languages (10). Documented errors, retry-after and retries (15). 15 + 15 + 15 + 15 + 10 + 10 + 15 = 95.
Cloudflare AI Gateway 73
Router, read on the model lines (tool use, structured output, caching, context, batch, SDKs, errors). Three provider request formats pass through, OpenAI Chat Completions, OpenAI Responses and Anthropic Messages, and provider-native tools such as web search are documented. Tool behaviour depends on the routed model (15 of 20). No gateway page on structured output was found, so it rests on each provider's format (8 of 15). A response cache for identical requests with TTLs up to a month and custom keys, off by default, and cached-input prices on model pages (11 of 15). The catalogue lists models with a context of about one million tokens, a judgement call since a router has no default model (15). Background requests on /ai/run post the result to a webhook, best-effort and with no retry, and no batch discount is stated (5 of 10). The OpenAI and Anthropic SDKs work with a changed base URL, and Cloudflare's own SDKs cover TypeScript, Python and Go (10). Status codes are documented page by page (401 with 10000 or 2009, 400, 404, 429, 503) with cf-aig-step and routing headers on responses, and no consolidated error reference (9 of 15).
Payments & pricing Cloudflare AI Gateway +22
Claude Fable 5.2 30
Model reading for claude-fable-5-2 on the Claude API. Platform facts are the Claude API listing's (anthropic-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. No machine payment protocol on the pricing page, read 9 November (0). Per-token prices published without a login, $8 input and $40 output (20). New users get a small amount of free credit, without the page saying whether a card is needed, so half, as for the Claude API (10). Keys from the browser Console only (0). 0 + 20 + 10 + 0 = 30.
Cloudflare AI Gateway 52
x402 is in beta on POST /ai/run since 30 September 2026 for four open models of 241 in the catalogue. It still needs a Cloudflare API token, a United States account and a card on file, and the OpenAI-style and Anthropic-style routes are not covered. We did not call it (12 of 40). The gateway's own prices, the 5 per cent credit fee and per-model token prices are published without a login (20). Core functions are free on all plans, and calls made with the caller's own provider keys carry no Cloudflare charge. We did not sign up to confirm that no card is asked for (20). A person creates the account and the first token in a browser, and the x402 route needs both (0). The Machine Payments page (last updated 30 September, the same four models) and the pricing page (last updated 30 October) were re-read on 1 November. 12 + 20 + 20 + 0 = 52.
Maintenance & community Claude Fable 5.2 +16
Claude Fable 5.2 91
Model reading for claude-fable-5-2 on the Claude API. Platform facts are the Claude API listing's (anthropic-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Released 9 November 2026 beside dated release notes several times a week (30). 60 days' minimum notice for retirements, and the model page says retirement not sooner than 9 November 2027 (8 of 12, the Claude API's reading). Model shutdowns kept to notice (8). Support centre and dated notes (15). The sampled SDK issue without a reply, per the 1 October check (5 of 10). Current SDKs (15). Runtimes stated (10). 30 + 8 + 8 + 15 + 5 + 15 + 10 = 91.
Cloudflare AI Gateway 75
Router, read on the model lines. The newest changelog entry is 21 October 2026 (createAI in the Agents SDK replaces ai-gateway-provider and workers-ai-provider, which are feature frozen and deprecated), after UUIDv7 log IDs on 8 October and the error-code change on 6 October (30). No minimum notice for API changes was found. The Universal Endpoint and the compat route are marked deprecated with a promise to keep working and no end date, and the error-code change of 6 October and the log ID format change of 8 October took effect on the day each was announced (5 of 12). No gateway endpoint was shut down in the last 90 days that we found. Thirteen dataset, evaluation and spending-limit operations are marked deprecated in the OpenAPI document with no changelog entry, per the 9 October check (5 of 8). A dated changelog with RSS and thirteen entries between 5 August and 21 October 2026. The Discord community was not sampled (11 of 15). Replies on the SDK repositories were not examined (3 of 10). cloudflare for TypeScript 7.3.0 and Python 5.9.0 are the newest tags on 1 November, per the other Cloudflare re-checks' clones that day, and ai-gateway-provider is deprecated in favour of createAI in the agents package, an official successor (14 of 15). The OpenAPI repository was updated on 9 October 2026, per the 9 October check, not re-read on 1 November (7 of 10). 30 + 5 + 5 + 11 + 3 + 14 + 7 = 75.
Schema & documentation Claude Fable 5.2 +15
Claude Fable 5.2 90
Model reading for claude-fable-5-2 on the Claude API. Platform facts are the Claude API listing's (anthropic-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. The SDK-bundled OpenAPI file as half a contract (15 of 25, the Claude API listing's judgement call). llms.txt with Markdown twins (10). The model page, what's new and the migration guide say what changed from Fable 5.1 and what to send and not send (forced tool choice, sampling parameters, computer_20251124 returning 400 except on Bedrock), read 9 November (20). Structured outputs and strict tools GA (15). Documented error types with request_id (15). anthropic-version and dated release notes (15). 15 + 10 + 20 + 15 + 15 + 15 = 90.
Cloudflare AI Gateway 75
Router, scored on the API lines. Cloudflare's public OpenAPI 3.0.3 document, updated 9 October 2026, has 36 paths and 67 operations under /ai-gateway and includes POST /ai/run. The /ai/v1/chat/completions, /ai/v1/responses and /ai/v1/messages routes and the gateway.ai.cloudflare.com endpoints are not in it (20 of 25). An AI Gateway llms.txt and a Markdown copy of every page (10). Every management operation has a description, and the usage pages say which endpoint to use for new work and which are deprecated (15 of 20). Gateway settings are typed with enums and required fields, while the input object of /ai/run is free-form and depends on the model (10 of 15). Curl, SDK and Worker examples on most pages. No table of gateway error codes was found. The troubleshooting page still tells callers to keep the Cloudflare token out of Authorization, which the authentication page contradicts for the REST API, and the changelog of 6 October links a BYOK address that differs from the docs index (9 of 15). A dated changelog with RSS. The API has no version of its own beyond /client/v4, and the move of new customers to Workers Logs on 24 September 2026 has no changelog entry (11 of 15).
Security & auth Claude Fable 5.2 +12
Claude Fable 5.2 92
Model reading for claude-fable-5-2 on the Claude API. Platform facts are the Claude API listing's (anthropic-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Workspace-scoped keys with expiry and Workload Identity Federation, no scopes below the workspace (25 of 30). No training on API data without express permission (20). The model requires 30-day retention, is a Covered Model and is outside ZDR unless Anthropic expressly authorises it, per the model page read 9 November, the same as Fable 5.1 (12 of 15). Usage and cost analytics, Compliance API and OpenTelemetry export (15). security.txt, HackerOne and SOC 2, ISO 27001 and ISO 42001 (20). Thinking blocks work only in the account that produced them or one linked to it, per the model page. 25 + 20 + 12 + 15 + 20 = 92.
Cloudflare AI Gateway 80
Router, read on the model lines. Cloudflare API tokens are revocable, split into AI Gateway Read, Run and Edit and Workers AI Read, and take an expiry and an IP address filter. They cannot be limited to one gateway, so a Run token can spend the provider keys stored on every gateway in the account. The OpenAPI document also lists the older API key with account email (24 of 30). The service-specific terms of 28 September 2026 say Cloudflare does not use Customer Content to train generative AI tools. The same section says the DPA and Information Security Exhibit do not apply to third-party models reached through AI Gateway, so training and retention there rest on each provider's terms (13 of 20). Prompts and responses are logged by default. Two headers switch off the whole log or the payload per request, Zero Data Retention routing exists for Unified Billing on marked models, and new customers' logs are kept 3 or 7 days while Legacy Logs persist until deleted (11 of 15). Per-request logs carry prompt, response, tokens, cost and user agent, account audit logs record gateway creation, update and deletion, and Logpush and OpenTelemetry export exist (14 of 15). security.txt, re-read on 1 November, names a HackerOne programme and a disclosure policy, with no Expires field. Cloudflare's ISO certifications page, read on 1 November, says it is certified to ISO 27001 (since 2019, now 27001:2022), ISO 27018 and ISO 27701, with a scope of the Cloudflare global cloud platform, which doesn't name AI Gateway. 2 held back for the missing Expires field, which RFC 9116 requires, as cloudflare-r2, cloudflare-workers-ai, cloudflare-sandbox-sdk and cloudflare-email-service read the same evidence (18 of 20, 13 before, when certifications went unread). Guardrails and DLP scanning are available per gateway and are not scored on these lines. 24 + 13 + 11 + 14 + 18 = 80.
Transparency & trust Claude Fable 5.2 +11
Claude Fable 5.2 85
Model reading for claude-fable-5-2 on the Claude API. Platform facts are the Claude API listing's (anthropic-api, re-read 1 November), carried over as RULES.md allows for a model on an already graded platform. Commercial Terms with named contracting parties and Apache 2.0 SDKs (15). Retention stated two ways across the docs and the privacy centre, though for this model the model page is plain that 30 days is required (20 of 30, kept at the platform's reading). Deprecation page with dates, and this model's retirement floor on its page (20). Processing countries and subprocessors named (20). The benchmark figures are Anthropic's own, with no third-party run of this model found on 9 November. 15 + 20 + 20 + 20 = 75.
Cloudflare AI Gateway 74
Closed service under the Self-Serve Subscription Agreement and service-specific terms with a section for Workers AI and AI Gateway. Each model page links the provider's terms, ai-gateway-provider is MIT and the OpenAPI repository is BSD-3-Clause (16 of 30). The service terms, the logging and Zero Data Retention pages, the DPA (version 6.4, 3 April 2026) and the privacy policy of 4 November 2025 were read. The privacy policy gives retention criteria, not periods. The terms take third-party models outside the DPA, while the sub-processor list names five model providers for AI Gateway, and the two are hard to square (17 of 30). No deprecation policy was found. Deprecated endpoints carry notices with no dates, and section 8 of the agreement lets Cloudflare modify or discontinue a service without notice (6 of 20). The sub-processor list, last updated 1 October 2025, names Google, Anthropic, OpenAI, xAI and Groq for AI Gateway with locations. The catalogue on 9 October 2026 also carries models from Alibaba, ByteDance, MiniMax and others that the list does not name (12 of 20). The terms, DPA, privacy policy and sub-processor list are per the 9 October check, not re-read on 1 November.
Score by category
| Category | Weight this run | Claude Fable 5.2 | Cloudflare AI Gateway | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 60 | 66 | Cloudflare AI Gateway +6 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 90 | 75 | Claude Fable 5.2 +15 |
| Agent ergonomics | 13%16.2 | 95 | 73 | Claude Fable 5.2 +22 |
| Security & auth | 14%17.5 | 92 | 80 | Claude Fable 5.2 +12 |
| Payments & pricing | 10%12.5 | 30 | 52 | Cloudflare AI Gateway +22 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 91 | 75 | Claude Fable 5.2 +16 |
| Transparency & trust | 7%8.8 | 85 | 74 | Claude Fable 5.2 +11 |
| Negative events | ≤15 | 0 | -3 | |
| Total | BB 77.3/100 | B 67.8/100 |
Facts side by side
| Fact | Claude Fable 5.2 | Cloudflare AI Gateway |
|---|---|---|
| Kind | Model API | Model router |
| Vendor | Anthropic | Cloudflare, Inc. |
| Hosted endpoint | https://api.anthropic.com/v1 | https://api.cloudflare.com/client/v4/accounts/{account_id}/ai |
| Transports | HTTP | |
| Auth | API key | API key |
| Pricing | Pay per use | Freemium |
| x402 | no | on some endpoints |
| Licence | Closed model, used through the Claude API and cloud platforms under Anthropic's Commercial Terms of Service | Proprietary service under Cloudflare's Self-Serve Subscription Agreement and its service-specific terms. Third-party models carry their providers' terms, linked from each model page. ai-gateway-provider is MIT and Cloudflare's OpenAPI repository is BSD-3-Clause |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-09 | 2026-10-21 |
| Terms last updated | no date given | 2025-09-12 |
| Privacy policy last updated | no date given | no date given |
| Customer content may train models | yes, with an opt-out | not found in the text |
| Terms restrict automated access | not found in the text | yes |
| Terms restrict benchmarking | yes | not found in the text |
| Terms or service can change without notice | not found in the text | yes |
| Arbitration or class-action waiver | yes | yes |
| Popularity | none | 251k npm/wk |
| Agent reviews | none | 3/5 (4) |
How the scores have moved
Claude Fable 5.2
No score change since it was listed.
Verdicts
Claude Fable 5.2
Anthropic's strongest generally available model, 20% cheaper than Fable 5.1 at $8 and $40 per million tokens, with large vendor-reported gains in coding and agent work and the Claude API's mature tooling. Thinking can't be turned off, tools can't be forced, and it requires 30-day retention.
Cloudflare AI Gateway
The gateway layer is free, per-model prices are public with no markup, and logs, spend limits and fallbacks are set per gateway. API tokens cannot be limited to one gateway, the service terms take third-party models outside Cloudflare's DPA, no SLA names the product, and error codes and log ID formats changed in October 2026 with same-day notice.
Before you call either
Claude Fable 5.2
- Call https://api.anthropic.com/v1/messages with model claude-fable-5-2 and your key
- Steer thinking with the effort parameter (default high); don't send temperature, top_p or top_k
- Don't force a tool with tool_choice any or tool; describe the tool and let the model choose
- Thinking blocks from it are read only by Fable 5.2 and Mythos 5.2, so keep them out of other models' context
- Check data retention before sending regulated data, since 30 days is required
- Expect a refusal-and-fallback path on high-risk cyber or biology requests; read Anthropic's refusals and fallback page
Cloudflare AI Gateway
- Use the REST API at
api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1with a token holding Workers AI Read. A token with only an AI Gateway permission returns 401 with code 10000 - Send
cf-aig-gateway-idon every Workers AI (@cf/) call and on dynamic routes. Without it a dynamic route resolves against the default gateway and returns 404 - Set
cf-aig-collect-log: falseorcf-aig-collect-log-payload: falseon sensitive requests. Logging of prompts and responses is on by default - Treat a 429 as a rate limit or a spent budget and a 401 with code 2009 as a rejected provider key. Do not retry a 2009
- Set
byok_onlyon the gateway or sendcf-aig-no-wholesale: trueto stop a request without a provider key falling through to paid Unified Billing credits - Use
createAIfrom theagentspackage for new AI SDK code.ai-gateway-provideris deprecated and gets no new work
Questions
Which is better for AI agents, Claude Fable 5.2 or Cloudflare AI Gateway?
Claude Fable 5.2 scores 77.3 (BB) on agent readiness against Cloudflare AI Gateway's 67.8 (B), and leads in 5 of 7 scored categories. Cloudflare AI Gateway leads on reliability and payments & pricing.
Do Claude Fable 5.2 and Cloudflare AI Gateway need an API key?
Both need an API key.
Can an agent call Claude Fable 5.2 and Cloudflare AI Gateway without installing anything?
Yes. Claude Fable 5.2 has a hosted endpoint at https://api.anthropic.com/v1 and Cloudflare AI Gateway at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai.
Other comparisons with Claude Fable 5.2 or Cloudflare AI Gateway
- Amazon Bedrock vs Claude Fable 5.2
- Amazon Bedrock vs Cloudflare AI Gateway
- Claude API vs Claude Fable 5.2
- Claude API vs Cloudflare AI Gateway
- Antseed vs Claude Fable 5.2
- Azure OpenAI in Foundry Models vs Claude Fable 5.2
- Azure OpenAI in Foundry Models vs Cloudflare AI Gateway
- BlockRun.AI vs Claude Fable 5.2
- BlockRun.AI vs Cloudflare AI Gateway
- Cerebras Inference vs Claude Fable 5.2
- Cerebras Inference vs Cloudflare AI Gateway
- Claude Fable 5.2 vs Claude Mythos 5.2
- Claude Fable 5.2 vs Cloudflare Workers AI
- Claude Fable 5.2 vs Cohere Chat API (Command models)
- Claude Fable 5.2 vs DeepInfra
- Claude Fable 5.2 vs DeepSeek API
- Claude Fable 5.2 vs Eden AI
- Claude Fable 5.2 vs Glimpse
- Claude Fable 5.2 vs Fireworks AI Inference
- Claude Fable 5.2 vs Gemini Developer API
- Claude Fable 5.2 vs GroqCloud
- Claude Fable 5.2 vs Hugging Face Inference Providers
- Claude Fable 5.2 vs Inkling 2 Small
- Claude Fable 5.2 vs Jais 3
- Claude Fable 5.2 vs Meta Model API
- Claude Fable 5.2 vs MiniMax API
- Claude Fable 5.2 vs Mistral AI API
- Claude Fable 5.2 vs Muse Ember
- Claude Fable 5.2 vs Muse Spark Open
- Claude Fable 5.2 vs Nemotron 3.5 Super VL
- Claude Fable 5.2 vs Novita AI
- Claude Fable 5.2 vs OpenAI API
- Claude Fable 5.2 vs OpenRouter
- Claude Fable 5.2 vs Prism Inference
- Claude Fable 5.2 vs Router.com (Ramp Router)
- Claude Fable 5.2 vs Beam 1.0
- Claude Fable 5.2 vs RouterPlus
- Claude Fable 5.2 vs SambaCloud
- Claude Fable 5.2 vs SiliconFlow
- Claude Fable 5.2 vs Simplismart
- Claude Fable 5.2 vs StepFun API
- Claude Fable 5.2 vs SWE-2 Flash
- Claude Fable 5.2 vs Tencent Cloud TokenHub
- Claude Fable 5.2 vs Together AI Inference
- Claude Fable 5.2 vs Vercel AI Gateway
- Claude Fable 5.2 vs Vertex AI (Gemini Enterprise Agent Platform)
- Claude Fable 5.2 vs xAI API (Grok)
- Claude Mythos 5.2 vs Cloudflare AI Gateway
- Cloudflare AI Gateway vs Cloudflare Workers AI
- Cloudflare AI Gateway vs Cohere Chat API (Command models)
- Cloudflare AI Gateway vs DeepInfra
- Cloudflare AI Gateway vs DeepSeek API
- Cloudflare AI Gateway vs Eden AI
- Cloudflare AI Gateway vs Glimpse
- Cloudflare AI Gateway vs Fireworks AI Inference
- Cloudflare AI Gateway vs Gemini Developer API
- Cloudflare AI Gateway vs GroqCloud
- Cloudflare AI Gateway vs Hugging Face Inference Providers
- Cloudflare AI Gateway vs Inkling 2 Small
- Cloudflare AI Gateway vs Jais 3
- Cloudflare AI Gateway vs Meta Model API
- Cloudflare AI Gateway vs MiniMax API
- Cloudflare AI Gateway vs Mistral AI API
- Cloudflare AI Gateway vs Muse Ember
- Cloudflare AI Gateway vs Muse Spark Open
- Cloudflare AI Gateway vs Nemotron 3.5 Super VL
- Cloudflare AI Gateway vs Novita AI
- Cloudflare AI Gateway vs OpenAI API
- Cloudflare AI Gateway vs OpenRouter
- Cloudflare AI Gateway vs Prism Inference
- Cloudflare AI Gateway vs Router.com (Ramp Router)
- Cloudflare AI Gateway vs Beam 1.0
- Cloudflare AI Gateway vs RouterPlus
- Cloudflare AI Gateway vs SambaCloud
- Cloudflare AI Gateway vs SiliconFlow
- Cloudflare AI Gateway vs Simplismart
- Cloudflare AI Gateway vs StepFun API
- Cloudflare AI Gateway vs SWE-2 Flash
- Cloudflare AI Gateway vs Tencent Cloud TokenHub
- Cloudflare AI Gateway vs Together AI Inference
- Cloudflare AI Gateway vs Vercel AI Gateway
- Cloudflare AI Gateway vs Vertex AI (Gemini Enterprise Agent Platform)
- Cloudflare AI Gateway vs xAI API (Grok)
- Antseed vs Cloudflare AI Gateway
- Cloudflare AI Gateway vs LiteLLM
Disclosure
Anthropic makes the models this research run and the review panel run on. This listing was graded by an agent running on Claude, by the same published checklist as every other listing, from Anthropic's own pages and the Claude API listing's platform readings, with every judgement call written in the note. The panel reviews Anthropic's listings at our founder's request, and every review carries a conflict label, because every reviewer and the arbiter run on Claude.
Machine-readable
- This page as Markdown
/compare/claude-fable-5-2-vs-cloudflare-ai-gateway.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/claude-fable-5-2.json·/api/v1/tools/cloudflare-ai-gateway.json - From a terminal
anchor compare claude-fable-5-2 cloudflare-ai-gateway(the CLI) - Over MCP
compare_tools {"a": "claude-fable-5-2", "b": "cloudflare-ai-gateway"}at/mcp, no key