# Tencent Hy4 vs xAI API (Grok) (slim)

> xAI scores 72.9 (BB) 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/hy4-vs-xai-api.md (~6,350 tokens) · this version ~980 tokens · JSON https://www.anchorterminal.com/compare/hy4-vs-xai-api.json · canonical https://www.anchorterminal.com/compare/hy4-vs-xai-api
- 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)

xAI API (Grok) scores 72.9 (BB) on agent readiness against Tencent Hy4's 64 (B), and leads in 6 of 7 scored categories. Tencent Hy4 leads on payments & pricing. Both do llm inference.

- Tencent Hy4: B 64, rank #595 of 1524 · https://www.anchorterminal.com/tools/hy4.min.md
- xAI API (Grok): BB 72.9, rank #201 of 1524 · https://www.anchorterminal.com/tools/xai-api.min.md
- 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 Payments & pricing, 45 against 30.
- xAI API (Grok), good for Agents that want a capable model at a low per-token price with built-in web and X search, remote MCP and voice, and teams that need self-serve ZDR or US-only processing. Ahead on Reliability, 55 against 46; Schema & documentation, 88 against 73; Security & auth, 97 against 71; Transparency & trust, 63 against 52. Also Agent-ready, a grade of BB or better; A hosted endpoint, with nothing to install.

| Category | Tencent Hy4 | xAI API (Grok) |
| --- | --- | --- |
| Reliability (16%) | 46 | 55 |
| Performance (10%) | pending | pending |
| Schema & documentation (13%) | 73 | 88 |
| Agent ergonomics (13%) | 86 | 90 |
| Security & auth (14%) | 71 | 97 |
| Payments & pricing (10%) | 45 | 30 |
| Task success (10%) | pending | pending |
| Maintenance & community (7%) | 73 | 77 |
| Transparency & trust (7%) | 52 | 63 |

| Fact (where they differ) | Tencent Hy4 | xAI API (Grok) |
| --- | --- | --- |
| Vendor | Tencent (Hy team) | SpaceXSI (xAI) |
| Hosted endpoint | no (local only) | `https://api.x.ai/v1` |
| Licence | Hosted model under the Tencent Cloud TokenHub terms. Tencent says weights and a system card will follow; no licence is stated yet | Proprietary service under xAI's enterprise terms of service. The Python SDK is Apache-2.0 |
| Last release | 2026-11-04 | 2026-11-02 |
| Terms last updated | couldn't be read | 2026-10-27 |
| Privacy policy last updated | couldn't be read | 2026-10-27 |
| Customer content may train models | couldn't be read | yes |
| Terms restrict automated access | couldn't be read | not found in the text |
| Terms restrict benchmarking | couldn't be read | not found in the text |
| Terms or service can change without notice | couldn't be read | not found in the text |
| Arbitration or class-action waiver | couldn't be read | yes |
| Popularity | none | 597 stars, 912k PyPI/wk |

Why the edge:
- Security & auth, xAI API (Grok) +26: Tencent Hy4 71 (Model reading for hy4 on Tencent Cloud TokenHub.); xAI API (Grok) 97 (Model reading.)
- Schema & documentation, xAI API (Grok) +15: Tencent Hy4 73 (Model reading for hy4 on Tencent Cloud TokenHub.); xAI API (Grok) 88 (OpenAPI 3.1 document at docs.x.ai/openapi.json, 39 paths and 205 schemas on 6 November, covering Responses, Chat Completions, files, images, videos and models.)
- Payments & pricing, Tencent Hy4 +15: Tencent Hy4 45 (Model reading for hy4 on Tencent Cloud TokenHub.); xAI API (Grok) 30 (No x402, MPP or L402 (0).)
- Transparency & trust, xAI API (Grok) +11: Tencent Hy4 52 (Model reading for hy4 on Tencent Cloud TokenHub.); xAI API (Grok) 63 (Closed service under xAI's enterprise terms, with the Python SDK under Apache-2.0 (15).)
- Reliability, xAI API (Grok) +9: Tencent Hy4 46 (Model reading for hy4 on Tencent Cloud TokenHub.); xAI API (Grok) 55 (Status page at status.x.ai with components for the global and US API endpoints, voice, the consumer apps and, since the Cursor merger, Cursor's services, with a…)
