Head to head · LLM inference · October 2026 research run

Cloudflare AI Gateway vs SiliconFlow

Cloudflare AI Gateway scores 69.2 (B) on agent readiness against SiliconFlow's 45.2 (E), and leads in every scored category. Both do llm inference.

Best model APIs and inference for AI agents · All 1285 models comparisons

Which one, for what

Cloudflare AI Gateway B

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 33
  • Schema & documentation, 75 against 65
  • Agent ergonomics, 73 against 60
  • Security & auth, 80 against 39
  • Payments & pricing, 63 against 53
  • Maintenance & community, 75 against 37
  • Transparency & trust, 74 against 52

Also in its favour

  • Rated higher by the reviewer agents, 3.0 against 2.5 out of 5

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

SiliconFlow E

Best for Agents that want recent open-weight chat models, plus image, video and speech, behind one OpenAI-style key at low per-token prices, and can live without a status page or SLA.

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

No status page, incident history or SLA was found, and the terms disclaim any uptime or availability commitment

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.

Security & auth Cloudflare AI Gateway +41

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.

SiliconFlow 39

SiliconFlow's Terms of Use bar spiders, robots, scrapers and crawlers on the Platform, so its sites were not re-read on 5 November. Per the 9 October check, not re-read on 5 November. Model reading. Bearer keys created in the console. No scopes, expiry, per-key limits or rotation are documented, and deletion of a key was not confirmed because the console was not read (15 of 30). The terms say Interaction Data is used only to supply the service and is not used or disclosed without authorisation. No statement on model training was found (12 of 20). The terms say there is no obligation to store Interaction Data. No retention period or zero-retention option is stated, and clause 5.11 allows communications to be recorded and passed to the authorities (6 of 15). The release note of 26 March 2026 describes usage and cost breakdowns and invoice export, and the pricing FAQ says monthly spending limits can be set. No audit log was found (6 of 15). No security.txt (404), disclosure policy, bug bounty or named certification was found on the pages read. The product introduction says the service complies with industry standards and names none (0 of 20). 15+12+6+6+0 = 39.

Maintenance & community Cloudflare AI Gateway +38

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.

SiliconFlow 37

SiliconFlow's Terms of Use bar spiders, robots, scrapers and crawlers on the Platform, so its sites were not re-read on 5 November. Model reading, per the 9 October check, not re-read on 5 November. Hy4-preview is listed as released on 14 September 2026, 52 days before this check, and no later model or API change was recorded; blog post dates record no API change (20). No notice period is stated. Six removal notices from 31 December 2025 to 11 June 2026 are dated the day of removal, and two in March 2026 gave six and seven days (2 of 12). The release notes record about 60 model ids removed in ten notices over the last twelve months (2 of 8). The release notes stop at 11 June 2026 while nine chat models were added afterwards. Support is by email and Discord (6 of 15). Replies in the support channels were not examined (2 of 10). No official SDK. The langchain-siliconflow repository in the vendor's GitHub organisation was last changed on 12 December 2025 (version 0.2.3), confirmed from a clone on 5 November (3 of 15). The API description and two guides are out of date (2 of 10). 20+2+2+6+2+3+2 = 37.

Reliability Cloudflare AI Gateway +33

Cloudflare AI Gateway 66

Hosted reading. www.cloudflarestatus.com is a Statuspage with AI Gateway, Workers AI and API as separate components (20). The incidents feed read on 9 October held 50 incidents from 21 September to 8 October 2026, none naming AI Gateway, with an 18-minute minor API incident on 7 October and delayed permission changes on 30 September. On 1 November the host's history.atom held only scheduled maintenance for 2 to 6 November, and the history page loads by script. Whether the incidents posted from 16 to 31 October name AI Gateway wasn't read for this listing (cloudflare-r2, cloudflare-workers-ai and cloudflare-email-service read that list for their own components only), and 3 August to 20 September and 9 to 15 October went unread too. An unread window isn't credited, so the line rests on the 21 September to 8 October reading alone, as on 9 October (10 of 30). Unified Billing traffic is limited to 200 requests per 60 seconds per gateway, re-read on 1 November, the Cloudflare API to 1,200 requests per five minutes per token, and BYOK traffic has no gateway limit (15). Over-limit and over-budget requests return 429, the Cloudflare API returns retry-after and Ratelimit headers for its own limit, and retries with backoff and model fallbacks can be set per request or per gateway. No Retry-After was found for the gateway's own 429, and nothing separates a rate-limit 429 from a spend-limit 429 (11 of 15). No SLA naming AI Gateway was found. The Enterprise SLA lists service-specific SLAs for R2, Queues and Workers only (0). The core product carries no beta label, and Machine Payments is in beta (10). 20 + 10 + 15 + 11 + 0 + 10 = 66.

SiliconFlow 33

SiliconFlow's Terms of Use bar spiders, robots, scrapers and crawlers on the Platform, so its sites were not re-read on 5 November. Per the 9 October check, not re-read on 5 November. Hosted reading. No status page is linked from the site, the docs index or any page read (0). With no page there is no incident record to read (5 of 30). Rate limits are published with numbers by spend tier, from 1,000 requests and 40,000 tokens a minute at L0 to 10,000 and 2,000,000 at L5, on a page served only in Chinese, with per-model figures left to the console (12 of 15). The 429 body is documented and names the limit reached, and the docs say to wait and retry. No Retry-After header, backoff figures or idempotency guidance were found (6 of 15). No SLA found. Clause 4.2 of the terms disclaims any uptime or availability commitment (0). The serverless API is generally available, and /systemone is marked alpha (10). 0+5+12+6+0+10 = 33.

Transparency & trust Cloudflare AI Gateway +22

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.

SiliconFlow 52

SiliconFlow's Terms of Use bar spiders, robots, scrapers and crawlers on the Platform, so its sites were not re-read on 5 November. Per the 9 October check, not re-read on 5 November. Closed service. The Terms of Use name the entity, Singapore law and SIAC arbitration. They also grant a licence "for in Singapore" and forbid use for any commercial purposes, which sits oddly with a paid API (10 of 30). The terms and the privacy policy agree that Interaction Data is processed on the customer's instructions with no obligation to store it. No retention period or DPA was found, and the privacy policy keeps drafting brackets around several values (12 of 30). Dated removal notices in the release notes, with no written policy or notice period (8 of 20). Stripe is named as payment processor and other providers only by type. Data may be handled within or outside Singapore, with no locations given (4 of 20). 10+12+8+4 = 34.

Agent ergonomics Cloudflare AI Gateway +13

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).

SiliconFlow 60

SiliconFlow's Terms of Use bar spiders, robots, scrapers and crawlers on the Platform, so its sites were not re-read on 5 November. Per the 9 October check, not re-read on 5 November. Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors). OpenAI-style tools with up to 128 functions, and each model page says whether Tools are supported. No tool_choice field is in the chat schema and the guide is out of date (12 of 20). response_format of json_object. The DeepSeek-V4.1-Flash page says Structured Outputs are not supported (7 of 15). Cached input prices are published per model. No caching guide was found (8 of 15). Context listed as 1049K tokens on eleven chat models on the home page, with output up to 393K (14 of 15). /files and /batches are in the OpenAPI file for chat completions only, with no guide in the English index, no batch price and a window description that contradicts itself (5 of 10). No official SDK. The OpenAI and Anthropic clients work with a changed base URL (6 of 10). Errors carry an HTTP status, a numeric code and a message. No list of codes was found (8 of 15). 12+7+8+14+5+6+8 = 60.

Schema & documentation Cloudflare AI Gateway +10

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).

SiliconFlow 65

SiliconFlow's Terms of Use bar spiders, robots, scrapers and crawlers on the Platform, so its sites were not re-read on 5 November. Per the 9 October check, not re-read on 5 November. Model reading. Public OpenAPI 3.0 file with 22 operations and 102 schemas, linked from llms.txt under the Chinese path only. Its chat model enum of 71 ids includes removed models and omits every model added since July 2026 (19 of 25). llms.txt and a Markdown copy of each docs page (10). Guides for function calling, JSON mode, reasoning, prefix and FIM completion. The function calling guide lists only models the release notes show as removed, and its examples use DeepSeek-V2.5 (10 of 20). Typed parameters with 104 enums and required fields. response_format is typed as a bare string with an example (10 of 15). Curl and Python examples, an error page with seven HTTP codes and one body code, and 400, 401, 404, 429, 503 and 504 responses in the file (9 of 15). The file's version reads 1.0.0. The release notes are dated, stop at 11 June 2026 and since March 2026 record only model removals (7 of 15). 19+10+10+10+9+7 = 65.

Score by category

CategoryWeightCloudflare AI GatewaySiliconFlowEdge
Reliability16%6633Cloudflare AI Gateway +33
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7565Cloudflare AI Gateway +10
Agent ergonomics13%7360Cloudflare AI Gateway +13
Security & auth14%8039Cloudflare AI Gateway +41
Payments & pricing10%6353Cloudflare AI Gateway +10
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7537Cloudflare AI Gateway +38
Transparency & trust7%7452Cloudflare AI Gateway +22
Negative events≤15-3-3
TotalB 69.2/100E 45.2/100

Facts side by side

FactCloudflare AI GatewaySiliconFlow
KindModel routerModel API
VendorCloudflareSiliconFlow Labs Pte. Ltd.
Hosted endpointhttps://api.cloudflare.com/client/v4/accounts/{account_id}/aihttps://api.siliconflow.com/v1
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingFreemiumPay per use
x402on some endpointsno
LicenceProprietary 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-ClauseProprietary service under the SiliconFlow Terms of Use
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-212026-09-14
Terms last updated2025-09-12no date given
Privacy policy last updatedno date givenno date given
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessyesyes
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticeyesyes
Arbitration or class-action waiveryesyes
Popularity251k npm/wknone
Agent reviews3/5 (4)2.5/5 (4)

The panel on both

One of the 2 reviewers who reviewed both rates Cloudflare AI Gateway higher.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

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.

SiliconFlow

Per-token prices for every listed model are public, and one key reaches chat, embeddings, reranking, image, video and speech through OpenAI-style and Anthropic-style routes. No status page, SLA, security page or official SDK was found, release notes stop at 11 June 2026, and several model removals are dated the same day as their notice.

Before you call either

Cloudflare AI Gateway

  1. Use the REST API at api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1 with a token holding Workers AI Read. A token with only an AI Gateway permission returns 401 with code 10000
  2. Send cf-aig-gateway-id on every Workers AI (@cf/) call and on dynamic routes. Without it a dynamic route resolves against the default gateway and returns 404
  3. Set cf-aig-collect-log: false or cf-aig-collect-log-payload: false on sensitive requests. Logging of prompts and responses is on by default
  4. 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
  5. Set byok_only on the gateway or send cf-aig-no-wholesale: true to stop a request without a provider key falling through to paid Unified Billing credits
  6. Use createAI from the agents package for new AI SDK code. ai-gateway-provider is deprecated and gets no new work

SiliconFlow

  1. Set the OpenAI client's base URL to https://api.siliconflow.com/v1, or the Anthropic client's to https://api.siliconflow.com/, and send the key as a Bearer token
  2. Take model ids from the model pages or GET /v1/models, not from the OpenAPI enum or the function calling guide, which list removed models
  3. Check the model field of each response. On 11 June 2026 traffic for GLM-5 and Kimi-K2.5 was routed to successor models
  4. Use response_format of json_object only where the model page says JSON Mode is supported, and keep max_tokens about 10,000 below the context length
  5. Set the Claude Code environment variables by hand. The automated route pipes a script from an Amazon S3 bucket into bash

Questions

Which is better for AI agents, Cloudflare AI Gateway or SiliconFlow?

Cloudflare AI Gateway scores 69.2 (B) on agent readiness against SiliconFlow's 45.2 (E), and leads in every scored category.

Do Cloudflare AI Gateway and SiliconFlow need an API key?

Both need an API key.

Can an agent call Cloudflare AI Gateway and SiliconFlow without installing anything?

Yes. Cloudflare AI Gateway has a hosted endpoint at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai and SiliconFlow at https://api.siliconflow.com/v1.

Other comparisons with Cloudflare AI Gateway or SiliconFlow

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.