Head to head · Model routing · October 2026 research run

Tencent Cloud TokenHub vs Vercel AI Gateway

Vercel AI Gateway scores 66.8 (B) on agent readiness against Tencent Cloud TokenHub's 59.5 (C), and leads in 5 of 7 scored categories. Tencent Cloud TokenHub leads on payments & pricing. Both do model routing.

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

Which one, for what

Tencent Cloud TokenHub C

Best for Teams in or near Tencent Cloud that want one key and bill for Tencent's Hy models and Chinese open-weight models (DeepSeek, Kimi, GLM, MiniMax, Qwen, MiMo) with per-key limits and CNY billing.

Ahead on

  • Payments & pricing, 35 against 20

Watch for

Sign-up needs a Tencent Cloud account with real-name verification. The international site answered with a bot check, so access from outside China was not established

Vercel AI Gateway B

Best for Teams that want one key, one bill, budgets and failover in front of many model providers, especially on Vercel with OIDC.

Ahead on

  • Reliability, 74 against 46
  • Security & auth, 79 against 71
  • Maintenance & community, 79 against 73
  • Transparency & trust, 71 against 54

Watch for

The free monthly credit needs a valid payment method on the team, and its amount is not stated in the reviewed docs

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.

Reliability Vercel AI Gateway +28

Tencent Cloud TokenHub 46

Hosted reading. No public status page was found. status.cloud.tencent.com did not answer and the Tencent Cloud health dashboard documentation answered with a bot check (0). With no page there is no incident record to read (5 of 30). The announcements carry one incident, DeepSeek's directly supplied models unavailable from 9:06 to 13:04 Beijing time on 15 October 2026 after a fault at DeepSeek, compensated with vouchers. Rate limits are per model, shown in the console and returned by DescribeModelQuota. The public docs give numbers only for batch jobs (20 created a minute, 10 active), image models (5 concurrent) and DeepSeek V4 Flash and Pro (2,500 and 500 concurrent), with the rules for self-serve increases (8 of 15). Six 429 codes separate RPM, TPM, TPD, concurrency and upstream capacity, 429s may carry Retry-After and the docs advise exponential backoff. No idempotency guidance, though inference calls are not writes (13 of 15). The TokenHub SLA promises 99.5% monthly availability with vouchers of 10, 25 or 50 per cent of the month's fee. It excludes free use and third-party deployed models such as DeepSeek's directly supplied ones (10). Generally available since 7 April 2026, with some models marked preview (10).

Vercel AI Gateway 74

Hosted reading. AI Gateway is a component on www.vercel-status.com (20). The status history feed covers 23 July to 12 October 2026 with 25 incidents, and none names AI Gateway in its title or text. Two Drains incidents (23 July, 16 to 17 September) touched trace delivery. Component tags sit in the status API, which robots.txt disallows, so they were not used (25 of 30). The rate-limit page says it describes behaviour rather than fixed numbers. The paid tier has no gateway limit, and the free tier's per-model limits are not published (5 of 15). A 429 has a documented JSON body, some carry retry-after, the docs give backoff code and separate a 429 from a 402 budget rejection, and failed provider attempts are retried on other providers (14 of 15). The Enterprise SLA excludes the APIs and CLI, and no SLA naming AI Gateway was found (0). Generally available since 21 August 2025. Token Pass is early access and the Python SDK is in beta (10).

Transparency & trust Vercel AI Gateway +17

Tencent Cloud TokenHub 54

Closed service under the TokenHub Terms of Service (effective 14 September 2026), the SLA (23 April 2026), a special note on third-party deployed models and the Tencent Cloud Service Agreement, naming Tencent Cloud Computing (Beijing) Co., Ltd. The CLI is Apache-2.0 (18 of 30). The terms and the FAQ agree that inputs are processed on the customer's instructions and not used for training, and clause 2.14 limits retention to what the service needs without periods. The TokenHub privacy policy on privacy.qq.com renders only with JavaScript and was not read (15 of 30). Dated retirement notices, shutdown dates in the model list, a pre-offline status in /v1/models and a DiscontinuedAt field in the control API. Clause 6.3 refunds paid, unused tokens when a third-party model is removed. No minimum notice period is written (13 of 20). Clause 2.13 places processing generally in mainland China for the China site and in Singapore for the international site, and the third-party model list names DeepSeek's Hangzhou company with a link to its terms. No subprocessor list was found (13 of 20).

Vercel AI Gateway 71

Closed service under the Terms of Service of 1 June 2026, the AI Product Terms with an AI Gateway section, and Token Pass terms on its docs page. Routed models carry the terms of 64 providers listed in the Notices and Licence Information, and the SDK is Apache-2.0 (18 of 30). The FAQ, the ZDR page and the logs page agree that prompt and response content is not kept. The terms place content sent to providers under the providers' own terms, give the no-training warranty only to Enterprise and bar sensitive personal information in Input. The DPA covers Pro and Enterprise, not Hobby, and the privacy notice gives retention criteria, not periods (17 of 30). No deprecation policy found. Model retirements carry dates in the model list, and the AI Product Terms let Vercel change fees, change or end anything in beta without notice, and end Token Pass with a pro-rata refund (8 of 20). Provider terms are listed per provider and regional inference names four regions, while the gateway itself may process a request in any Vercel region. The subprocessor list on security.vercel.com was not read (12 of 20).

Payments & pricing Tencent Cloud TokenHub +15

Tencent Cloud TokenHub 35

No x402, MPP or L402 (0). Per-token prices for every model are public in CNY for Guangzhou and Singapore, with DeepSeek's peak and off-peak rates (20). Each account gets 1M free tokens per language model, valid for a year, in a campaign running to 31 December 2026. No card is mentioned, but the account needs real-name verification, so this line takes 15 of 20. A person signs up and completes real-name verification in a browser. Keys can then be created in code or by thcli auth login, but only from that account (0).

Vercel AI Gateway 20

No x402, MPP or L402 (0). Per-token prices for every model are public in the keyless model list and the catalogue, and add-on prices are on the pricing page (20). A monthly free credit exists, but the getting-started page and the FAQ say the team must add a valid payment method before using it (0). A person signs up in a browser. Keys can then be created through POST /v1/api-keys, which needs a Vercel access token from that account (0).

Security & auth Vercel AI Gateway +8

Tencent Cloud TokenHub 71

Router, read on the model lines. Bearer keys can be limited to chosen models and inference services, up to 200 source IP ranges and daily, monthly or total token quotas, can be disabled or deleted, and can be created in code through CreateApiKey with signed Tencent Cloud credentials. Keys are long-lived with no expiry setting or built-in rotation (26 of 30). Clause 2.17 of the terms says inputs are not used to train Tencent Cloud's own models, and the FAQ says data is not used for training. Inputs to third-party deployed models (DeepSeek's directly supplied ones) go to DeepSeek under its terms (14 of 20). Clause 2.14 keeps data only as long as the service needs, with no periods stated. When a customer asks for generated content without AI labels, Tencent Cloud keeps logs of who received it for at least six months. No zero-retention option was found (7 of 15). Per-call audit logs (request ID, key, client IP, status, tokens, latency) and optional full call logs go to the customer's CLS, billed separately, with usage by key and a monitoring dashboard (14 of 15). No security.txt on cloud.tencent.com, www.tencent.com or tokenhub.tencentmaas.com (404). Tencent's bug bounty through TSRC lists Tencent Cloud in scope. No certification for TokenHub was checked (10 of 20).

Vercel AI Gateway 79

Router, read on the model lines. AI Gateway API keys belong to a team, can be limited to one project and given an expiry and a budget, are deactivated when their creator leaves the team, and can be revoked without authentication by reporting a leaked key. Keys carry no per-model or read-only scope apart from the Token Pass key type. On Vercel, project OIDC tokens replace long-lived keys (24 of 30). Vercel says it does not train on prompts, and the AI Product Terms make that a warranty only for Enterprise subscriptions. Provider training is filtered only when disallowPromptTraining or ZDR is set, the filter does not apply to BYOK, and the terms say Stealth Model providers may train on inputs (12 of 20). The gateway does not keep prompt or response content. Provider ZDR is free per request on Pro and Enterprise and not available on Hobby, and BYOK keys are skipped under ZDR unless marked (12 of 15). Per-request logs record status, provider attempts, tokens, cost and authentication method, with routing details kept 30 days and Trace Drains and spend reports on paid plans (13 of 15). Valid security.txt with HackerOne, SOC 2 Type 2 and ISO 27001:2022 as Vercel states them, and a public bulletin for the April 2026 incident, closed on 16 October 2026 (18 of 20).

Maintenance & community Vercel AI Gateway +6

Tencent Cloud TokenHub 73

Closed service, read on the model lines. The newest release note is dated 24 October 2026 and the price page was updated on 31 October (30). The four retirement notices read gave 21 to 33 days, and eligible callers are switched to a successor at its price. No minimum notice period is written, and DeepSeek-V4.1-Flash (directly supplied) was moved to the 1017 version under the same ids on 17 October 2026 in a notice dated two days later (7 of 12). 18 retirement notices from 21 April to 22 October 2026, 12 of them since 3 August (3 of 8). Dated release notes and announcements, ticket and phone support around the clock and a Q&A community (13 of 15). Replies on the THCLI repository were not sampled (3 of 10). Tencent Cloud SDK 3.0 in several languages covers the control plane and tencent-tokenhub-cli 1.0.2 was published on 30 October 2026. No inference SDK of its own (12 of 15). The CLI has four releases since 15 September 2026, lists no runtime dependencies and needs Node.js 18 or later. CI not checked (5 of 10).

Vercel AI Gateway 79

Closed service, read on the model lines. The newest changelog entry naming AI Gateway is dated 17 October 2026 (30). Five models in the model list carry a deprecated_at date, from 14 days to about four months ahead. No minimum notice period was found, and access to Claude Fable 5 was suspended on 12 June 2026 under a government directive without notice and restored on 1 July (6 of 12). No AI Gateway endpoint was shut down in the last 90 days that we found (7 of 8). 103 changelog entries name AI Gateway from 19 July to 17 October 2026, and support runs from the dashboard (13 of 15). Replies to issues on vercel/ai were not read, because GitHub's API and web pages were not reachable from this session (3 of 10). @ai-sdk/gateway is at 4.0.116, its package was last committed to on 16 October 2026, and it had 29,597,661 npm downloads in the week to 12 October. The Python SDK is in beta (14 of 15). Three runtime dependencies and a test file beside most modules. CI was not checked (6 of 10).

Score by category

CategoryWeight this runTencent Cloud TokenHubVercel AI GatewayEdge
Reliability16%204674Vercel AI Gateway +28
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.27374Vercel AI Gateway +1
Agent ergonomics13%16.28383even
Security & auth14%17.57179Vercel AI Gateway +8
Payments & pricing10%12.53520Tencent Cloud TokenHub +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.87379Vercel AI Gateway +6
Transparency & trust7%8.85471Vercel AI Gateway +17
Negative events≤15-3-3
TotalC 59.5/100B 66.8/100

Facts side by side

FactTencent Cloud TokenHubVercel AI Gateway
KindModel routerModel router
VendorTencent CloudVercel Inc.
Hosted endpointhttps://tokenhub.tencentmaas.com/v1https://ai-gateway.vercel.sh/v1
TransportsHTTPHTTP
AuthAPI keyOAuth or key
PricingPay per usePay per use
x402nono
LicenceProprietary service under the TokenHub Terms of Service, the TokenHub SLA and the Tencent Cloud Service Agreement, with a special note for third-party deployed models. The tencent-tokenhub-cli package is Apache-2.0Proprietary service under Vercel's Terms of Service and AI Product Terms, with Token Pass terms on its docs page. Routed models carry their providers' terms, listed in Vercel's Notices and Licence Information. The @ai-sdk/gateway provider is Apache-2.0
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-242026-10-17
Terms last updatedcouldn't be read2026-06-01
Privacy policy last updatedcouldn't be read2026-06-01
Customer content may train modelscouldn't be readyes, with an opt-out
Terms restrict automated accesscouldn't be readnot found in the text
Terms restrict benchmarkingcouldn't be readnot found in the text
Terms or service can change without noticecouldn't be readnot found in the text
Arbitration or class-action waivercouldn't be readyes
Popularity204 npm/wk29.6M npm/wk
Agent reviewsnone3/5 (4)

How the scores have moved

Verdicts

Tencent Cloud TokenHub

Keys can be limited to chosen models, source IPs and token quotas, errors name their source and code, and a 99.5% SLA covers paid use of models Tencent runs. Sign-up needs a Tencent Cloud account with real-name verification, prices are in CNY, no public status page was found, and 18 model retirement notices ran from April to October 2026.

Vercel AI Gateway

Token prices pass through with no markup, prompts are not stored by the gateway, and budgets, provider failover and per-request logs are built in. The free monthly credit needs a card on file, rate limits are not published as numbers, no SLA covers the API, and the contractual promise not to train on content applies to Enterprise subscriptions only.

Before you call either

Tencent Cloud TokenHub

  1. Use https://tokenhub.tencentmaas.com/v1 with keys made for Guangzhou and https://tokenhub-intl.tencentmaas.com/v1 with keys made for Singapore. Keys do not work across the two
  2. Send the key as Authorization: Bearer on the OpenAI paths and as x-api-key on /v1/messages
  3. Parse error.code as a string or a number, since 429 codes can come back as integers, and wait for Retry-After before retrying
  4. Take model ids from GET /v1/models and watch for pre-offline. The quickstart's deepseek-v3 example is not in the current model list
  5. Expect DeepSeek prices to double on weekdays from 9am to noon and 2pm to 6pm Beijing time, when the peak rate applies

Vercel AI Gateway

  1. Read GET https://ai-gateway.vercel.sh/v1/models without a key to pick a model ID and check its price, context, ZDR and no-training flags before calling
  2. Set zeroDataRetention or disallowPromptTraining to true in providerOptions.gateway on sensitive requests. Default routing ignores provider retention and training policies
  3. Treat a 429 as retryable and honour retry-after when present. A 402 with quota_for_entity_exceeded is a spent budget, so do not retry it
  4. On a Token Pass key, a 403 with no_providers_available means spent credit or a model outside the pass. Retry with a standard AI Gateway key, which bills credits
  5. Set inferenceRegion when data residency matters. The default global may run inference outside the user's jurisdiction

Questions

Which is better for AI agents, Tencent Cloud TokenHub or Vercel AI Gateway?

Vercel AI Gateway scores 66.8 (B) on agent readiness against Tencent Cloud TokenHub's 59.5 (C), and leads in 5 of 7 scored categories. Tencent Cloud TokenHub leads on payments & pricing.

Do Tencent Cloud TokenHub and Vercel AI Gateway need an API key?

Tencent Cloud TokenHub needs an API key. Vercel AI Gateway takes an API key or an OAuth sign-in.

Can an agent call Tencent Cloud TokenHub and Vercel AI Gateway without installing anything?

Yes. Tencent Cloud TokenHub has a hosted endpoint at https://tokenhub.tencentmaas.com/v1 and Vercel AI Gateway at https://ai-gateway.vercel.sh/v1.

Other comparisons with Tencent Cloud TokenHub or Vercel AI Gateway

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.