{
  "data": {
    "a": {
      "slug": "litellm",
      "name": "LiteLLM",
      "vendor": "BerriAI",
      "vendorUrl": "https://www.litellm.ai",
      "kind": "router",
      "category": "inference",
      "summary": "Open-source Python SDK and self-hosted AI gateway from BerriAI that puts 100+ model providers behind one OpenAI-compatible API, with virtual keys, spend tracking, budgets, fallbacks, guardrails and an MCP gateway.",
      "url": "https://www.anchorterminal.com/tools/litellm",
      "markdownUrl": "https://www.anchorterminal.com/tools/litellm.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/litellm.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/litellm.json",
      "dns": "litellm.grade.anchorterminal.com",
      "repo": "https://github.com/BerriAI/litellm",
      "license": "MIT, except the enterprise/ directory, which is under its own licence and needs an Enterprise licence key",
      "transports": [
        "http"
      ],
      "packages": [
        {
          "registry": "pypi",
          "name": "litellm"
        },
        {
          "registry": "docker",
          "name": "docker.litellm.ai/berriai/litellm"
        }
      ],
      "auth": "api-key",
      "authNotes": "The gateway takes a Bearer key. `LITELLM_MASTER_KEY` is required at start-up and has full admin rights. Virtual keys, stored hashed, carry model, route, MCP server, budget, rate-limit and expiry limits and can be blocked. Key rotation with a grace period, SSO beyond five users, SCIM and JWT/OIDC auth need an Enterprise licence. `/key/info` takes the key being looked up as a `?key=` query parameter.",
      "pricing": "freemium",
      "pricingNotes": "Free to self-host under MIT, with no account or card. Model calls bill at each upstream provider's own prices on the operator's keys. Enterprise (SSO, audit logs, key rotation, team-scoped guardrails, support SLAs) is an annual licence priced through sales, with a 30-day trial key emailed after a form and no card (https://www.litellm.ai/pricing, https://www.litellm.ai/enterprise).",
      "priceSummary": "Freemium",
      "where": "local",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the docs index or the llms-full.txt file, read 2026-10-06. The gateway forwards to providers on the operator's keys.",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 62841,
        "npmWeekly": null,
        "pypiWeekly": 22493278,
        "asOf": "2026-11-06"
      },
      "docsUrl": "https://docs.litellm.ai",
      "llmsTxt": "https://docs.litellm.ai/llms.txt",
      "openapi": "https://docs.litellm.ai/api-reference/",
      "capabilities": [
        "inference.router",
        "obs.gateway",
        "agent.mcp-client",
        "guard.pii"
      ],
      "tags": [
        "self-hosted",
        "open-source",
        "router",
        "gateway",
        "mcp",
        "openapi",
        "llms-txt",
        "python",
        "docker",
        "bug-bounty",
        "soc2"
      ],
      "lastRelease": "2026-11-05",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 62.4,
        "grade": "B",
        "agentReady": false,
        "rank": 559,
        "ranked": true,
        "rankOf": 1510,
        "categoryRank": 20,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 79,
          "maintenance": 82,
          "payments": 60,
          "reliability": 70,
          "schema": 91,
          "security": 72,
          "transparency": 63
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-06"
        },
        "negative": -12,
        "negativeNotes": [
          "2026-03-24, -6. litellm 1.82.7 and 1.82.8 were uploaded to PyPI with a credential stealer that read environment variables, SSH keys, cloud and Kubernetes credentials and sent them to models.litellm.cloud. They were live for about 40 minutes before PyPI quarantined them, after a token leaked through the Trivy compromise. BerriAI published indicators, checksums and a rebuilt pipeline (v1.83.0, 30 March). A supply-chain incident that reached users, fixed, documented and six months old. https://docs.litellm.ai/blog/security-update-march-2026, https://api.osv.dev/v1/vulns/GHSA-5mg7-485q-xm76",
          "2026-04-24, -2. GHSA-r75f-5x8p-qvmc (CVE-2026-42208, critical). An unauthenticated SQL injection through the `Authorization` header in proxy key verification, affecting 1.81.16 up to 1.83.7. Fixed and published, inside six months. https://api.osv.dev/v1/vulns/GHSA-r75f-5x8p-qvmc",
          "2026-06-16, -2. GHSA-4xpc-pv4p-pm3w (CVE-2026-49468, critical). A crafted Host header could reach protected management routes without authentication where nothing upstream normalises Host. Fixed in 1.84.0. https://api.osv.dev/v1/vulns/GHSA-4xpc-pv4p-pm3w",
          "2026-08-27, -2. GHSA-6wvf-77m9-58rm (CVE-2026-37004, critical). Server-side template injection in /prompts/test let unauthenticated callers run OS commands in 1.82.4 and earlier, fixed in 1.83.7. Published months after the fix. https://api.osv.dev/v1/vulns/GHSA-6wvf-77m9-58rm",
          "Not deducted separately. 26 other GitHub advisories published between 6 November 2025 and 6 November 2026 (one more critical, ten high, six moderate and nine low), among them an OIDC cache-key collision (GHSA-jjhc-v7c2-5hh6), authenticated credential exfiltration through request-body routing (GHSA-3cv6-jpf6-8222, 30 September 2026) and, on 27 October 2026, privilege escalation from internal_user to proxy_admin through reuse of the salt key (GHSA-7hp6-4w63-5g45, high) and an arbitrary local file read by internal_user_viewer (GHSA-g5ff-637f-6q2m, high). All handled in public with fixes. https://api.osv.dev/v1/query"
        ],
        "verdict": "An MIT-licensed gateway that puts 100+ model providers behind one OpenAI-compatible API, with virtual keys, budgets, fallbacks and an MCP gateway, released several times a week. Its security record is the main limitation. Two PyPI releases carried a credential stealer on 24 March 2026, and 30 GitHub advisories followed in 12 months, five of them critical.",
        "bestFor": "Teams that want one OpenAI-compatible endpoint over many providers on their own infrastructure, with per-key budgets, model allowlists and an MCP gateway.",
        "strengths": [
          "MIT core, self-hosted, with no telemetry when self-hosted per the data security page",
          "Virtual keys limited by model, route, MCP server, budget, rate and expiry, and blockable at once",
          "Every proxy serves Swagger, ReDoc and /openapi.json, and the docs have llms.txt with a Markdown twin of every page",
          "Error reference tells a gateway 429 (with `retry-after`, `rate_limit_type`, `reset_at`) from a provider 429",
          "v1.108.1 on 5 November 2026, 125 tags since 8 August, and four stable minor lines supported with patches"
        ],
        "weaknesses": [
          "litellm 1.82.7 and 1.82.8 on PyPI carried a credential stealer for about 40 minutes on 24 March 2026",
          "30 GitHub advisories from 6 November 2025 to 6 November 2026, five critical, including unauthenticated SQL injection fixed in 1.83.7",
          "Key rotation, audit logs and SSO beyond five users need an Enterprise licence, priced only through sales",
          "Breaking changes ship in weekly minor releases on the 1.x line, and lines older than the latest four stop getting fixes",
          "The default Docker image runs as root, and the Swagger, ReDoc and OpenAPI pages are public until switched off"
        ],
        "agentNotes": [
          "Pin an exact litellm version or image digest, verify the cosign signature, and never install an unpinned latest in CI",
          "Give each agent a virtual key limited to its models, routes and MCP servers, with a budget and an expiry",
          "Treat a 429 with `retry-after` as the gateway's own limit and wait that long; a 429 without it came from the provider",
          "Set `NO_DOCS`, `NO_REDOC` and `NO_OPENAPI` to True in production, and use the `-non_root` image variant",
          "Set `LITELLM_LOCAL_MODEL_COST_MAP=True` where egress is blocked, since start-up otherwise fetches the price map from GitHub"
        ],
        "metrics": {
          "kind": "local",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 62.4
          }
        ],
        "editorialScores": {
          "ergonomics": 79,
          "maintenance": 82,
          "payments": 60,
          "reliability": 70,
          "schema": 91,
          "security": 72,
          "transparency": 77
        },
        "provenanceScore": 49,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-06",
            "maintenance": "2026-11-06",
            "payments": "2026-11-06",
            "reliability": "2026-11-06",
            "schema": "2026-11-06",
            "security": "2026-11-06",
            "transparency": "2026-11-06"
          },
          "last": "2026-11-06",
          "oldest": "2026-11-06",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "pip install litellm   # SDK; gateway: curl -sSLO https://github.com/BerriAI/litellm/raw/main/docker/docker-compose.quickstart.yml \u0026\u0026 docker compose -f docker-compose.quickstart.yml up -d",
        "http": "curl http://localhost:4000/v1/chat/completions \\\n  -H 'Authorization: Bearer sk-\u003cyour-virtual-key\u003e' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"model\": \"gpt-5.6-terra\",\n    \"messages\": [{\"role\": \"user\", \"content\": \"Say hello in five words.\"}]\n  }'",
        "claudeCode": "export ANTHROPIC_BASE_URL=\"http://localhost:4000\"\nexport ANTHROPIC_AUTH_TOKEN=\"sk-\u003cyour-virtual-key\u003e\"\nexport ANTHROPIC_MODEL=\"\u003ca model_name from your config\u003e\"\nclaude"
      },
      "letme": {
        "capability": "https://letme.dev/inference.router",
        "tool": "https://letme.dev/litellm"
      },
      "area": "models",
      "provenance": {
        "legalEntity": "Berrie AI Incorporated",
        "domain": "litellm.ai",
        "domainRegistered": "2023-08-07",
        "endpointOnVendorDomain": false,
        "terms": "",
        "privacy": "https://docs.litellm.ai/docs/data_security",
        "statusPage": "",
        "changelog": "https://docs.litellm.ai/release_notes",
        "securityTxt": "none",
        "checked": "2026-11-06",
        "notes": [
          "The data security page names the legal entity as Berrie AI Incorporated, with krrish@berri.ai as the security contact.",
          "The gateway is software the operator runs, so there's no vendor endpoint and no status page.",
          "No terms of service or privacy policy found on www.litellm.ai (/terms, /privacy and /legal return 404). The data security page in the docs covers self-hosted data handling.",
          "www.litellm.ai/.well-known/security.txt and the docs host both return 404. Reports go to GitHub private vulnerability reporting under security.md.",
          "RDAP for litellm.ai gives a registration date of 2023-08-07.",
          "Rechecked 2026-11-06: www.litellm.ai/terms, /privacy, /legal, /terms-of-service and /privacy-policy all return 404, and neither host serves security.txt. Both robots.txt files allow all."
        ],
        "score": 49
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/litellm.json",
      "live": {
        "slug": "litellm",
        "versions": [
          {
            "registry": "github",
            "name": "BerriAI/litellm",
            "version": "v1.108.2",
            "released": "2026-11-06",
            "seenAt": "2026-11-06T23:40:24.985518384Z"
          },
          {
            "registry": "pypi",
            "name": "litellm",
            "version": "1.108.2",
            "released": "2026-11-06",
            "seenAt": "2026-11-06T23:40:24.735967257Z"
          }
        ],
        "githubStars": 62845,
        "pypiWeekly": 22493278,
        "securityTxt": {
          "url": "https://litellm.ai/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-11-07T16:01:25.60777972Z"
        },
        "llmsTxt": {
          "url": "https://docs.litellm.ai/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-07T15:32:52.845519783Z"
        },
        "pages": [
          {
            "url": "https://docs.litellm.ai/release_notes",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-11-07T14:06:55.608946935Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e493aadf92b2"
          },
          {
            "url": "https://www.litellm.ai/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-11-07T14:30:56.79408028Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "45e60222905c"
          },
          {
            "url": "https://docs.litellm.ai/docs/data_security",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-11-07T14:06:53.531435979Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "a2363610f7ad"
          }
        ],
        "updatedAt": "2026-11-07T16:01:25.60777972Z"
      }
    },
    "answer": "LiteLLM scores 62.4 (B) on agent readiness against Tencent Cloud TokenHub's 59.5 (C), and leads in 6 of 7 scored categories.",
    "b": {
      "slug": "tencent-tokenhub",
      "name": "Tencent Cloud TokenHub",
      "vendor": "Tencent Cloud",
      "vendorUrl": "https://cloud.tencent.com",
      "kind": "router",
      "category": "inference",
      "summary": "Tencent Cloud TokenHub is a hosted model gateway serving Tencent's Hy models and third-party models such as DeepSeek, Kimi, GLM and MiniMax through OpenAI-compatible and Anthropic-compatible endpoints in Guangzhou and Singapore, with per-key scopes and quotas.",
      "url": "https://www.anchorterminal.com/tools/tencent-tokenhub",
      "markdownUrl": "https://www.anchorterminal.com/tools/tencent-tokenhub.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/tencent-tokenhub.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/tencent-tokenhub.json",
      "dns": "tencent-tokenhub.grade.anchorterminal.com",
      "repo": "https://github.com/TencentCloud/THCLI",
      "license": "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",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://tokenhub.tencentmaas.com/v1",
      "packages": [
        {
          "registry": "npm",
          "name": "tencent-tokenhub-cli"
        }
      ],
      "auth": "api-key",
      "authNotes": "Bearer API key from the TokenHub console, or `x-api-key` on the Anthropic-style `/v1/messages`. Keys are long-lived, belong to one region (Guangzhou or Singapore), can be limited to chosen models and inference services, up to 200 IP ranges and token quotas, and can be disabled or deleted. They can also be created through the CreateApiKey control-plane call with signed Tencent Cloud credentials, or by `thcli auth login`. The account needs real-name verification first.",
      "pricing": "usage",
      "pricingNotes": "Pay per token in CNY, billed hourly. Hy4 preview costs 6 CNY in, 18 CNY out and 0.3 CNY cached per 1M tokens, Hy3 1, 4 and 0.25 CNY. DeepSeek models double at weekday peak hours. Batch is half price for Hy3 and Hy4 preview. Each account gets 1M free tokens per language model for a year, in a campaign to 31 December 2026. Token Plan subscriptions run from 28 to 599 CNY a month (https://cloud.tencent.com/document/product/1823/130055, checked 2026-11-01).",
      "priceSummary": "Pay per use",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the docs table of contents, the billing pages or the API usage page. Payment is from a Tencent Cloud account balance, billed hourly (checked 2026-11-01).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 204,
        "pypiWeekly": null,
        "asOf": "2026-11-01"
      },
      "docsUrl": "https://cloud.tencent.com/document/product/1823/130058",
      "rateLimitsUrl": "https://cloud.tencent.com/document/product/1823/136028",
      "llmsTxt": "https://cloud.tencent.com/document/product/1823/llms.txt",
      "capabilities": [
        "inference.router",
        "inference.llm",
        "inference.open-weights",
        "embed.text",
        "embed.multimodal",
        "image.generate",
        "video.generate",
        "speech.tts",
        "speech.stt",
        "audio.music",
        "translate.text",
        "web.search",
        "obs.gateway"
      ],
      "tags": [
        "hosted",
        "router",
        "usage-based",
        "free-credit",
        "openai-compatible",
        "anthropic-compatible",
        "llms-txt",
        "cli",
        "sla",
        "batch",
        "bug-bounty",
        "no-status-page",
        "regional-endpoints",
        "singapore",
        "chinese",
        "subscription"
      ],
      "lastRelease": "2026-10-24",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 59.5,
        "grade": "C",
        "agentReady": false,
        "rank": 703,
        "ranked": true,
        "rankOf": 1510,
        "categoryRank": 24,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 83,
          "maintenance": 73,
          "payments": 35,
          "reliability": 46,
          "schema": 73,
          "security": 71,
          "transparency": 54
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-01"
        },
        "negative": -3,
        "negativeNotes": [
          "2026-10-17. -3, a breaking change without notice. DeepSeek-V4.1-Flash (directly supplied) was moved to its 1017 version under the same model ids and prices on 17 October 2026, and the notice came two days later (https://cloud.tencent.com/announce/detail/2516). Callers pinned to the id got a different model's behaviour with no warning. One term at the floor: the API didn't change. The founder's decision, 1 November 2026."
        ],
        "verdict": "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.",
        "bestFor": "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.",
        "strengths": [
          "API keys can be limited to chosen models and inference services, up to 200 source IP ranges, and daily, monthly or total token quotas",
          "One base URL answers OpenAI Chat Completions, OpenAI Responses and Anthropic Messages calls, and `GET /v1/models` marks models due to retire as `pre-offline`",
          "Error bodies carry a six-digit code, English and Chinese messages, the source (client, gateway or upstream) and a request ID, and 429s can carry `Retry-After`",
          "A published SLA promises 99.5% monthly availability with voucher credits of 10 to 50 per cent of the month's fee, for paid use of models Tencent runs",
          "Per-call audit logs (request ID, key, client IP, status, tokens, latency) can be delivered to the customer's own Tencent Cloud CLS log service"
        ],
        "weaknesses": [
          "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",
          "No public status page was found. A four-hour outage of DeepSeek's directly supplied models on 15 October 2026 appears only as a compensation notice",
          "18 model retirement notices from 21 April to 22 October 2026. Those read gave 21 to 33 days, and eligible callers are switched to a successor at its price",
          "DeepSeek's directly supplied models send inputs to DeepSeek under its own terms, and the TokenHub SLA does not cover them",
          "Per-model RPM and TPM limits for chat models are shown in the console and the quota API, not in the public docs"
        ],
        "agentNotes": [
          "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",
          "Send the key as `Authorization: Bearer` on the OpenAI paths and as `x-api-key` on `/v1/messages`",
          "Parse `error.code` as a string or a number, since 429 codes can come back as integers, and wait for `Retry-After` before retrying",
          "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",
          "Expect DeepSeek prices to double on weekdays from 9am to noon and 2pm to 6pm Beijing time, when the peak rate applies"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "C",
            "methodology": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 59.5
          }
        ],
        "editorialScores": {
          "ergonomics": 83,
          "maintenance": 73,
          "payments": 35,
          "reliability": 46,
          "schema": 73,
          "security": 71,
          "transparency": 59
        },
        "provenanceScore": 49,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-01",
            "maintenance": "2026-11-01",
            "payments": "2026-11-01",
            "reliability": "2026-11-01",
            "schema": "2026-11-01",
            "security": "2026-11-01",
            "transparency": "2026-11-01"
          },
          "last": "2026-11-01",
          "oldest": "2026-11-01",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "npm i -g tencent-tokenhub-cli",
        "http": "curl https://tokenhub.tencentmaas.com/v1/models \\\n  -H \"Authorization: Bearer $TOKENHUB_API_KEY\"",
        "claudeCode": "{\n  \"env\": {\n    \"ANTHROPIC_BASE_URL\": \"https://tokenhub.tencentmaas.com\",\n    \"ANTHROPIC_AUTH_TOKEN\": \"YOUR_API_KEY\",\n    \"ANTHROPIC_MODEL\": \"hy3\"\n  }\n}"
      },
      "letme": {
        "capability": "https://letme.dev/inference.router",
        "tool": "https://letme.dev/tencent-tokenhub"
      },
      "area": "models",
      "provenance": {
        "legalEntity": "Tencent Cloud Computing (Beijing) Co., Ltd. (腾讯云计算（北京）有限责任公司)",
        "domain": "tencentmaas.com",
        "domainRegistered": "2026-03-13",
        "endpointOnVendorDomain": false,
        "terms": "https://cloud.tencent.com/document/product/301/129852",
        "privacy": "https://privacy.qq.com/document/preview/91d5fd3c98ce4468ae462ac59233bba2",
        "statusPage": "",
        "changelog": "https://cloud.tencent.com/document/product/1823/130675",
        "securityTxt": "none",
        "checked": "2026-11-01",
        "notes": [
          "The TokenHub Terms of Service (effective 14 September 2026), the SLA (effective 23 April 2026) and the special note on third-party deployed models (effective 14 September 2026) name 腾讯云计算（北京）有限责任公司. The docs footer also names 深圳市腾讯计算机系统有限公司 as ICP licence holder.",
          "The TokenHub privacy policy is linked from the docs to privacy.qq.com, which renders only with JavaScript, so it was not read. privacy.qq.com has no robots.txt (404).",
          "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.",
          "security.txt answered 404 on cloud.tencent.com, www.tencent.com and tokenhub.tencentmaas.com. Tencent's bug bounty policy at en.security.tencent.com lists Tencent Cloud in scope.",
          "RDAP at Verisign gives tencentmaas.com a registration date of 13 March 2026 with no registrant. The API answers at tokenhub.tencentmaas.com and tokenhub-intl.tencentmaas.com, named in Tencent Cloud's API usage page.",
          "cloud.tencent.com allows these docs in robots.txt. Its pages answered some requests with a JavaScript bot check, which was not passed. The pages were read when a later plain request returned them. www.tencentcloud.com answered robots.txt with a bot check, so the international site was not read."
        ],
        "score": 49
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/tencent-tokenhub.json",
      "live": {
        "slug": "tencent-tokenhub",
        "probe": {
          "target": "https://tokenhub.tencentmaas.com/v1",
          "method": "get",
          "lastAt": "2026-11-07T19:22:39.030430078Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 783,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 836,
          "p95ms24h": 1161,
          "samples24h": 238,
          "samples30d": 1385,
          "days": [
            {
              "date": "2026-11-01",
              "probes": 18,
              "ok": 18
            },
            {
              "date": "2026-11-02",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-11-03",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-11-04",
              "probes": 246,
              "ok": 246
            },
            {
              "date": "2026-11-05",
              "probes": 185,
              "ok": 185
            },
            {
              "date": "2026-11-06",
              "probes": 241,
              "ok": 241
            },
            {
              "date": "2026-11-07",
              "probes": 197,
              "ok": 197
            }
          ]
        },
        "versions": [
          {
            "registry": "npm",
            "name": "tencent-tokenhub-cli",
            "version": "1.0.2",
            "seenAt": "2026-11-07T00:10:56.11915484Z"
          }
        ],
        "githubStars": 12,
        "npmWeekly": 563,
        "securityTxt": {
          "url": "https://tencentmaas.com/.well-known/security.txt",
          "state": "unknown",
          "checkedAt": "2026-11-07T16:00:51.946401273Z"
        },
        "llmsTxt": {
          "url": "https://cloud.tencent.com/document/product/1823/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-07T15:34:07.341361344Z"
        },
        "pages": [
          {
            "url": "https://cloud.tencent.com/document/product/1823/130675",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-11-07T14:01:36.805781891Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e3b0c44298fc"
          },
          {
            "url": "https://cloud.tencent.com/announce/detail/2287",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-07T14:01:20.295617745Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e3b0c44298fc"
          },
          {
            "url": "https://cloud.tencent.com/announce/detail/2469",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-07T14:01:22.306047727Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e3b0c44298fc"
          },
          {
            "url": "https://cloud.tencent.com/announce/detail/2496",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-07T14:01:24.307216514Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e3b0c44298fc"
          },
          {
            "url": "https://cloud.tencent.com/announce/detail/2511",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-07T14:01:26.305052043Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e3b0c44298fc"
          },
          {
            "url": "https://cloud.tencent.com/announce/detail/2516",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-07T14:01:28.308079433Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e3b0c44298fc"
          },
          {
            "url": "https://cloud.tencent.com/announce/detail/2524",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-07T14:01:30.306693329Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e3b0c44298fc"
          },
          {
            "url": "https://cloud.tencent.com/announce/detail/2538",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-07T14:01:34.709118103Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e3b0c44298fc"
          },
          {
            "url": "https://privacy.qq.com/document/preview/91d5fd3c98ce4468ae462ac59233bba2",
            "kind": "privacy",
            "status": 304,
            "checkedAt": "2026-11-07T14:17:28.357626414Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e3b0c44298fc"
          },
          {
            "url": "https://cloud.tencent.com/document/product/301/129852",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-11-07T14:01:36.816423311Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e3b0c44298fc"
          }
        ],
        "github": {
          "repo": "tencentcloud/thcli",
          "checkedAt": "2026-11-02T08:23:47.915102454Z",
          "stars": 12,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-10-30T06:58:13Z",
          "openIssues": 0,
          "openPRs": 0,
          "issuesOpened90d": 0,
          "issuesClosed90d": 0,
          "prsMerged90d": 4
        },
        "updatedAt": "2026-11-07T19:22:39.030430078Z"
      }
    },
    "edges": [
      {
        "by": 25,
        "category": "payments",
        "leads": "litellm",
        "name": "Payments \u0026 pricing",
        "reasons": {
          "a": "Read with the self-hosted rule, since an agent uses the free gateway and Enterprise is a sales-led licence for the same software. No x402, MPP or L402 (0). MIT with no account and no card, so 20, 20 and 20 on the last three lines. Model calls cost what the operator's provider keys cost.",
          "b": "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)."
        },
        "scores": {
          "a": 60,
          "b": 35
        }
      },
      {
        "by": 24,
        "category": "reliability",
        "leads": "litellm",
        "name": "Reliability",
        "reasons": {
          "a": "Read with the local-software lines, since the gateway runs on the operator's hardware and BerriAI hosts nothing an agent calls. litellm on PyPI states Python 3.10 to 3.14, and the gateway ships as a Docker image, a Helm chart and Terraform modules, with GHCR images signed by cosign (20). 51 GitHub Actions workflows plus a CircleCI config cover unit, proxy-database, end-to-end, chaos, mutation and UI tests. The GitHub API was rate-limited for our reader on 6 November and Actions pages refused it on 6 October, so we couldn't confirm main is passing (15 of 25). The issue tracker showed 1,674 open issues on 6 November, with eight bug reports among the 15 newest, seven of them with a reply, against a project that tags several releases a day (10 of 25, down from an unchecked 12). Release notes carry breaking-change bullets, but breaking changes land in weekly minor releases on the 1.x line, so version numbers don't signal them (10 of 15). 1.108.1, past 1.0 (15).",
          "b": "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)."
        },
        "scores": {
          "a": 70,
          "b": 46
        }
      },
      {
        "by": 18,
        "category": "schema",
        "leads": "litellm",
        "name": "Schema \u0026 documentation",
        "reasons": {
          "a": "Every gateway serves Swagger at /, ReDoc at /redoc and the raw schema at /openapi.json, and the docs host a public Swagger explorer (25). llms.txt, llms-full.txt and a Markdown twin of every page via `.md` (10). Pages say what a feature is for and where its limits are, and the key-auth page explains how permissions are inherited and where they aren't, but the reference is very large for a model to navigate (16 of 20). OpenAI-shaped request schemas from Pydantic models, with `metadata`, `litellm_params` and config blocks left as free-form objects (10 of 15). A full error reference with the envelope, every status, response headers and how to tell gateway limits from provider limits, plus examples on every page (15). Release notes per version with dates, newest v1.108.0 and v1.106.7 on 4 November 2026 (15).",
          "b": "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)."
        },
        "scores": {
          "a": 91,
          "b": 73
        }
      },
      {
        "by": 9,
        "category": "maintenance",
        "leads": "litellm",
        "name": "Maintenance \u0026 community",
        "reasons": {
          "a": "v1.108.1 tagged on 5 November 2026, v1.108.0 and v1.106.7 on 3 and 4 November (30). 125 tags between 8 August and 6 November, stable, patch, release-candidate and dev builds, with patch releases for four minor lines at once (20). Reply times not measured. On the issues page 7 of the 15 newest had a reply on the day, workflows auto-close duplicates and label issues, and Discord is the listed community channel (12 of 25). The package is the official SDK, current, with OpenAI and Anthropic SDKs working against the gateway (12 of 15). Dependency and image scanning (OSV, zizmor, Scorecard, grype) run in CI, with pass state unchecked (8 of 10).",
          "b": "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\u0026A 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)."
        },
        "scores": {
          "a": 82,
          "b": 73
        }
      },
      {
        "by": 9,
        "category": "transparency",
        "leads": "litellm",
        "name": "Transparency \u0026 trust",
        "reasons": {
          "a": "MIT for everything outside enterprise/, which has its own licence (25 of 30). The data security page (updated 6 November 2026) and security.md agree that a self-hosted gateway sends no data or telemetry to BerriAI, and the gateway stores prompts and spend in the operator's own Postgres. We found no terms of service or privacy policy on litellm.ai for its site, trial or Enterprise licence (20 of 30). A version support policy since 29 June 2026 (four stable minor lines), deprecated pages labelled in the docs, and release notes with breaking-change bullets (15 of 20). Usage telemetry, new in v1.107.0, is off by default, lists every field it can send and goes only to a table or endpoint the operator sets. A main-branch commit of 23 October 2026 made the Admin UI chat post a hashed user id to chat-telemetry.litellm.ai, and it was removed on 24 October before any tagged release contained it, so it isn't deducted. The start-up fetch of the price map from GitHub is documented with an opt-out (17 of 20).",
          "b": "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)."
        },
        "scores": {
          "a": 63,
          "b": 54
        }
      }
    ],
    "facts": [
      {
        "a": "Model router",
        "b": "Model router",
        "name": "Kind"
      },
      {
        "a": "BerriAI",
        "b": "Tencent Cloud",
        "name": "Vendor"
      },
      {
        "a": "no (local only)",
        "b": "https://tokenhub.tencentmaas.com/v1",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Freemium",
        "b": "Pay per use",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "MIT, except the enterprise/ directory, which is under its own licence and needs an Enterprise licence key",
        "b": "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",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-11-05",
        "b": "2026-10-24",
        "name": "Last release"
      },
      {
        "a": "no document linked",
        "b": "couldn't be read",
        "name": "Terms last updated"
      },
      {
        "a": "no date given",
        "b": "couldn't be read",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not read yet",
        "b": "couldn't be read",
        "name": "Customer content may train models"
      },
      {
        "a": "not read yet",
        "b": "couldn't be read",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not read yet",
        "b": "couldn't be read",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not read yet",
        "b": "couldn't be read",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "not read yet",
        "b": "couldn't be read",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "63k stars, 22.5M PyPI/wk",
        "b": "204 npm/wk",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "LiteLLM scores 62.4 (B) on agent readiness against Tencent Cloud TokenHub's 59.5 (C), and leads in 6 of 7 scored categories.",
        "question": "Which is better for AI agents, LiteLLM or Tencent Cloud TokenHub?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do LiteLLM and Tencent Cloud TokenHub need an API key?"
      },
      {
        "answer": "No hosted endpoint is listed for LiteLLM. Tencent Cloud TokenHub has a hosted endpoint at https://tokenhub.tencentmaas.com/v1.",
        "question": "Can an agent call LiteLLM and Tencent Cloud TokenHub without installing anything?"
      },
      {
        "answer": "LiteLLM is open source (MIT, except the enterprise/ directory, which is under its own licence and needs an Enterprise licence key). No open-source release is listed for Tencent Cloud TokenHub.",
        "question": "Are LiteLLM and Tencent Cloud TokenHub open source?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 70 against 46",
          "Schema \u0026 documentation, 91 against 73",
          "Payments \u0026 pricing, 60 against 35",
          "Maintenance \u0026 community, 82 against 73",
          "Transparency \u0026 trust, 63 against 54"
        ],
        "also": [
          "Open source"
        ],
        "goodFor": "Teams that want one OpenAI-compatible endpoint over many providers on their own infrastructure, with per-key budgets, model allowlists and an MCP gateway.",
        "slug": "litellm",
        "watchFor": "litellm 1.82.7 and 1.82.8 on PyPI carried a credential stealer for about 40 minutes on 24 March 2026"
      },
      {
        "aheadOn": null,
        "also": [
          "A hosted endpoint, with nothing to install"
        ],
        "goodFor": "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.",
        "slug": "tencent-tokenhub",
        "watchFor": "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"
      }
    ],
    "history": null,
    "job": {
      "capability": "inference.router",
      "name": "Model routing"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-tencent-tokenhub.json",
        "title": "Amazon Bedrock vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/amazon-bedrock-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-tencent-tokenhub.json",
        "title": "Claude API vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/azure-openai-vs-tencent-tokenhub.json",
        "title": "Azure OpenAI in Foundry Models vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/azure-openai-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-tencent-tokenhub.json",
        "title": "BlockRun.AI vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-tencent-tokenhub.json",
        "title": "Cerebras Inference vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-tencent-tokenhub.json",
        "title": "Cloudflare AI Gateway vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-tencent-tokenhub.json",
        "title": "Cloudflare Workers AI vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-tencent-tokenhub.json",
        "title": "Cohere Chat API (Command models) vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-tencent-tokenhub.json",
        "title": "DeepInfra vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-tencent-tokenhub.json",
        "title": "DeepSeek API vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-tencent-tokenhub.json",
        "title": "Glimpse vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/fireworks-inference-vs-tencent-tokenhub.json",
        "title": "Fireworks AI Inference vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/fireworks-inference-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-tencent-tokenhub.json",
        "title": "Gemini Developer API vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/groq-vs-tencent-tokenhub.json",
        "title": "GroqCloud vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/groq-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/inkling-2-small-vs-tencent-tokenhub.json",
        "title": "Inkling 2 Small vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/inkling-2-small-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/jais-3-vs-tencent-tokenhub.json",
        "title": "Jais 3 vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/jais-3-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/meta-model-api-vs-tencent-tokenhub.json",
        "title": "Meta Model API vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/meta-model-api-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/minimax-api-vs-tencent-tokenhub.json",
        "title": "MiniMax API vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/minimax-api-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-tencent-tokenhub.json",
        "title": "Mistral AI API vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/muse-spark-open-vs-tencent-tokenhub.json",
        "title": "Muse Spark Open vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/muse-spark-open-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/novita-ai-vs-tencent-tokenhub.json",
        "title": "Novita AI vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/novita-ai-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openai-api-vs-tencent-tokenhub.json",
        "title": "OpenAI API vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/openai-api-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openrouter-vs-tencent-tokenhub.json",
        "title": "OpenRouter vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/openrouter-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/reflection-beam-vs-tencent-tokenhub.json",
        "title": "Beam 1.0 vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/reflection-beam-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/sambanova-vs-tencent-tokenhub.json",
        "title": "SambaCloud vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/sambanova-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/siliconflow-vs-tencent-tokenhub.json",
        "title": "SiliconFlow vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/siliconflow-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/simplismart-vs-tencent-tokenhub.json",
        "title": "Simplismart vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/simplismart-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/stepfun-api-vs-tencent-tokenhub.json",
        "title": "StepFun API vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/stepfun-api-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/swe-2-flash-vs-tencent-tokenhub.json",
        "title": "SWE-2 Flash vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/swe-2-flash-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/tencent-tokenhub-vs-together-inference.json",
        "title": "Tencent Cloud TokenHub vs Together AI Inference",
        "url": "https://www.anchorterminal.com/compare/tencent-tokenhub-vs-together-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/tencent-tokenhub-vs-vertex-ai.json",
        "title": "Tencent Cloud TokenHub vs Vertex AI (Gemini Enterprise Agent Platform)",
        "url": "https://www.anchorterminal.com/compare/tencent-tokenhub-vs-vertex-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/tencent-tokenhub-vs-xai-api.json",
        "title": "Tencent Cloud TokenHub vs xAI API (Grok)",
        "url": "https://www.anchorterminal.com/compare/tencent-tokenhub-vs-xai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-litellm.json",
        "title": "Antseed vs LiteLLM",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-litellm"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-tencent-tokenhub.json",
        "title": "Antseed vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-litellm.json",
        "title": "Cloudflare AI Gateway vs LiteLLM",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-litellm"
      },
      {
        "json": "https://www.anchorterminal.com/compare/eden-ai-vs-litellm.json",
        "title": "Eden AI vs LiteLLM",
        "url": "https://www.anchorterminal.com/compare/eden-ai-vs-litellm"
      },
      {
        "json": "https://www.anchorterminal.com/compare/eden-ai-vs-tencent-tokenhub.json",
        "title": "Eden AI vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/eden-ai-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-litellm.json",
        "title": "Hugging Face Inference Providers vs LiteLLM",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-litellm"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-tencent-tokenhub.json",
        "title": "Hugging Face Inference Providers vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/litellm-vs-openrouter.json",
        "title": "LiteLLM vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/litellm-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/litellm-vs-ramp-router.json",
        "title": "LiteLLM vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/litellm-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/litellm-vs-routerplus.json",
        "title": "LiteLLM vs RouterPlus",
        "url": "https://www.anchorterminal.com/compare/litellm-vs-routerplus"
      },
      {
        "json": "https://www.anchorterminal.com/compare/litellm-vs-vercel-ai-gateway.json",
        "title": "LiteLLM vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/litellm-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ramp-router-vs-tencent-tokenhub.json",
        "title": "Router.com (Ramp Router) vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/ramp-router-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/routerplus-vs-tencent-tokenhub.json",
        "title": "RouterPlus vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/routerplus-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/tencent-tokenhub-vs-vercel-ai-gateway.json",
        "title": "Tencent Cloud TokenHub vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/tencent-tokenhub-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-tencent-tokenhub.json",
        "title": "Nemotron 3.5 Super VL vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/prism-inference-vs-tencent-tokenhub.json",
        "title": "Prism Inference vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/prism-inference-vs-tencent-tokenhub"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 24,
        "edge": "litellm",
        "key": "reliability",
        "litellm": 70,
        "name": "Reliability",
        "tencent-tokenhub": 46,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 18,
        "edge": "litellm",
        "key": "schema",
        "litellm": 91,
        "name": "Schema \u0026 documentation",
        "tencent-tokenhub": 73,
        "weight": 13
      },
      {
        "by": 4,
        "edge": "tencent-tokenhub",
        "key": "ergonomics",
        "litellm": 79,
        "name": "Agent ergonomics",
        "tencent-tokenhub": 83,
        "weight": 13
      },
      {
        "by": 1,
        "edge": "litellm",
        "key": "security",
        "litellm": 72,
        "name": "Security \u0026 auth",
        "tencent-tokenhub": 71,
        "weight": 14
      },
      {
        "by": 25,
        "edge": "litellm",
        "key": "payments",
        "litellm": 60,
        "name": "Payments \u0026 pricing",
        "tencent-tokenhub": 35,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 9,
        "edge": "litellm",
        "key": "maintenance",
        "litellm": 82,
        "name": "Maintenance \u0026 community",
        "tencent-tokenhub": 73,
        "weight": 7
      },
      {
        "by": 9,
        "edge": "litellm",
        "key": "transparency",
        "litellm": 63,
        "name": "Transparency \u0026 trust",
        "tencent-tokenhub": 54,
        "weight": 7
      }
    ],
    "summary": "LiteLLM scores 62.4 (B) on agent readiness against Tencent Cloud TokenHub's 59.5 (C), and leads in 6 of 7 scored categories. Both do model routing.",
    "tasks": null,
    "tutorials": [],
    "verdicts": {
      "litellm": "An MIT-licensed gateway that puts 100+ model providers behind one OpenAI-compatible API, with virtual keys, budgets, fallbacks and an MCP gateway, released several times a week. Its security record is the main limitation. Two PyPI releases carried a credential stealer on 24 March 2026, and 30 GitHub advisories followed in 12 months, five of them critical.",
      "tencent-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."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/litellm-vs-tencent-tokenhub",
    "json": "https://www.anchorterminal.com/compare/litellm-vs-tencent-tokenhub.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/litellm-vs-tencent-tokenhub.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/litellm-vs-tencent-tokenhub.min.md"
  },
  "markdown": "LiteLLM scores 62.4 (B) on agent readiness against Tencent Cloud TokenHub's 59.5 (C), and leads in 6 of 7 scored categories. Both do model routing.\n\n- LiteLLM: grade B, 62.4/100, rank #559 of 1510. Markdown https://www.anchorterminal.com/tools/litellm.md · JSON https://www.anchorterminal.com/api/v1/tools/litellm.json\n- Tencent Cloud TokenHub: grade C, 59.5/100, rank #703 of 1510. Markdown https://www.anchorterminal.com/tools/tencent-tokenhub.md · JSON https://www.anchorterminal.com/api/v1/tools/tencent-tokenhub.json\n- Best model APIs and inference for AI agents: https://www.anchorterminal.com/best/inference/index.md\n- All 830 models comparisons: https://www.anchorterminal.com/compare/inference/index.md\n\n## Which one, for what\n\n### LiteLLM (B)\n\nGood for: Teams that want one OpenAI-compatible endpoint over many providers on their own infrastructure, with per-key budgets, model allowlists and an MCP gateway.\n\nAhead on:\n- Reliability, 70 against 46\n- Schema \u0026 documentation, 91 against 73\n- Payments \u0026 pricing, 60 against 35\n- Maintenance \u0026 community, 82 against 73\n- Transparency \u0026 trust, 63 against 54\n\nAlso in its favour:\n- Open source\n\nWatch for: litellm 1.82.7 and 1.82.8 on PyPI carried a credential stealer for about 40 minutes on 24 March 2026\n\n### Tencent Cloud TokenHub (C)\n\nGood 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.\n\nAlso in its favour:\n- A hosted endpoint, with nothing to install\n\nWatch 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\n\n\n## Why the edge\n\n### Payments \u0026 pricing: LiteLLM +25\n\n- LiteLLM (60): Read with the self-hosted rule, since an agent uses the free gateway and Enterprise is a sales-led licence for the same software. No x402, MPP or L402 (0). MIT with no account and no card, so 20, 20 and 20 on the last three lines. Model calls cost what the operator's provider keys cost.\n- 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).\n\n### Reliability: LiteLLM +24\n\n- LiteLLM (70): Read with the local-software lines, since the gateway runs on the operator's hardware and BerriAI hosts nothing an agent calls. litellm on PyPI states Python 3.10 to 3.14, and the gateway ships as a Docker image, a Helm chart and Terraform modules, with GHCR images signed by cosign (20). 51 GitHub Actions workflows plus a CircleCI config cover unit, proxy-database, end-to-end, chaos, mutation and UI tests. The GitHub API was rate-limited for our reader on 6 November and Actions pages refused it on 6 October, so we couldn't confirm main is passing (15 of 25). The issue tracker showed 1,674 open issues on 6 November, with eight bug reports among the 15 newest, seven of them with a reply, against a project that tags several releases a day (10 of 25, down from an unchecked 12). Release notes carry breaking-change bullets, but breaking changes land in weekly minor releases on the 1.x line, so version numbers don't signal them (10 of 15). 1.108.1, past 1.0 (15).\n- 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).\n\n### Schema \u0026 documentation: LiteLLM +18\n\n- LiteLLM (91): Every gateway serves Swagger at /, ReDoc at /redoc and the raw schema at /openapi.json, and the docs host a public Swagger explorer (25). llms.txt, llms-full.txt and a Markdown twin of every page via `.md` (10). Pages say what a feature is for and where its limits are, and the key-auth page explains how permissions are inherited and where they aren't, but the reference is very large for a model to navigate (16 of 20). OpenAI-shaped request schemas from Pydantic models, with `metadata`, `litellm_params` and config blocks left as free-form objects (10 of 15). A full error reference with the envelope, every status, response headers and how to tell gateway limits from provider limits, plus examples on every page (15). Release notes per version with dates, newest v1.108.0 and v1.106.7 on 4 November 2026 (15).\n- 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).\n\n### Maintenance \u0026 community: LiteLLM +9\n\n- LiteLLM (82): v1.108.1 tagged on 5 November 2026, v1.108.0 and v1.106.7 on 3 and 4 November (30). 125 tags between 8 August and 6 November, stable, patch, release-candidate and dev builds, with patch releases for four minor lines at once (20). Reply times not measured. On the issues page 7 of the 15 newest had a reply on the day, workflows auto-close duplicates and label issues, and Discord is the listed community channel (12 of 25). The package is the official SDK, current, with OpenAI and Anthropic SDKs working against the gateway (12 of 15). Dependency and image scanning (OSV, zizmor, Scorecard, grype) run in CI, with pass state unchecked (8 of 10).\n- 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\u0026A 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).\n\n### Transparency \u0026 trust: LiteLLM +9\n\n- LiteLLM (63): MIT for everything outside enterprise/, which has its own licence (25 of 30). The data security page (updated 6 November 2026) and security.md agree that a self-hosted gateway sends no data or telemetry to BerriAI, and the gateway stores prompts and spend in the operator's own Postgres. We found no terms of service or privacy policy on litellm.ai for its site, trial or Enterprise licence (20 of 30). A version support policy since 29 June 2026 (four stable minor lines), deprecated pages labelled in the docs, and release notes with breaking-change bullets (15 of 20). Usage telemetry, new in v1.107.0, is off by default, lists every field it can send and goes only to a table or endpoint the operator sets. A main-branch commit of 23 October 2026 made the Admin UI chat post a hashed user id to chat-telemetry.litellm.ai, and it was removed on 24 October before any tagged release contained it, so it isn't deducted. The start-up fetch of the price map from GitHub is documented with an opt-out (17 of 20).\n- 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).\n\n## Score by category\n\n| Category | Weight | LiteLLM | Tencent Cloud TokenHub | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 70 | 46 | LiteLLM +24 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 91 | 73 | LiteLLM +18 |\n| Agent ergonomics | 13% (16.2 this run) | 79 | 83 | Tencent Cloud TokenHub +4 |\n| Security \u0026 auth | 14% (17.5 this run) | 72 | 71 | LiteLLM +1 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 60 | 35 | LiteLLM +25 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 82 | 73 | LiteLLM +9 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 63 | 54 | LiteLLM +9 |\n| Negative events | ≤15 | -12 | -3 | |\n| **Total** | | **62.4 · B** | **59.5 · C** | |\n\n## Facts side by side\n\n| Fact | LiteLLM | Tencent Cloud TokenHub |\n| --- | --- | --- |\n| Kind | Model router | Model router |\n| Vendor | BerriAI | Tencent Cloud |\n| Hosted endpoint | no (local only) | `https://tokenhub.tencentmaas.com/v1` |\n| Transports | HTTP | HTTP |\n| Auth | API key | API key |\n| Pricing | Freemium | Pay per use |\n| x402 | no | no |\n| Licence | MIT, except the enterprise/ directory, which is under its own licence and needs an Enterprise licence key | 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 |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-11-05 | 2026-10-24 |\n| Terms last updated | no document linked | couldn't be read |\n| Privacy policy last updated | no date given | couldn't be read |\n| Customer content may train models | not read yet | couldn't be read |\n| Terms restrict automated access | not read yet | couldn't be read |\n| Terms restrict benchmarking | not read yet | couldn't be read |\n| Terms or service can change without notice | not read yet | couldn't be read |\n| Arbitration or class-action waiver | not read yet | couldn't be read |\n| Popularity | 63k stars, 22.5M PyPI/wk | 204 npm/wk |\n\n## Verdicts\n\n**LiteLLM.** An MIT-licensed gateway that puts 100+ model providers behind one OpenAI-compatible API, with virtual keys, budgets, fallbacks and an MCP gateway, released several times a week. Its security record is the main limitation. Two PyPI releases carried a credential stealer on 24 March 2026, and 30 GitHub advisories followed in 12 months, five of them critical.\n\n**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.\n\n## Before you call either\n\n### LiteLLM\n\n1. Pin an exact litellm version or image digest, verify the cosign signature, and never install an unpinned latest in CI\n2. Give each agent a virtual key limited to its models, routes and MCP servers, with a budget and an expiry\n3. Treat a 429 with `retry-after` as the gateway's own limit and wait that long; a 429 without it came from the provider\n4. Set `NO_DOCS`, `NO_REDOC` and `NO_OPENAPI` to True in production, and use the `-non_root` image variant\n5. Set `LITELLM_LOCAL_MODEL_COST_MAP=True` where egress is blocked, since start-up otherwise fetches the price map from GitHub\n\n### Tencent Cloud TokenHub\n\n1. 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\n2. Send the key as `Authorization: Bearer` on the OpenAI paths and as `x-api-key` on `/v1/messages`\n3. Parse `error.code` as a string or a number, since 429 codes can come back as integers, and wait for `Retry-After` before retrying\n4. 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\n5. Expect DeepSeek prices to double on weekdays from 9am to noon and 2pm to 6pm Beijing time, when the peak rate applies\n\n## Questions\n\n### Which is better for AI agents, LiteLLM or Tencent Cloud TokenHub?\n\nLiteLLM scores 62.4 (B) on agent readiness against Tencent Cloud TokenHub's 59.5 (C), and leads in 6 of 7 scored categories.\n\n### Do LiteLLM and Tencent Cloud TokenHub need an API key?\n\nBoth need an API key.\n\n### Can an agent call LiteLLM and Tencent Cloud TokenHub without installing anything?\n\nNo hosted endpoint is listed for LiteLLM. Tencent Cloud TokenHub has a hosted endpoint at https://tokenhub.tencentmaas.com/v1.\n\n### Are LiteLLM and Tencent Cloud TokenHub open source?\n\nLiteLLM is open source (MIT, except the enterprise/ directory, which is under its own licence and needs an Enterprise licence key). No open-source release is listed for Tencent Cloud TokenHub.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/litellm-vs-tencent-tokenhub.json, and with the fewest tokens: https://www.anchorterminal.com/compare/litellm-vs-tencent-tokenhub.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"litellm\", \"b\": \"tencent-tokenhub\"}`. From a terminal: `anchor compare litellm tencent-tokenhub`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/litellm.json and https://www.anchorterminal.com/api/v1/tools/tencent-tokenhub.json\n\n## Other comparisons with LiteLLM or Tencent Cloud TokenHub\n\n- [Amazon Bedrock vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/amazon-bedrock-vs-tencent-tokenhub.md)\n- [Claude API vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/anthropic-api-vs-tencent-tokenhub.md)\n- [Azure OpenAI in Foundry Models vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/azure-openai-vs-tencent-tokenhub.md)\n- [BlockRun.AI vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/blockrun-ai-vs-tencent-tokenhub.md)\n- [Cerebras Inference vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/cerebras-inference-vs-tencent-tokenhub.md)\n- [Cloudflare AI Gateway vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-tencent-tokenhub.md)\n- [Cloudflare Workers AI vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-tencent-tokenhub.md)\n- [Cohere Chat API (Command models) vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/cohere-chat-vs-tencent-tokenhub.md)\n- [DeepInfra vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/deepinfra-vs-tencent-tokenhub.md)\n- [DeepSeek API vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/deepseek-api-vs-tencent-tokenhub.md)\n- [Glimpse vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/elorian-glimpse-vs-tencent-tokenhub.md)\n- [Fireworks AI Inference vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/fireworks-inference-vs-tencent-tokenhub.md)\n- [Gemini Developer API vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/gemini-api-vs-tencent-tokenhub.md)\n- [GroqCloud vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/groq-vs-tencent-tokenhub.md)\n- [Inkling 2 Small vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/inkling-2-small-vs-tencent-tokenhub.md)\n- [Jais 3 vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/jais-3-vs-tencent-tokenhub.md)\n- [Meta Model API vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/meta-model-api-vs-tencent-tokenhub.md)\n- [MiniMax API vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/minimax-api-vs-tencent-tokenhub.md)\n- [Mistral AI API vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/mistral-api-vs-tencent-tokenhub.md)\n- [Muse Spark Open vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/muse-spark-open-vs-tencent-tokenhub.md)\n- [Novita AI vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/novita-ai-vs-tencent-tokenhub.md)\n- [OpenAI API vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/openai-api-vs-tencent-tokenhub.md)\n- [OpenRouter vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/openrouter-vs-tencent-tokenhub.md)\n- [Beam 1.0 vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/reflection-beam-vs-tencent-tokenhub.md)\n- [SambaCloud vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/sambanova-vs-tencent-tokenhub.md)\n- [SiliconFlow vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/siliconflow-vs-tencent-tokenhub.md)\n- [Simplismart vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/simplismart-vs-tencent-tokenhub.md)\n- [StepFun API vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/stepfun-api-vs-tencent-tokenhub.md)\n- [SWE-2 Flash vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/swe-2-flash-vs-tencent-tokenhub.md)\n- [Tencent Cloud TokenHub vs Together AI Inference](https://www.anchorterminal.com/compare/tencent-tokenhub-vs-together-inference.md)\n- [Tencent Cloud TokenHub vs Vertex AI (Gemini Enterprise Agent Platform)](https://www.anchorterminal.com/compare/tencent-tokenhub-vs-vertex-ai.md)\n- [Tencent Cloud TokenHub vs xAI API (Grok)](https://www.anchorterminal.com/compare/tencent-tokenhub-vs-xai-api.md)\n- [Antseed vs LiteLLM](https://www.anchorterminal.com/compare/antseed-vs-litellm.md)\n- [Antseed vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/antseed-vs-tencent-tokenhub.md)\n- [Cloudflare AI Gateway vs LiteLLM](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-litellm.md)\n- [Eden AI vs LiteLLM](https://www.anchorterminal.com/compare/eden-ai-vs-litellm.md)\n- [Eden AI vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/eden-ai-vs-tencent-tokenhub.md)\n- [Hugging Face Inference Providers vs LiteLLM](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-litellm.md)\n- [Hugging Face Inference Providers vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/hugging-face-inference-providers-vs-tencent-tokenhub.md)\n- [LiteLLM vs OpenRouter](https://www.anchorterminal.com/compare/litellm-vs-openrouter.md)\n- [LiteLLM vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/litellm-vs-ramp-router.md)\n- [LiteLLM vs RouterPlus](https://www.anchorterminal.com/compare/litellm-vs-routerplus.md)\n- [LiteLLM vs Vercel AI Gateway](https://www.anchorterminal.com/compare/litellm-vs-vercel-ai-gateway.md)\n- [Router.com (Ramp Router) vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/ramp-router-vs-tencent-tokenhub.md)\n- [RouterPlus vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/routerplus-vs-tencent-tokenhub.md)\n- [Tencent Cloud TokenHub vs Vercel AI Gateway](https://www.anchorterminal.com/compare/tencent-tokenhub-vs-vercel-ai-gateway.md)\n- [Nemotron 3.5 Super VL vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-tencent-tokenhub.md)\n- [Prism Inference vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/prism-inference-vs-tencent-tokenhub.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-07",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.7",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "LiteLLM vs Tencent Cloud TokenHub",
        "url": ""
      }
    ],
    "description": "LiteLLM scores 62.4 (B) to Tencent Cloud TokenHub's 59.5 (C) for model routing. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "LiteLLM B 62.4",
      "Tencent Cloud TokenHub C 59.5",
      "scores"
    ],
    "h1": "LiteLLM vs Tencent Cloud TokenHub",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/litellm-vs-tencent-tokenhub",
    "published": "2026-10-01",
    "section": "tools",
    "title": "LiteLLM vs Tencent Cloud TokenHub for AI agents (2026)",
    "toc": null,
    "updated": "2026-11-07",
    "url": "https://www.anchorterminal.com/compare/litellm-vs-tencent-tokenhub"
  },
  "tokens": {
    "markdown": 5800,
    "slim": 3080
  },
  "version": 1
}
