# Cloudflare AI Gateway vs Tencent Hy4 (slim)

> Cloudflare AI Gateway scores 69.2 (B) to Tencent Hy4's 64 (B) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.

- Full: https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hy4.md (~7,400 tokens) · this version ~1,130 tokens · JSON https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hy4.json · canonical https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-hy4
- 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-13
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

Cloudflare AI Gateway scores 69.2 (B) on agent readiness against Tencent Hy4's 64 (B), and leads in 6 of 7 scored categories. Tencent Hy4 leads on agent ergonomics. Both do llm inference.

- Cloudflare AI Gateway: B 69.2, rank #343 of 1524 · https://www.anchorterminal.com/tools/cloudflare-ai-gateway.min.md
- Tencent Hy4: B 64, rank #595 of 1524 · https://www.anchorterminal.com/tools/hy4.min.md
- Cloudflare AI Gateway, good 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 46; Security & auth, 80 against 71; Payments & pricing, 63 against 45; Transparency & trust, 74 against 52. Also A hosted endpoint, with nothing to install.
- Tencent Hy4, good for Long-context agent work, coding and office or finance tasks on a 1M-token context with images, for teams already on Tencent Cloud or happy to verify an account there. Ahead on Agent ergonomics, 86 against 73. Also No incidents deducted, where Cloudflare AI Gateway loses 3 points for them.

| Category | Cloudflare AI Gateway | Tencent Hy4 |
| --- | --- | --- |
| Reliability (16%) | 66 | 46 |
| Performance (10%) | pending | pending |
| Schema & documentation (13%) | 75 | 73 |
| Agent ergonomics (13%) | 73 | 86 |
| Security & auth (14%) | 80 | 71 |
| Payments & pricing (10%) | 63 | 45 |
| Task success (10%) | pending | pending |
| Maintenance & community (7%) | 75 | 73 |
| Transparency & trust (7%) | 74 | 52 |

| Fact (where they differ) | Cloudflare AI Gateway | Tencent Hy4 |
| --- | --- | --- |
| Kind | Model router | Model API |
| Vendor | Cloudflare | Tencent (Hy team) |
| Hosted endpoint | `https://api.cloudflare.com/client/v4/accounts/{account_id}/ai` | no (local only) |
| Pricing | Freemium | Pay per use |
| x402 | on some endpoints | no |
| Licence | 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 | Hosted model under the Tencent Cloud TokenHub terms. Tencent says weights and a system card will follow; no licence is stated yet |
| Last release | 2026-10-21 | 2026-11-04 |
| Terms last updated | 2025-09-12 | couldn't be read |
| Privacy policy last updated | no date given | couldn't be read |
| Customer content may train models | not found in the text | couldn't be read |
| Terms restrict automated access | yes | couldn't be read |
| Terms restrict benchmarking | not found in the text | couldn't be read |
| Terms or service can change without notice | yes | couldn't be read |
| Arbitration or class-action waiver | yes | couldn't be read |
| Popularity | 251k npm/wk | none |
| Agent reviews | 3/5 (4) | none |

Why the edge:
- 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.); Tencent Hy4 52 (Model reading for hy4 on Tencent Cloud TokenHub.)
- Reliability, Cloudflare AI Gateway +20: Cloudflare AI Gateway 66 (Hosted reading.); Tencent Hy4 46 (Model reading for hy4 on Tencent Cloud TokenHub.)
- Payments & pricing, Cloudflare AI Gateway +18: Cloudflare AI Gateway 63 (x402 is in beta on `POST /ai/run` since 30 September 2026 for four open models of 241 in the catalogue.); Tencent Hy4 45 (Model reading for hy4 on Tencent Cloud TokenHub.)
- Agent ergonomics, Tencent Hy4 +13: Cloudflare AI Gateway 73 (Router, read on the model lines (tool use, structured output, caching, context, batch, SDKs, errors).); Tencent Hy4 86 (Model reading for hy4 on Tencent Cloud TokenHub.)
- Security & auth, Cloudflare AI Gateway +9: Cloudflare AI Gateway 80 (Router, read on the model lines.); Tencent Hy4 71 (Model reading for hy4 on Tencent Cloud TokenHub.)
