How Cloudflare AI Gateway’s scores are calculated
The full audit trail, recomputed from the verdict data at build time through the same code that produced the leaderboard: verdict × quality × story weight per cell, cells sum to dimension scores, dimensions blend into the PA Score. Every number on the product page is reproducible from this page alone; for why the formula looks like this, see the methodology.
verdict factors: full ×1.0 · partial ×0.6 · disputed ×0.3 · none ×0.0 · n/a excluded from both sides · cell points = weight × quality × factor · cell max = weight × 10
PA Score19/100
Agent-ready 22.3 × 0.30 = 6.69
API quality 22.9 × 0.20 = 4.58
Openness 10.3 × 0.20 = 2.06
Built-in AI n/a — excluded, its ×0.15 weight renormalized away
Automation 21.0 × 0.15 = 3.15
(6.69 + 4.58 + 2.06 + 3.15) ÷ (0.30 + 0.20 + 0.20 + 0.15) = 16.48 ÷ 0.85 = 19.4 — weights renormalized over the scored components
Scores are stored to 1 decimal; the product page’s pills round to whole numbers for display. Each dimension below shows the stories, verdicts, and cited evidence behind its number.
Agent-ready22.3/100×0.30 of the PA blend
Outside-in: can YOUR agent reach and drive this product — API, MCP, CLI, headless runs, agent docs.
Point an agent at llms.txt or agent-oriented docsweight 2
2 (weight) × 5 (quality) × 0.6 (partial) = 6.0 of 20 max
- [probe] https://developers.cloudflare.com/llms.txt“PROBE llms.txt: HTTP 200 at https://developers.cloudflare.com/llms.txt # Cloudflare Developer Documentation Explore guides and tutorials to start building on Cloudflare's platform. > Each p”
- [probe] https://developers.cloudflare.com/ai-gateway/.md“PROBE docs-md: HTTP 404 at https://developers.cloudflare.com/ai-gateway/.md”
- [probe] https://developers.cloudflare.com/openapi.json“PROBE openapi: HTTP 200 at https://developers.cloudflare.com/openapi.json — contains "openapi" key”
Run the product headlessly / in CI for automationweight 2
2 (weight) × 6 (quality) × 0.6 (partial) = 7.2 of 20 max
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/usage/chat-completion/index.md“Cloudflare's AI Gateway offers an OpenAI-compatible `/chat/completions` endpoint, enabling integration with multiple AI providers using a single URL.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/features/dynamic-routing/index.md“Dynamic routing enables you to create request routing flows through a **visual interface** or a **JSON-based configuration**.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/usage/chat-completion/index.md“Switch providers by changing the \`model\` and \`apiKey\` parameters.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/observability/logging/index.md“The \`cf-aig-collect-log\` header allows you to bypass the default log setting for the gateway.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/features/caching/index.md“To check whether a response comes from cache or not, **cf-aig-cache-status** will be designated as `HIT` or `MISS`.”
Plug MCP servers into this product so it can use their toolsweight 3
n/a — not applicable to this product: excluded from numerator and denominator
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Connect an agent via an official MCP serverweight 3
3 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 30 max
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Use an official CLIweight 2
2 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 20 max
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Drive the product through a documented public APIweight 3
3 (weight) × 7 (quality) × 1.0 (full) = 21.0 of 30 max
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/usage/chat-completion/index.md“Cloudflare's AI Gateway offers an OpenAI-compatible `/chat/completions` endpoint, enabling integration with multiple AI providers using a single URL.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/usage/chat-completion/index.md“Switch providers by changing the \`model\` and \`apiKey\` parameters.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/usage/providers/index.md“Connect to AI providers using their native API formats through AI Gateway.”
- [claimed-docs] https://www.cloudflare.com/developer-platform/products/ai-gateway/“Manage all your costs with one simple bill and access every provider through a single API.”
- [claimed-docs] https://www.cloudflare.com/developer-platform/products/ai-gateway/“The patchLog method allows you to send feedback, score, and metadata for a specific log ID.”
- [probe] https://developers.cloudflare.com/openapi.json“PROBE openapi: HTTP 200 at https://developers.cloudflare.com/openapi.json — contains "openapi" key”
Issue scoped/least-privilege API credentials for an agentweight 2
2 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 20 max
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Build against official SDKsweight 2
2 (weight) × 5 (quality) × 0.6 (partial) = 6.0 of 20 max
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/usage/chat-completion/index.md“Cloudflare's AI Gateway offers an OpenAI-compatible `/chat/completions` endpoint, enabling integration with multiple AI providers using a single URL.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/usage/chat-completion/index.md“Switch providers by changing the \`model\` and \`apiKey\` parameters.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/usage/providers/index.md“Connect to AI providers using their native API formats through AI Gateway.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/usage/chat-completion/index.md“This feature simplifies the integration process, allowing for seamless switching between different models without significant code modifications.”
- [claimed-docs] https://www.cloudflare.com/developer-platform/products/ai-gateway/“gateway: { id: "my-gateway", },”
Subscribe to events via webhooksweight 2
2 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 20 max
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Agent-ready = 40.2 ÷ 180 × 100 = 22.3
API quality22.9/100×0.20 of the PA blend
The programmable surface once an agent is there — machine-readable spec, interactive docs, sandbox, versioning discipline.
Explore an interactive API reference with runnable examplesweight 2
2 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 20 max
- [probe] https://developers.cloudflare.com/openapi.json“PROBE openapi: HTTP 200 at https://developers.cloudflare.com/openapi.json — contains "openapi" key”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/“Better yet - it only takes one line of code to get started.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/usage/chat-completion/index.md“This feature simplifies the integration process, allowing for seamless switching between different models without significant code modifications.”
Download a machine-readable API spec (OpenAPI or equivalent)weight 2
2 (weight) × 8 (quality) × 1.0 (full) = 16.0 of 20 max
- [probe] https://developers.cloudflare.com/openapi.json“PROBE openapi: HTTP 200 at https://developers.cloudflare.com/openapi.json — contains "openapi" key”
- [probe] https://developers.cloudflare.com/llms.txt“PROBE llms.txt: HTTP 200 at https://developers.cloudflare.com/llms.txt # Cloudflare Developer Documentation Explore guides and tutorials to start building on Cloudflare's platform. > Each p”
Test against a sandbox environment without touching production dataweight 1
1 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 10 max
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Rely on versioned APIs with a documented deprecation policyweight 2
2 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 20 max
- [probe] https://developers.cloudflare.com/openapi.json“PROBE openapi: HTTP 200 at https://developers.cloudflare.com/openapi.json — contains "openapi" key”
API quality = 16.0 ÷ 70 × 100 = 22.9
Openness10.3/100×0.20 of the PA blend
Can you leave, inspect, or self-host — data export, open source, portability.
Do everything through the API that I can do in the UIweight 2
2 (weight) × 6 (quality) × 0.6 (partial) = 7.2 of 20 max
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/features/dynamic-routing/index.md“Dynamic routing enables you to create request routing flows through a **visual interface** or a **JSON-based configuration**.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/usage/chat-completion/index.md“Cloudflare's AI Gateway offers an OpenAI-compatible `/chat/completions` endpoint, enabling integration with multiple AI providers using a single URL.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/features/caching/index.md“AI Gateway allows you to override default cache behaviors on a per-request basis using specific HTTP headers.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/observability/logging/index.md“The \`cf-aig-collect-log\` header allows you to bypass the default log setting for the gateway.”
- [claimed-docs] https://www.cloudflare.com/developer-platform/products/ai-gateway/“The patchLog method allows you to send feedback, score, and metadata for a specific log ID.”
- [probe] https://developers.cloudflare.com/openapi.json“PROBE openapi: HTTP 200 at https://developers.cloudflare.com/openapi.json — contains "openapi" key”
Export all of my data in open formats and leaveweight 3
3 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 30 max
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Read the product's source under an open licenseweight 2
2 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 20 max
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Self-host the core productweight 3
n/a — not applicable to this product: excluded from numerator and denominator
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Openness = 7.2 ÷ 70 × 100 = 10.3
Built-in AIn/a×0.15 of the PA blend
Inside-out: how agentic the product itself is for its users — built-in assistants, autonomous features.
Get AI-generated insights and suggestions from my data inside the productweight 2
n/a — not applicable to this product: excluded from numerator and denominator
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Set up automations that run autonomously in the backgroundweight 2
n/a — not applicable to this product: excluded from numerator and denominator
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Delegate tasks to a built-in AI assistant inside the productweight 3
n/a — not applicable to this product: excluded from numerator and denominator
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Operate the product with natural-language commandsweight 2
n/a — not applicable to this product: excluded from numerator and denominator
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
every cell n/a — unscored (not zero), excluded from the blend
Automation21.0/100×0.15 of the PA blend
Depth of automation primitives — rules, scheduling, bulk operations, webhooks.
Perform bulk operations across many items at onceweight 2
2 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 20 max
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Define rules that trigger actions automatically on eventsweight 3
3 (weight) × 6 (quality) × 0.6 (partial) = 10.8 of 30 max
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/features/dynamic-routing/index.md“Dynamic routing enables you to create request routing flows through a **visual interface** or a **JSON-based configuration**.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/features/dynamic-routing/index.md“Directing different segments (paid/not-paid user) to different models”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/features/dynamic-routing/index.md“Restricting each user/project/team with budget/rate limits”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/features/dynamic-routing/index.md“you compose a small flow that evaluates conditions, enforces quotas, and chooses models with fallbacks. You can iterate without touching application code—publish a new route version and you’re done.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/“Improve resilience by defining request retry and model fallbacks in case of an error.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/configuration/fallbacks/index.md“Sends a request to Workers AI Inference API. 2. If that request fails, proceeds to OpenAI.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/configuration/fallbacks/index.md“Cloudflare can trigger your fallback provider in response to request errors or predetermined request timeouts.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/configuration/rate-limiting/index.md“Rate limiting controls the traffic that reaches your application, which prevents expensive bills and suspicious activity.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/configuration/rate-limiting/index.md“You can define rate limits as the number of requests that get sent in a specific time frame. For example, you can limit your application to 100 requests per 60 seconds.”
Schedule recurring jobs or workflowsweight 2
n/a — not applicable to this product: excluded from numerator and denominator
no evidence cited — the verdict rests on absence of evidence, re-checked on refresh
Version, review, and roll back my automationsweight 1
1 (weight) × 3 (quality) × 0.6 (partial) = 1.8 of 10 max
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/features/dynamic-routing/index.md“you compose a small flow that evaluates conditions, enforces quotas, and chooses models with fallbacks. You can iterate without touching application code—publish a new route version and you’re done.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/features/dynamic-routing/index.md“Dynamic routing enables you to create request routing flows through a **visual interface** or a **JSON-based configuration**.”
- [claimed-docs] https://developers.cloudflare.com/ai-gateway/features/dynamic-routing/index.md“A/B and gradual rollouts while making it accessible to both developers and non-technical team members.”
Automation = 12.6 ÷ 60 × 100 = 21.0