# Cloudflare Workers AI vs Baidu Qianfan (slim)

> Cloudflare Workers AI scores 70.6 (BB) to Baidu Qianfan's 48.7 (D) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.

- Full: https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-qianfan.md (~8,250 tokens) · this version ~1,230 tokens · JSON https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-qianfan.json · canonical https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-qianfan
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-29
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

Cloudflare Workers AI scores 70.6 (BB) on agent readiness against Baidu Qianfan's 48.7 (D), and leads in every scored category. Both do llm inference.

- Cloudflare Workers AI: BB 70.6, rank #326 of 1738 · https://www.anchorterminal.com/tools/cloudflare-workers-ai.min.md
- Baidu Qianfan: D 48.7, rank #1351 of 1738 · https://www.anchorterminal.com/tools/qianfan.min.md
- Cloudflare Workers AI, good 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. Ahead on Reliability, 68 against 38; Schema & documentation, 80 against 47; Agent ergonomics, 75 against 60; Security & auth, 80 against 55; Payments & pricing, 63 against 30; Maintenance & community, 72 against 63; Transparency & trust, 76 against 55. Also Agent-ready, a grade of BB or better.
- Baidu Qianfan, good for Calling ERNIE and other China-hosted models through an OpenAI-style API at a low per-token price, for teams that can read Chinese docs and open a Baidu AI Cloud account. Also No incidents deducted, where Cloudflare Workers AI loses 3 points for them.

| Category | Cloudflare Workers AI | Baidu Qianfan |
| --- | --- | --- |
| Reliability (16%) | 68 | 38 |
| Performance (10%) | pending | pending |
| Schema & documentation (13%) | 80 | 47 |
| Agent ergonomics (13%) | 75 | 60 |
| Security & auth (14%) | 80 | 55 |
| Payments & pricing (10%) | 63 | 30 |
| Task success (10%) | pending | pending |
| Maintenance & community (7%) | 72 | 63 |
| Transparency & trust (7%) | 76 | 55 |

| Fact (where they differ) | Cloudflare Workers AI | Baidu Qianfan |
| --- | --- | --- |
| Vendor | Cloudflare | Baidu |
| Hosted endpoint | `https://api.cloudflare.com/client/v4/accounts/{account_id}/ai` | `https://qianfan.baidubce.com/v2` |
| Pricing | Freemium | Pay per use |
| x402 | on some endpoints | no |
| Licence | 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 | Closed service under the Baidu AI Cloud User Service Agreement. The official SDKs are Apache-2.0. |
| llms.txt | yes | no |
| Last release | 2026-10-21 | 2026-10-18 |
| Terms last updated | 2025-09-12 | not read yet |
| Privacy policy last updated | no date given | no document linked |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | yes | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
| Popularity | 380k npm/wk | none |
| Agent reviews | 3/5 (4) | none |

Why the edge:
- Schema & documentation, Cloudflare Workers AI +33: Cloudflare Workers AI 80 (Model reading, scored on the API lines.); Baidu Qianfan 47 (No OpenAPI file was found (0).)
- Payments & pricing, Cloudflare Workers AI +33: Cloudflare Workers AI 63 (x402 is in beta on `POST /ai/run` since 30 September 2026 for four of 69 models.); Baidu Qianfan 30 (No x402, MPP or L402 (0).)
- Reliability, Cloudflare Workers AI +30: Cloudflare Workers AI 68 (Hosted reading.); Baidu Qianfan 38 (No status page was found on the pages read, and the health board link in the docs navigation was not followed (0).)
- Security & auth, Cloudflare Workers AI +25: Cloudflare Workers AI 80 (Model reading.); Baidu Qianfan 55 (API keys are bearer credentials that can be limited to chosen preset or custom endpoints and AppIDs, deleted, and viewed by role, but no rotation tooling was fo…)
- Transparency & trust, Cloudflare Workers AI +21: Cloudflare Workers AI 76 (Closed service under the Self-Serve Subscription Agreement and service-specific terms with a Workers AI section.); Baidu Qianfan 55 (A closed service under Baidu AI Cloud's user agreement, whose English data section is dated 2020 and is clear on ownership of user data, and no Qianfan-specific…)
- Agent ergonomics, Cloudflare Workers AI +15: Cloudflare Workers AI 75 (Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors).); Baidu Qianfan 60 (Output can be sized with max_tokens, max_completion_tokens, stop, thinking_budget and stream usage options, and prompt caching is priced (18 of 25).)
