Head to head · LLM inference · October 2026 research run

Hugging Face Inference Providers vs Tencent Hy4

Tencent Hy4 scores 64 (B) on agent readiness against Hugging Face Inference Providers's 55.3 (C), and leads in 4 of 7 scored categories. Hugging Face Inference Providers leads on security & auth, maintenance & community and transparency & trust. Both do llm inference.

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

Which one, for what

Hugging Face Inference Providers C

Best for Agents and developers who want open-weight models from several hosts on one token and one bill, with a public price and capability list per provider.

Ahead on

  • Security & auth, 79 against 71
  • Maintenance & community, 80 against 73
  • Transparency & trust, 71 against 52

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

No rate limits, 429 behaviour or error responses documented for the router

Tencent Hy4 B

Best 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

  • Reliability, 46 against 25
  • Schema & documentation, 73 against 62
  • Agent ergonomics, 86 against 58
  • Payments & pricing, 45 against 30

Watch for

Weights, licence and system card are promised but not published; tencent/Hy4 didn't answer on Hugging Face on 11 November

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.

Agent ergonomics Tencent Hy4 +28

Hugging Face Inference Providers 58

Router reading of the model checklist (tool use, structured output, caching, context, batch, SDKs, errors), as for openrouter. Tool calling through the OpenAI-compatible API with tool_choice, support flagged per provider in /v1/models (15 of 20). Structured output documented, support flagged per provider and false on some (10 of 15). No prompt caching guidance found, though the Enterprise usage API counts cached input tokens (3 of 15). Routes to models with up to 1,048,576 tokens of context per the model list, a judgement call since a router has no default model (15). No batch API (0 of 10). Official clients in Python and JavaScript, plus any OpenAI SDK (10). Errors not documented (5 of 15).

Tencent Hy4 86

Model reading for hy4 on Tencent Cloud TokenHub. Platform facts are the tencent-tokenhub listing's (checked 1 November), carried over as RULES.md allows for a model on an already graded platform. Function calling is marked for hy4 in the model list (18 of 20). Structured output marked (13 of 15). Cache-hit price published, ¥0.3 against ¥6 input (14 of 15). 1M-token context with 960K input and 64K output (15). Batch at half price covered Hy3 and Hy4 preview on 1 November; whether it covers hy4 wasn't re-read (3 of 10). OpenAI and Anthropic SDKs with a changed base URL, plus Tencent Cloud's SDK and CLI for the control plane (8 of 10). Errors with code, messages, upstream status and request ID (15 of 15). 18 + 13 + 14 + 15 + 3 + 8 + 15 = 86.

Reliability Tencent Hy4 +21

Hugging Face Inference Providers 25

Hosted lines. status.huggingface.co is a Better Stack page with 90-day component history for the Hub, Inference Endpoints, Spaces, the CDNs and Jobs, but no component for Inference Providers or the router (10 of 20). With no component, there is no readable incident history for the surface agents call, and the feed's 23 items from 10 June to 7 October 2026 don't name it (5). No rate limits for the router were found; the Hub rate-limits page gives numbers for Hub APIs, resolvers and pages only (0). No 429 or overload guidance for the router was found (0). No SLA found (0). Chat completions on the router is generally available; the Responses API is labelled beta (10). Routing between providers with :fastest or :cheapest softens a single provider's outage, which this checklist doesn't score.

Tencent Hy4 46

Model reading for hy4 on Tencent Cloud TokenHub. Platform facts are the tencent-tokenhub listing's (checked 1 November), carried over as RULES.md allows for a model on an already graded platform. No public status page (0) and so no incident record to read (5 of 30). Per-model rate limits only in the console and DescribeModelQuota (8 of 15). Six 429 codes, Retry-After and backoff advice (13 of 15). The TokenHub SLA promises 99.5% a month, and Hy4 is Tencent's own model, so the third-party exclusion doesn't apply (10). Released as hy4 on 4 November, a separate id from hy4-preview, with no preview label (10). 0 + 5 + 8 + 13 + 10 + 10 = 46.

Transparency & trust Hugging Face Inference Providers +19

Hugging Face Inference Providers 71

Closed service under Terms of Service that name Inference Providers, with an Apache-2.0 Python client and an MIT JavaScript client (20). The security page and the docs agree on no training, no stored bodies and 30-day logs, but the privacy policy dates from 28 March 2023 and each provider's own data policy governs the rest (18 of 30). No deprecation policy found. Provider support changes and the 7 October removal of free credits are dated only in the docs repository history (5 of 20). The privacy policy lists 11 subprocessors with countries per the Inference Endpoints check, and the docs name every provider a request can reach, though not where each runs (15 of 20).

Tencent Hy4 52

Model reading for hy4 on Tencent Cloud TokenHub. Platform facts are the tencent-tokenhub listing's (checked 1 November), carried over as RULES.md allows for a model on an already graded platform. Closed service under the TokenHub terms, but Tencent's release headline calls Hy4 open source while the weights and system card are only promised 'in the coming days', with no licence stated, and tencent/Hy4 didn't answer on Hugging Face on 11 November (14 of 30). Terms and FAQ agree inputs aren't used for training; the privacy policy renders only with JavaScript and wasn't read (15 of 30). Dated retirement notices and shutdown fields (13 of 20). Processing generally in mainland China for the China site, Singapore for the international one (13 of 20). Every benchmark in the release is Tencent's own or a partner's. 14 + 15 + 13 + 13 = 55.

Payments & pricing Tencent Hy4 +15

Hugging Face Inference Providers 30

No x402, MPP or L402 (0). Per-token prices for every model and provider published without a login in the router's /v1/models and on model pages (20). No free tier since 7 October 2026, when free users lost their included monthly credits; PRO's $2.00 of credits needs a subscription (0). Sign-up, token creation and credit purchase are browser steps (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

Tencent Hy4 45

Model reading for hy4 on Tencent Cloud TokenHub. Platform facts are the tencent-tokenhub listing's (checked 1 November), carried over as RULES.md allows for a model on an already graded platform. No machine payment protocol (0). The price page, updated 9 November, lists ¥6 input, ¥0.3 cached and ¥18 output per million tokens, with Hy4 billed at 50% until 31 December 2026 (20). TokenHub's campaign of 1M free tokens per language model, read on 1 November, isn't confirmed for hy4 on the price page, so half (10 of 20, a judgement call). A person signs up with real-name verification (0). 0 + 20 + 10 + 0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

Schema & documentation Tencent Hy4 +11

Hugging Face Inference Providers 62

No OpenAPI document for the router (openapi.json paths answer 404). The task reference pages are generated from typed JSON Schema specs in huggingface.js, and the router's /v1/models gives a machine-readable catalogue, so 12 of 25. llms.txt for the Inference Providers docs and a Markdown twin of every page via .md (10). Guides say what each task and policy is for, with a quick setup page for coding agents (14 of 20). Parameter tables with types for chat completion, though response_format and tool_choice show as unknown types (9 of 15). Examples in Python, JavaScript and curl on every task page, but no documented error responses for the router (9 of 15). No changelog of its own; the Hub changelog doesn't cover it and dated changes are only in the hub-docs history (8 of 15).

Tencent Hy4 73

Model reading for hy4 on Tencent Cloud TokenHub. Platform facts are the tencent-tokenhub listing's (checked 1 November), carried over as RULES.md allows for a model on an already graded platform. No OpenAPI file for inference; field pages for the OpenAI and Anthropic formats as TokenHub implements them (12 of 25). llms.txt with Markdown copies (10). The model list, updated 9 November, gives hy4's context, input and output limits and marks thinking, structured output, function calling, caching and image understanding; computer use, which Tencent's release names, isn't marked (13 of 20). Typed field pages (10 of 15). Examples in five languages and an error page of 30 codes (14 of 15). Dated release notes, with hy4 added on 4 November (14 of 15). 12 + 10 + 13 + 10 + 14 + 14 = 73.

Security & auth Hugging Face Inference Providers +8

Hugging Face Inference Providers 79

Model reading. Fine-grained user access tokens that can be limited to the Make calls to Inference Providers permission, rotated and revoked, plus a public revocation endpoint for leaked tokens, and organisation approval of fine-grained tokens on paid plans (30). Hugging Face says it doesn't store user data for training, but data handling past the router follows each provider's policy, with no per-request filter to exclude providers that train or retain (12 of 20). Request bodies and responses aren't stored when routed and debug logs are kept up to 30 days without user data or tokens, with provider retention outside that statement (10 of 15). Usage by model and provider in account settings, an Enterprise usage API, and Team and Enterprise admins can disable providers and set a spending limit (13 of 15). SOC 2 Type 2 for the Hub, of which the docs say Inference Providers is a feature, and security.txt valid to 2030 per the Inference Endpoints check; no bug bounty found (14 of 20).

Tencent Hy4 71

Model reading for hy4 on Tencent Cloud TokenHub. Platform facts are the tencent-tokenhub listing's (checked 1 November), carried over as RULES.md allows for a model on an already graded platform. Bearer keys limited by model, service, IP range and token quota, long-lived with no rotation (26 of 30). The terms say inputs aren't used to train Tencent Cloud's own models, and Hy4 is first party, so no third party's terms apply (14 of 20). Retention only as long as the service needs, no periods (7 of 15). Per-call audit logs and optional full logs to the customer's CLS (14 of 15). No security.txt; Tencent's TSRC bounty covers Tencent Cloud; no certification checked (10 of 20). 26 + 14 + 7 + 14 + 10 = 71.

Score by category

CategoryWeight this runHugging Face Inference ProvidersTencent Hy4Edge
Reliability16%202546Tencent Hy4 +21
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.26273Tencent Hy4 +11
Agent ergonomics13%16.25886Tencent Hy4 +28
Security & auth14%17.57971Hugging Face Inference Providers +8
Payments & pricing10%12.53045Tencent Hy4 +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88073Hugging Face Inference Providers +7
Transparency & trust7%8.87152Hugging Face Inference Providers +19
Negative events≤1500
TotalC 55.3/100B 64/100

Facts side by side

FactHugging Face Inference ProvidersTencent Hy4
KindModel routerModel API
VendorHugging FaceTencent (Hy team)
Hosted endpointhttps://router.huggingface.co/v1no (local only)
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPay per usePay per use
x402nono
LicenceProprietary service under the Hugging Face Terms of Service, which name Inference Providers. The huggingface_hub Python client is Apache-2.0 and @huggingface/inference is MITHosted model under the Tencent Cloud TokenHub terms. Tencent says weights and a system card will follow; no licence is stated yet
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-292026-11-04
Terms last updated2022-09-15couldn't be read
Privacy policy last updated2023-03-28couldn't be read
Customer content may train modelsnot found in the textcouldn't be read
Terms restrict automated accessnot found in the textcouldn't be read
Terms restrict benchmarkingnot found in the textcouldn't be read
Terms or service can change without noticeyescouldn't be read
Arbitration or class-action waivernot found in the textcouldn't be read
Popularity483k npm/wk, 71.5M PyPI/wknone

How the scores have moved

Verdicts

Hugging Face Inference Providers

One Hugging Face token reaches open models on 18 partner providers at the providers' own prices, with a public model list that shows each provider's price, context and tool support. Router rate limits, error responses and its own status component were not found in the reviewed documentation, and free accounts have had no included credits since 7 October 2026.

Tencent Hy4

Tencent's flagship model is on TokenHub as hy4, with a 1M-token context, image understanding, function calling and caching, at ¥6 input and ¥18 output per million tokens, half price until the end of 2026. The weights it is called open source for aren't published yet, and every benchmark is Tencent's own.

Before you call either

Hugging Face Inference Providers

  1. Read https://router.huggingface.co/v1/models before choosing a provider; it shows price, context and supports_tools per provider
  2. Pin a provider with model:<provider> when tool calling or structured output matters, since support varies by provider
  3. Use a fine-grained token with only the Inference Providers permission, and send X-HF-Bill-To to bill an organisation
  4. Back off on 429 without assuming a Retry-After header, since none is documented for the router

Tencent Hy4

  1. Use model id hy4 on TokenHub's OpenAI- or Anthropic-compatible endpoints; hy4-preview is a separate, older model
  2. Keep input under 960K tokens and expect at most 64K output
  3. Reuse prompt prefixes: cached input is ¥0.3 against ¥6
  4. Check the price page for the end of the 50% discount on 31 December 2026 before budgeting
  5. Read rate limits from the console or DescribeModelQuota; the public docs don't give them for chat models

Questions

Which is better for AI agents, Hugging Face Inference Providers or Tencent Hy4?

Tencent Hy4 scores 64 (B) on agent readiness against Hugging Face Inference Providers's 55.3 (C), and leads in 4 of 7 scored categories. Hugging Face Inference Providers leads on security & auth, maintenance & community and transparency & trust.

Do Hugging Face Inference Providers and Tencent Hy4 need an API key?

Both need an API key.

Can an agent call Hugging Face Inference Providers and Tencent Hy4 without installing anything?

Hugging Face Inference Providers has a hosted endpoint at https://router.huggingface.co/v1. No hosted endpoint is listed for Tencent Hy4.

Other comparisons with Hugging Face Inference Providers or Tencent Hy4

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.