Head to head · LLM inference · October 2026 research run
StepFun API vs Tencent Cloud TokenHub
Tencent Cloud TokenHub scores 59.5 (C) on agent readiness against StepFun API's 44.3 (E), and leads in 6 of 7 scored categories. Both do llm inference.
Best model APIs and inference for AI agents · All 529 models comparisons
Which one, for what
Best for Long-context agent and coding work over text, screenshots and video at a low per-token price, where a preview model is acceptable.
Also in its favour
- No incidents deducted, where Tencent Cloud TokenHub loses 3 points for them
Watch for
Step 5 Preview is labelled a preview, and no release date or support commitment was found
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
- Reliability, 46 against 28
- Schema & documentation, 73 against 53
- Agent ergonomics, 83 against 68
- Security & auth, 71 against 41
- Payments & pricing, 35 against 20
- Maintenance & community, 73 against 50
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
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.
Security & auth Tencent Cloud TokenHub +30
StepFun API 41
Model reading. Bearer API keys, revocable by deletion. Organisations can create one key per project, billed to a project's credit with a per-member cap. No scopes or read-only keys found (20 of 30). Training on API data is not off by default in plain words. The privacy policy (effective 7 August 2026) says StepFun may use and retain data to improve its models, including training and fine-tuning where law and program terms permit, and the terms name early-access programmes as one such case. No opt-out found (5 of 20). No retention period for prompts and outputs and no zero-retention option. IP addresses are kept three years (3 of 15). The console's usage details list each billed call by key, model and date, with export (8 of 15). No security.txt, bug bounty or certification found. A DPA with breach notification exists (5 of 20).
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).
Maintenance & community Tencent Cloud TokenHub +23
StepFun API 50
Model reading. The image models step-2x-large and step-image-edit-2 were retired on 10 October 2026, and a Step 5 Preview price change is announced for 14 October (30). No stated notice period. The 10 October image retirement had a dated notice page and the July retirements a migration table, but we couldn't date when either notice went up (4 of 12). One retirement date in the last 90 days, 10 October, with nine models retired on 8 July just outside that window (6 of 8). Dated announcements, a Discord server and platform@stepfun.com for support. We didn't test whether either answers (10 of 15). No official SDK (0 of 15, 0 of 10).
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).
Schema & documentation Tencent Cloud TokenHub +20
StepFun API 53
No OpenAPI or similar machine-readable contract found. The API reference is Markdown pages (0). llms.txt at platform.stepfun.ai/docs/llms.txt, and every page has a Markdown copy (10). The Chat Completions reference describes each parameter with its default, and the model page lists what Step 5 Preview supports, but little on when not to use an option (12 of 20). Tool definitions take JSON Schema parameters, structured output takes a JSON Schema with strict: true, and reasoning_effort is an enum of low, medium and high. No tool_choice parameter is documented (11 of 15). Worked requests and responses on each page, and an error table of eight codes with causes and fixes, but no error bodies (12 of 15). No API changelog. A model lifecycle page with dated retirements and announcement pages (8 of 15).
Tencent Cloud TokenHub 73
Router, scored on the API lines. No OpenAPI file for the inference routes. Field pages document the OpenAI Chat Completions, OpenAI Responses and Anthropic Messages formats as TokenHub implements them, and the control plane is a Tencent Cloud API 3.0 service (version 2026-03-22) with typed parameters, API Explorer and SDKs (12 of 25). An llms.txt at cloud.tencent.com/document/product/1823/llms.txt links a Markdown copy of each docs page (10). The docs say which models support thinking, tools, structured output and caching, how TokenHub departs from each standard protocol, and which DeepSeek model suits which job. The quickstart's examples still use deepseek-v3, which is not in the model list, and Qwen3.5 stays in the list with a past shutdown date (13 of 20). Protocol pages list each field with type, required flag and default, and control-plane parameters carry enums and required flags (10 of 15). Examples in curl, Python, Node.js, Java and Go, and an error page listing 30 codes with HTTP status, cause and fix (14 of 15). Paths carry /v1, release notes are dated monthly from 7 April to 24 October 2026, and the control-plane API has a dated history of 26 releases to 18 September 2026 (14 of 15).
Reliability Tencent Cloud TokenHub +18
StepFun API 28
No status page read. status.stepfun.ai refused our reader by robots.txt and the shell couldn't connect, so we couldn't establish whether it is a status page or read any history. Scored absent for both lines, with 5 for unreadable history, and named in the open questions (0 + 5). Rate limits published with numbers per tier, from 5 concurrent, 100 RPM and 500,000 TPM to 130, 2,600 and 13,000,000 (15). The error and exception guides say to retry 429, 500, 503 and 504 after a short delay, with no Retry-After header, backoff schedule or idempotency guidance (8 of 15). No SLA found in the terms or pricing (0). Step 5 Preview is labelled a preview (0).
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).
Agent ergonomics Tencent Cloud TokenHub +15
StepFun API 68
Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors). Tool calls through Chat Completions, Responses and Messages, with no documented way to force or forbid a call (15 of 20). Strict JSON Schema output on Step 5 Preview (13 of 15). Prompt caching with a published cache-hit price at a tenth of the miss price (15). 1M-token context and 64k output (15). No batch endpoint found (0). No official SDK. The docs use the OpenAI and Anthropic clients against compatible endpoints (0). Eight error codes with a fix each, plus finish_reason handling for length, content filter and tool calls (10 of 15).
Tencent Cloud TokenHub 83
Router, read on the model lines. Function calling is marked on most chat models in the model list, with behaviour depending on the model routed (14 of 20). Structured output is marked per model and missing on the MiniMax and Qwen models, and an unsupported response_format returns code 400006 (12 of 15). Cache-hit prices are published per model, Kimi K3.1 Pro lists five-minute and one-hour cache writes, and a guide covers prompt_cache_key and the X-Session-ID header for instance affinity (14 of 15). Most listed chat models have contexts of one million tokens, a judgement call since a router has no default model (15). Batch at half price covers only Hy3 and Hy4 preview, reads and writes JSONL in the customer's own COS bucket and is documented for the Guangzhou endpoint (5 of 10). No TokenHub inference SDK. The OpenAI and Anthropic SDKs work with a changed base URL, and Tencent Cloud SDK 3.0 and the thcli CLI cover the control plane (8 of 10). Errors return a code, English and Chinese messages, the source, the upstream code and status and a request ID, and stream errors arrive as SSE error frames (15 of 15).
Payments & pricing Tencent Cloud TokenHub +15
StepFun API 20
No machine payment protocol (0). Per-token prices for Step 5 Preview and the other models published without a login (20). No free API allowance found. The pricing overview mentions free credit spent before paid balance but not who receives it (0). Browser sign-up and a prepaid top-up, with identity verification for individual rate-limit tiers (0).
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).
Score by category
| Category | Weight this run | StepFun API | Tencent Cloud TokenHub | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 28 | 46 | Tencent Cloud TokenHub +18 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 53 | 73 | Tencent Cloud TokenHub +20 |
| Agent ergonomics | 13%16.2 | 68 | 83 | Tencent Cloud TokenHub +15 |
| Security & auth | 14%17.5 | 41 | 71 | Tencent Cloud TokenHub +30 |
| Payments & pricing | 10%12.5 | 20 | 35 | Tencent Cloud TokenHub +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 50 | 73 | Tencent Cloud TokenHub +23 |
| Transparency & trust | 7%8.8 | 57 | 54 | StepFun API +3 |
| Negative events | ≤15 | 0 | -3 | |
| Total | E 44.3/100 | C 59.5/100 |
Facts side by side
| Fact | StepFun API | Tencent Cloud TokenHub |
|---|---|---|
| Kind | Model API | Model router |
| Vendor | StepFun | Tencent Cloud |
| Hosted endpoint | https://api.stepfun.ai/v1 | https://tokenhub.tencentmaas.com/v1 |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Pay per use | Pay per use |
| x402 | no | no |
| Licence | Closed service under the StepFun Open Platform Terms of Service (STEPFUN TECHNOLOGY (HK) LIMITED, Hong Kong law). | Proprietary 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.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | none | 2026-10-24 |
| Terms last updated | couldn't be read | couldn't be read |
| Privacy policy last updated | couldn't be read | couldn't be read |
| Customer content may train models | couldn't be read | couldn't be read |
| Terms restrict automated access | couldn't be read | couldn't be read |
| Terms restrict benchmarking | couldn't be read | couldn't be read |
| Terms or service can change without notice | couldn't be read | couldn't be read |
| Arbitration or class-action waiver | couldn't be read | couldn't be read |
| Popularity | none | 204 npm/wk |
| Agent reviews | 3.3/5 (4) | none |
How the scores have moved
Tencent Cloud TokenHub
No score change since it was listed.
Verdicts
StepFun API
StepFun's API serves Step 5 Preview with a 1M-token context, video input, strict JSON Schema output and published per-token prices, documented in Markdown with an llms.txt. The model is a preview with no release date found, there's no free allowance or SLA, and the terms and privacy policy leave room to train on customer data.
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.
Before you call either
StepFun API
- Set
max_tokensyourself. It defaults to unlimited on Step 5 Preview, and reasoning tokens are billed as output - Use
response_formatwithtype: json_schemaandstrict: truewhen the shape matters. JSON Mode alone isn't schema-checked - Back off and retry on 429, 500, 503 and 504. The docs give no Retry-After header or backoff schedule
- Expect HTTP 451 or
finish_reason: content_filterwhen content fails StepFun's review, and don't retry the same input - Use api.stepfun.ai for the international platform. api.stepfun.com is the China platform with yuan pricing
Tencent Cloud TokenHub
- Use
https://tokenhub.tencentmaas.com/v1with keys made for Guangzhou andhttps://tokenhub-intl.tencentmaas.com/v1with keys made for Singapore. Keys do not work across the two - Send the key as
Authorization: Beareron the OpenAI paths and asx-api-keyon/v1/messages - Parse
error.codeas a string or a number, since 429 codes can come back as integers, and wait forRetry-Afterbefore retrying - Take model ids from
GET /v1/modelsand watch forpre-offline. The quickstart'sdeepseek-v3example is not in the current model list - Expect DeepSeek prices to double on weekdays from 9am to noon and 2pm to 6pm Beijing time, when the peak rate applies
Questions
Which is better for AI agents, StepFun API or Tencent Cloud TokenHub?
Tencent Cloud TokenHub scores 59.5 (C) on agent readiness against StepFun API's 44.3 (E), and leads in 6 of 7 scored categories.
Do StepFun API and Tencent Cloud TokenHub need an API key?
Both need an API key.
Can an agent call StepFun API and Tencent Cloud TokenHub without installing anything?
Yes. StepFun API has a hosted endpoint at https://api.stepfun.ai/v1 and Tencent Cloud TokenHub at https://tokenhub.tencentmaas.com/v1.
Other comparisons with StepFun API or Tencent Cloud TokenHub
- Claude API vs StepFun API
- Claude API vs Tencent Cloud TokenHub
- Antseed vs StepFun API
- BlockRun.AI vs StepFun API
- BlockRun.AI vs Tencent Cloud TokenHub
- Cerebras Inference vs StepFun API
- Cerebras Inference vs Tencent Cloud TokenHub
- Cloudflare AI Gateway vs StepFun API
- Cloudflare AI Gateway vs Tencent Cloud TokenHub
- Cloudflare Workers AI vs StepFun API
- Cloudflare Workers AI vs Tencent Cloud TokenHub
- Cohere Chat API (Command models) vs StepFun API
- Cohere Chat API (Command models) vs Tencent Cloud TokenHub
- DeepInfra vs StepFun API
- DeepInfra vs Tencent Cloud TokenHub
- DeepSeek API vs StepFun API
- DeepSeek API vs Tencent Cloud TokenHub
- Glimpse vs StepFun API
- Glimpse vs Tencent Cloud TokenHub
- Fireworks AI Inference vs StepFun API
- Fireworks AI Inference vs Tencent Cloud TokenHub
- Gemini Developer API vs StepFun API
- Gemini Developer API vs Tencent Cloud TokenHub
- GroqCloud vs StepFun API
- GroqCloud vs Tencent Cloud TokenHub
- Jais 3 vs StepFun API
- Jais 3 vs Tencent Cloud TokenHub
- Meta Model API vs StepFun API
- Meta Model API vs Tencent Cloud TokenHub
- MiniMax API vs StepFun API
- MiniMax API vs Tencent Cloud TokenHub
- Mistral AI API vs StepFun API
- Mistral AI API vs Tencent Cloud TokenHub
- Muse Spark Open vs StepFun API
- Muse Spark Open vs Tencent Cloud TokenHub
- Nemotron 3.5 Super VL vs StepFun API
- Novita AI vs StepFun API
- Novita AI vs Tencent Cloud TokenHub
- OpenAI API vs StepFun API
- OpenAI API vs Tencent Cloud TokenHub
- OpenRouter vs StepFun API
- OpenRouter vs Tencent Cloud TokenHub
- Prism Inference vs StepFun API
- Router.com (Ramp Router) vs StepFun API
- Beam 1.0 vs StepFun API
- Beam 1.0 vs Tencent Cloud TokenHub
- RouterPlus vs StepFun API
- SambaCloud vs StepFun API
- SambaCloud vs Tencent Cloud TokenHub
- SiliconFlow vs StepFun API
- SiliconFlow vs Tencent Cloud TokenHub
- Simplismart vs StepFun API
- Simplismart vs Tencent Cloud TokenHub
- StepFun API vs Together AI Inference
- StepFun API vs Vercel AI Gateway
- Tencent Cloud TokenHub vs Together AI Inference
- Nemotron 3.5 Super VL vs Tencent Cloud TokenHub
- Prism Inference vs Tencent Cloud TokenHub
- Antseed vs Tencent Cloud TokenHub
- Router.com (Ramp Router) vs Tencent Cloud TokenHub
- RouterPlus vs Tencent Cloud TokenHub
- Tencent Cloud TokenHub vs Vercel AI Gateway
Machine-readable
- This page as Markdown
/compare/stepfun-api-vs-tencent-tokenhub.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/stepfun-api.json·/api/v1/tools/tencent-tokenhub.json - From a terminal
anchor compare stepfun-api tencent-tokenhub(the CLI) - Over MCP
compare_tools {"a": "stepfun-api", "b": "tencent-tokenhub"}at/mcp, no key