{
  "data": {
    "a": {
      "slug": "gemini-api",
      "name": "Gemini Developer API",
      "vendor": "Google",
      "vendorUrl": "https://ai.google.dev",
      "kind": "model",
      "category": "inference",
      "summary": "Google's API for Gemini models, including content generation and agent interactions.",
      "url": "https://www.anchorterminal.com/tools/gemini-api",
      "markdownUrl": "https://www.anchorterminal.com/tools/gemini-api.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/gemini-api.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/gemini-api.json",
      "dns": "gemini-api.grade.anchorterminal.com",
      "repo": "https://github.com/googleapis/python-genai",
      "license": "Apache-2.0 (SDKs)",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://generativelanguage.googleapis.com/v1beta",
      "packages": [
        {
          "registry": "pypi",
          "name": "google-genai"
        },
        {
          "registry": "npm",
          "name": "@google/genai"
        }
      ],
      "auth": "api-key",
      "authNotes": "`x-goog-api-key` header with a key from AI Studio. A Google account is needed to make one.",
      "pricing": "freemium",
      "pricingNotes": "Free tier on 3.8 Flash and Flash-Lite, not on 3.1 Pro preview, and free-tier content is used to improve Google products. 3.1 Pro preview costs $2/$12 per million tokens, $4/$18 over 200K. 3.8 Flash is $0.75/$3.75 until 2026-12-31, then $1.50/$7.50. Cached input 0.1x. Nano Banana 2.1 (`gemini-nano-banana-2.1`, images) is paid tier only at $1.50 input and $30 per million image output tokens, about $0.034 a 1K image, $0.050 at 2K and $0.113 at 4K, half that in batch. Search grounding 5,000 free a month, then $14 per 1,000. Batch half price (https://ai.google.dev/gemini-api/docs/pricing).",
      "priceSummary": "from $0.25 / 1M in",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No machine payment. The free tier needs a Google account and paid use needs billing on a Cloud project.",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 3992,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-09-26"
      },
      "docsUrl": "https://ai.google.dev/gemini-api/docs",
      "rateLimitsUrl": "https://ai.google.dev/gemini-api/docs/rate-limits",
      "llmsTxt": "https://ai.google.dev/gemini-api/docs/llms.txt",
      "capabilities": [
        "inference.llm"
      ],
      "tags": [
        "official",
        "hosted",
        "model",
        "free-tier",
        "no-card",
        "llms-txt"
      ],
      "lastRelease": "2026-10-08",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 65.5,
        "grade": "B",
        "agentReady": false,
        "rank": 338,
        "ranked": true,
        "rankOf": 1260,
        "categoryRank": 14,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 90,
          "maintenance": 83,
          "payments": 40,
          "reliability": 40,
          "schema": 85,
          "security": 60,
          "transparency": 72
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-12"
        },
        "negative": 0,
        "verdict": "Free tier on 3.8 Flash and Flash-Lite with no billing account. Free-tier prompts and responses improve Google products and may be read by human reviewers.",
        "bestFor": "Cheap, long-context Flash calls for prototypes, public data and agents that need to start without a card.",
        "strengths": [
          "Free tier on 3.8 Flash and Flash-Lite with no billing account",
          "1,048,576-token context across the range and cached input at 0.1x",
          "Backoff guidance with jitter, and the Python SDK retries transient errors four times",
          "Keys can be restricted to the Gemini API and by IP or origin, and unrestricted keys are rejected from 28 May 2026",
          "A keyless Discovery document types the v1beta GenerateContent surface, and function calling can be forced to named tools"
        ],
        "weaknesses": [
          "Free-tier prompts and responses improve Google products and may be read by human reviewers",
          "Per-model rate limits are only visible inside AI Studio",
          "No SLA and no zero-retention route found for the Developer API",
          "The only Pro model, `gemini-3.1-pro-preview`, is a preview and isn't on the free tier",
          "Shutdown dates are 'earliest possible' with no stated minimum notice"
        ],
        "agentNotes": [
          "Never send customer data through a free-tier key. Link billing first",
          "Don't request Gemini 4 Argon here. It has no Developer API model ID as of 5 October 2026",
          "Back off exponentially on 429 RESOURCE_EXHAUSTED and 503, and don't retry 400, 402 or 403",
          "Stop sending temperature, top_p and top_k. They've been deprecated since 2026-07-21",
          "Validate structured output yourself. The docs don't promise schema-constrained decoding"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 2,
        "avgRating": 3.5,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 65.5
          }
        ],
        "editorialScores": {
          "ergonomics": 90,
          "maintenance": 83,
          "payments": 40,
          "reliability": 40,
          "schema": 85,
          "security": 60,
          "transparency": 55
        },
        "provenanceScore": 89,
        "checked": {
          "categories": {
            "ergonomics": "2026-10-12",
            "maintenance": "2026-10-12",
            "payments": "2026-10-12",
            "reliability": "2026-10-12",
            "schema": "2026-10-12",
            "security": "2026-10-12",
            "transparency": "2026-10-12"
          },
          "last": "2026-10-12",
          "lastMoved": "2026-10-28",
          "oldest": "2026-10-12",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "pip install google-genai   # or: npm i @google/genai",
        "http": "curl \"https://generativelanguage.googleapis.com/v1beta/models/gemini-3.8-flash:generateContent\" \\\n  -H \"x-goog-api-key: $GEMINI_API_KEY\" -H \"content-type: application/json\" \\\n  -d '{\"contents\":[{\"parts\":[{\"text\":\"hello\"}]}]}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/gemini-api"
      },
      "sameCompany": [
        "gemini-embedding",
        "vertex-ai-tuning",
        "google-model-armor",
        "google-imagen",
        "google-veo",
        "google-lyria",
        "google-speech-to-text",
        "gemini-live",
        "google-adk",
        "google-secret-manager",
        "google-cloud-document-ai",
        "google-weather-api",
        "chrome-devtools-mcp",
        "google-maps-platform",
        "google-cloud-translation",
        "google-calendar-api",
        "firebase-cloud-messaging",
        "google-drive-api",
        "gemini-enterprise",
        "gemini-cli",
        "google-search-console",
        "google-ads-api",
        "google-forms",
        "google-sheets-api",
        "gmail-api",
        "google-people-api"
      ],
      "sameModel": [
        "gemma-4-26b-a4b-it",
        "gemma-4-31b-it"
      ],
      "area": "models",
      "unitPrices": [
        {
          "item": "Search grounding over 5,000 a month",
          "unit": "1k-requests",
          "usd": 14
        },
        {
          "item": "Nano Banana 2.1 image, 1K",
          "unit": "image",
          "usd": 0.0336,
          "note": "1,120 output tokens at $30 per million. Paid tier only, half price in batch"
        },
        {
          "item": "Nano Banana 2.1 image, 2K",
          "unit": "image",
          "usd": 0.0504,
          "note": "1,680 output tokens"
        },
        {
          "item": "Nano Banana 2.1 image, 4K",
          "unit": "image",
          "usd": 0.113,
          "note": "3,780 output tokens"
        }
      ],
      "provenance": {
        "legalEntity": "Google LLC",
        "domain": "google.com",
        "domainRegistered": "1997-09-15",
        "domainNote": "The endpoint is on googleapis.com, Google's API domain. google.com was registered in 1997.",
        "endpointOnVendorDomain": true,
        "terms": "https://ai.google.dev/gemini-api/terms",
        "privacy": "https://policies.google.com/privacy",
        "statusPage": "https://aistudio.google.com/status",
        "changelog": "https://ai.google.dev/gemini-api/docs/changelog",
        "securityTxt": "valid",
        "checked": "2026-10-05",
        "score": 89
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/gemini-api.json",
      "live": {
        "slug": "gemini-api",
        "probe": {
          "target": "https://generativelanguage.googleapis.com/v1beta",
          "method": "get",
          "lastAt": "2026-11-02T00:56:05.003654359Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 29,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 38,
          "p95ms24h": 118,
          "samples24h": 249,
          "samples30d": 7898,
          "days": [
            {
              "date": "2026-10-02",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-03",
              "probes": 271,
              "ok": 271
            },
            {
              "date": "2026-10-04",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-05",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-06",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-07",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-08",
              "probes": 268,
              "ok": 268
            },
            {
              "date": "2026-10-09",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-10-10",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-11",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-12",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-13",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-14",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-15",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-16",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-17",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-18",
              "probes": 256,
              "ok": 256
            },
            {
              "date": "2026-10-19",
              "probes": 255,
              "ok": 255
            },
            {
              "date": "2026-10-20",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-21",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-22",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-23",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-24",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-10-25",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-10-26",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-27",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-28",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-10-29",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-30",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-31",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-11-01",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-11-02",
              "probes": 10,
              "ok": 10
            }
          ]
        },
        "vendorStatus": {
          "page": "https://aistudio.google.com/status",
          "indicator": "unknown",
          "summary": "no machine-readable status found",
          "checkedAt": "2026-11-01T22:57:13.086412784Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "googleapis/python-genai",
            "version": "v2.34.0",
            "released": "2026-10-29",
            "seenAt": "2026-11-01T17:00:24.972261533Z"
          },
          {
            "registry": "npm",
            "name": "@google/genai",
            "version": "2.32.0",
            "seenAt": "2026-11-01T17:00:24.014275747Z"
          },
          {
            "registry": "pypi",
            "name": "google-genai",
            "version": "2.34.0",
            "released": "2026-10-29",
            "seenAt": "2026-11-01T17:00:23.90647296Z"
          }
        ],
        "githubStars": 4052,
        "npmWeekly": 29855861,
        "pypiWeekly": 38263995,
        "securityTxt": {
          "url": "https://google.com/.well-known/security.txt",
          "state": "valid",
          "expires": "2030-04-01T00:00:00z",
          "checkedAt": "2026-11-01T15:43:33.897908695Z"
        },
        "llmsTxt": {
          "url": "https://ai.google.dev/gemini-api/docs/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-01T15:13:51.296426302Z"
        },
        "domain": {
          "domain": "google.com",
          "registered": "1997-09-15",
          "source": "https://rdap.verisign.com/com/v1/domain/google.com",
          "checkedAt": "2026-11-01T14:17:18.719851913Z"
        },
        "pages": [
          {
            "url": "https://ai.google.dev/gemini-api/docs/changelog",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-01T06:35:41.826462021Z",
            "changedAt": "2026-10-31T06:04:02.944875177Z",
            "fingerprint": "6ab7ebf3b9fc"
          },
          {
            "url": "https://ai.google.dev/gemini-api/docs/deprecations",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-01T06:35:44.125287415Z",
            "changedAt": "2026-10-28T04:08:46.727910004Z",
            "fingerprint": "52516a0ed435"
          },
          {
            "url": "https://ai.google.dev/gemini-api/docs/pricing",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-01T06:35:46.084753543Z",
            "changedAt": "2026-10-31T06:04:07.224317742Z",
            "fingerprint": "201572fde391"
          },
          {
            "url": "https://ai.google.dev/gemini-api/terms",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-11-01T06:35:48.201420644Z",
            "changedAt": "2026-10-28T04:08:50.706671544Z",
            "fingerprint": "a5ce8c370ef5"
          }
        ],
        "models": {
          "gemini-3.1-flash-lite": {
            "openrouterId": "google/gemini-3.1-flash-lite",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "audio",
              "file",
              "image",
              "text",
              "video"
            ],
            "promptCaching": true,
            "contextTokens": 1048576,
            "maxOutput": 65536,
            "checkedAt": "2026-11-01T23:49:20.31928442Z"
          },
          "gemini-3.1-pro-preview": {
            "openrouterId": "google/gemini-3.1-pro-preview",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "audio",
              "file",
              "image",
              "text",
              "video"
            ],
            "promptCaching": true,
            "contextTokens": 1048576,
            "maxOutput": 65536,
            "checkedAt": "2026-11-01T23:49:20.31928442Z"
          },
          "gemini-3.5-flash-lite": {
            "openrouterId": "google/gemini-3.5-flash-lite",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "audio",
              "file",
              "image",
              "text",
              "video"
            ],
            "promptCaching": true,
            "contextTokens": 1048576,
            "maxOutput": 65536,
            "checkedAt": "2026-11-01T23:49:20.31928442Z"
          },
          "gemini-3.8-flash": {
            "openrouterId": "google/gemini-3.8-flash",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "audio",
              "file",
              "image",
              "text",
              "video"
            ],
            "promptCaching": true,
            "contextTokens": 1048576,
            "maxOutput": 65536,
            "checkedAt": "2026-11-01T23:49:20.31928442Z"
          }
        },
        "github": {
          "repo": "googleapis/python-genai",
          "checkedAt": "2026-10-26T07:31:38.942936254Z",
          "stars": 4047,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-10-25T05:00:10Z",
          "openIssues": 225,
          "openPRs": 140,
          "issuesOpened90d": 75,
          "issuesClosed90d": 40,
          "prsMerged90d": 218,
          "ci": {
            "branch": "main",
            "runs": 50,
            "success": 50,
            "failure": 0,
            "other": 0,
            "latest": "success",
            "latestAt": "2026-10-24T18:42:22Z"
          },
          "replies": {
            "sampled": 25,
            "unanswered": 15,
            "medianDays": 5.5
          }
        },
        "updatedAt": "2026-11-02T00:56:05.003654359Z"
      }
    },
    "answer": "Gemini Developer API scores 65.5 (B) on agent readiness against Tencent Cloud TokenHub's 59.5 (C), and leads in 5 of 7 scored categories. Tencent Cloud TokenHub leads on reliability and security \u0026 auth.",
    "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": 646,
        "ranked": true,
        "rankOf": 1260,
        "categoryRank": 18,
        "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-02T00:56:24.101434531Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 795,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 826,
          "p95ms24h": 1067,
          "samples24h": 28,
          "samples30d": 28,
          "days": [
            {
              "date": "2026-11-01",
              "probes": 18,
              "ok": 18
            },
            {
              "date": "2026-11-02",
              "probes": 10,
              "ok": 10
            }
          ]
        },
        "updatedAt": "2026-11-02T00:56:24.101434531Z"
      }
    },
    "edges": [
      {
        "by": 18,
        "category": "transparency",
        "leads": "gemini-api",
        "name": "Transparency \u0026 trust",
        "reasons": {
          "a": "Closed service with clear terms, SDKs Apache-2.0 (15). Terms, pricing page and logs policy agree that free-tier data improves Google products and paid data doesn't, but abuse retention on paid services has no number (20 of 30). Deprecations table with earliest shutdown dates, exact dates promised later (15 of 20). Terms say data may be cached in any country where Google has facilities. No subprocessor list checked (5 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": 72,
          "b": 54
        }
      },
      {
        "by": 12,
        "category": "schema",
        "leads": "gemini-api",
        "name": "Schema \u0026 documentation",
        "reasons": {
          "a": "A keyless Discovery document at generativelanguage.googleapis.com/$discovery/rest?version=v1beta (revision 20261004) types 86 methods and 224 schemas for GenerateContent, files, batches, caching and models, but not the Interactions API the guides now lead with (20 of 25). llms.txt at ai.google.dev/gemini-api/docs/llms.txt, with Markdown twins of each page (10). Reference not read in full, and the changelog names the recommended models for new projects (15 of 20). Structured output accepts JSON Schema with enums, `minimum`, `maximum` and `$ref`, but the page asks you to validate and doesn't promise constrained decoding, per the 1 October check (10 of 15). Examples on every guide and an API errors page with HTTP, blocked and content codes (15). Dated changelog and model versions (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": 85,
          "b": 73
        }
      },
      {
        "by": 11,
        "category": "security",
        "leads": "tencent-tokenhub",
        "name": "Security \u0026 auth",
        "reasons": {
          "a": "Model reading. Keys live in a Cloud project, can be restricted to the Gemini API and by IP or origin, and unrestricted keys are rejected after 28 May 2026, per the 1 October check of the key docs, not re-read on 5 October. Disable and replace on leak. No permission scopes, so 25 of 30. No query-string key in the key docs. Terms (effective 23 March 2026, re-read 5 October) say free-tier prompts and responses are used to improve Google products and human reviewers may read them, paid tier isn't used (10 of 20). Abuse monitoring on paid services is kept 'a limited period' with no number, grounding data 30 days, opt-in logs up to 55 days, and no zero-retention route on this API was found. Zero retention for Gemini 4 Argon is offered only through Gemini Enterprise (5 of 15). Opt-in request logs in AI Studio for billed projects (15). security.txt valid to 2030 with a vulnerability reward programme. No certification for the Developer API found (5 of 20).",
          "b": "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)."
        },
        "scores": {
          "a": 60,
          "b": 71
        }
      },
      {
        "by": 10,
        "category": "maintenance",
        "leads": "gemini-api",
        "name": "Maintenance \u0026 community",
        "reasons": {
          "a": "Model reading. Nano Banana 2.1 went GA on 6 October and the newest changelog entry, on 8 October, deprecates 3.7 and 3.5 Flash with requests routed to newer models (30). The deprecations page lists earliest possible shutdown dates and promises advance notice, with no stated minimum (4 of 12). Shutdown dates in the last 90 days include the 2.5 computer use preview on 28 July, Imagen 4 on 17 August, Robotics ER 1.6 on 31 August and `antigravity-preview-05-2026` on 5 October (the 5 October check read `gemini-2.5-flash-image`'s release date, 2 October 2025, as a shutdown; the table gives 15 March 2027), each in the table with a replacement (4 of 8). Dated changelog several times a month (15 of 15). SDK repository replies not sampled (5 of 10). Current official SDKs, `google-genai` 2.28.0 on 2 October and `@google/genai` 2.27.0 on 2 October (15). Supported runtimes stated, Python 3.10 and later (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": 83,
          "b": 73
        }
      },
      {
        "by": 7,
        "category": "ergonomics",
        "leads": "gemini-api",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors). Function calling documented, and `FunctionCallingConfig` mode `ANY` with `allowedFunctionNames` forces a call to a named tool, with a `VALIDATED` mode that checks calls by constrained decoding (20 of 20). Structured output without a stated guarantee (10 of 15). Context caching at 0.1x input, $0.075 per million on 3.8 Flash until 31 December (15). 1,048,576-token context on the default model (15). Batch half price (10). Official SDKs for Python and JavaScript (10). Documented error codes with backoff guidance (10 of 15, because 400, 402 and 403 are flagged as not retryable but recovery advice per code sits on a separate page we only skimmed).",
          "b": "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)."
        },
        "scores": {
          "a": 90,
          "b": 83
        }
      },
      {
        "by": 6,
        "category": "reliability",
        "leads": "tencent-tokenhub",
        "name": "Reliability",
        "reasons": {
          "a": "Status page at aistudio.google.com/status, but it still renders in the browser and we couldn't read any history from it on 5 October (10 of 20, and 5 for the incident line with no readable record). Per-model RPM and TPM live in AI Studio. The public page publishes tier rules, spend-based limits of $10, $50 and $200 per 10 minutes for Tiers 1 to 3, and batch queue limits (5 of 15). Troubleshooting guide gives exponential backoff with jitter for 429 RESOURCE_EXHAUSTED and 503, and the Python SDK retries four times, per the 1 October check, not re-read on 5 October (15). No SLA found for the Developer API (0). The default model 3.8 Flash is GA, but the endpoint is `v1beta` and the only Pro model on this API is a preview (5 of 10).",
          "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": 40,
          "b": 46
        }
      }
    ],
    "facts": [
      {
        "a": "Model API",
        "b": "Model router",
        "name": "Kind"
      },
      {
        "a": "Google",
        "b": "Tencent Cloud",
        "name": "Vendor"
      },
      {
        "a": "https://generativelanguage.googleapis.com/v1beta",
        "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": "Apache-2.0 (SDKs)",
        "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-10-08",
        "b": "2026-10-24",
        "name": "Last release"
      },
      {
        "a": "2026-04-28",
        "b": "couldn't be read",
        "name": "Terms last updated"
      },
      {
        "a": "2026-10-01",
        "b": "couldn't be read",
        "name": "Privacy policy last updated"
      },
      {
        "a": "yes",
        "b": "couldn't be read",
        "name": "Customer content may train models"
      },
      {
        "a": "yes",
        "b": "couldn't be read",
        "name": "Terms restrict automated access"
      },
      {
        "a": "yes",
        "b": "couldn't be read",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "couldn't be read",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "not found in the text",
        "b": "couldn't be read",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "4k stars",
        "b": "204 npm/wk",
        "name": "Popularity"
      },
      {
        "a": "3.5/5 (2)",
        "b": "none",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "Gemini Developer API scores 65.5 (B) on agent readiness against Tencent Cloud TokenHub's 59.5 (C), and leads in 5 of 7 scored categories. Tencent Cloud TokenHub leads on reliability and security \u0026 auth.",
        "question": "Which is better for AI agents, Gemini Developer API or Tencent Cloud TokenHub?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do Gemini Developer API and Tencent Cloud TokenHub need an API key?"
      },
      {
        "answer": "Yes. Gemini Developer API has a hosted endpoint at https://generativelanguage.googleapis.com/v1beta and Tencent Cloud TokenHub at https://tokenhub.tencentmaas.com/v1.",
        "question": "Can an agent call Gemini Developer API and Tencent Cloud TokenHub without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Schema \u0026 documentation, 85 against 73",
          "Agent ergonomics, 90 against 83",
          "Payments \u0026 pricing, 40 against 35",
          "Maintenance \u0026 community, 83 against 73",
          "Transparency \u0026 trust, 72 against 54"
        ],
        "also": [
          "Free to start without a card",
          "No incidents deducted, where Tencent Cloud TokenHub loses 3 points for them"
        ],
        "goodFor": "Cheap, long-context Flash calls for prototypes, public data and agents that need to start without a card.",
        "slug": "gemini-api",
        "watchFor": "Free-tier prompts and responses improve Google products and may be read by human reviewers"
      },
      {
        "aheadOn": [
          "Reliability, 46 against 40",
          "Security \u0026 auth, 71 against 60"
        ],
        "also": null,
        "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": {
      "gemini-api": [
        {
          "causes": [
            "correction"
          ],
          "date": "2026-10-28",
          "delta": -0.1,
          "from": 65.6,
          "fromGrade": "B",
          "to": 65.5,
          "toGrade": "B"
        },
        {
          "causes": [
            "method"
          ],
          "date": "2026-10-28",
          "delta": 0.1,
          "from": 65.5,
          "fromGrade": "B",
          "to": 65.6,
          "toGrade": "B"
        },
        {
          "causes": [
            "method"
          ],
          "date": "2026-10-08",
          "delta": -0.5,
          "from": 66,
          "fromGrade": "B",
          "to": 65.5,
          "toGrade": "B"
        }
      ],
      "tencent-tokenhub": null
    },
    "job": {
      "capability": "inference.llm",
      "name": "LLM inference"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-gemini-api.json",
        "title": "Claude API vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-gemini-api"
      },
      {
        "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/antseed-vs-gemini-api.json",
        "title": "Antseed vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-gemini-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-gemini-api.json",
        "title": "BlockRun.AI vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-gemini-api"
      },
      {
        "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-gemini-api.json",
        "title": "Cerebras Inference vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-gemini-api"
      },
      {
        "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-gemini-api.json",
        "title": "Cloudflare AI Gateway vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-api"
      },
      {
        "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-gemini-api.json",
        "title": "Cloudflare Workers AI vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-gemini-api"
      },
      {
        "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-gemini-api.json",
        "title": "Cohere Chat API (Command models) vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-gemini-api"
      },
      {
        "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-gemini-api.json",
        "title": "DeepInfra vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-gemini-api"
      },
      {
        "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-gemini-api.json",
        "title": "DeepSeek API vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-gemini-api"
      },
      {
        "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-gemini-api.json",
        "title": "Glimpse vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-gemini-api"
      },
      {
        "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-gemini-api.json",
        "title": "Fireworks AI Inference vs Gemini Developer API",
        "url": "https://www.anchorterminal.com/compare/fireworks-inference-vs-gemini-api"
      },
      {
        "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-groq.json",
        "title": "Gemini Developer API vs GroqCloud",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-groq"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-jais-3.json",
        "title": "Gemini Developer API vs Jais 3",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-jais-3"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-meta-model-api.json",
        "title": "Gemini Developer API vs Meta Model API",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-meta-model-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-minimax-api.json",
        "title": "Gemini Developer API vs MiniMax API",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-minimax-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-mistral-api.json",
        "title": "Gemini Developer API vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-muse-spark-open.json",
        "title": "Gemini Developer API vs Muse Spark Open",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-muse-spark-open"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-nemotron-3-5-super-vl.json",
        "title": "Gemini Developer API vs Nemotron 3.5 Super VL",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-nemotron-3-5-super-vl"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-novita-ai.json",
        "title": "Gemini Developer API vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-openai-api.json",
        "title": "Gemini Developer API vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-openrouter.json",
        "title": "Gemini Developer API vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-prism-inference.json",
        "title": "Gemini Developer API vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-ramp-router.json",
        "title": "Gemini Developer API vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-reflection-beam.json",
        "title": "Gemini Developer API vs Beam 1.0",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-reflection-beam"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-routerplus.json",
        "title": "Gemini Developer API vs RouterPlus",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-routerplus"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-sambanova.json",
        "title": "Gemini Developer API vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-siliconflow.json",
        "title": "Gemini Developer API vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-simplismart.json",
        "title": "Gemini Developer API vs Simplismart",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-simplismart"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-stepfun-api.json",
        "title": "Gemini Developer API vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-together-inference.json",
        "title": "Gemini Developer API vs Together AI Inference",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-together-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-vercel-ai-gateway.json",
        "title": "Gemini Developer API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-vercel-ai-gateway"
      },
      {
        "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/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/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/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"
      },
      {
        "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/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"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 6,
        "edge": "tencent-tokenhub",
        "gemini-api": 40,
        "key": "reliability",
        "name": "Reliability",
        "tencent-tokenhub": 46,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 12,
        "edge": "gemini-api",
        "gemini-api": 85,
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "tencent-tokenhub": 73,
        "weight": 13
      },
      {
        "by": 7,
        "edge": "gemini-api",
        "gemini-api": 90,
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "tencent-tokenhub": 83,
        "weight": 13
      },
      {
        "by": 11,
        "edge": "tencent-tokenhub",
        "gemini-api": 60,
        "key": "security",
        "name": "Security \u0026 auth",
        "tencent-tokenhub": 71,
        "weight": 14
      },
      {
        "by": 5,
        "edge": "gemini-api",
        "gemini-api": 40,
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "tencent-tokenhub": 35,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 10,
        "edge": "gemini-api",
        "gemini-api": 83,
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "tencent-tokenhub": 73,
        "weight": 7
      },
      {
        "by": 18,
        "edge": "gemini-api",
        "gemini-api": 72,
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "tencent-tokenhub": 54,
        "weight": 7
      }
    ],
    "summary": "Gemini Developer API scores 65.5 (B) on agent readiness against Tencent Cloud TokenHub's 59.5 (C), and leads in 5 of 7 scored categories. Tencent Cloud TokenHub leads on reliability and security \u0026 auth. Both do llm inference.",
    "tasks": null,
    "tutorials": [],
    "verdicts": {
      "gemini-api": "Free tier on 3.8 Flash and Flash-Lite with no billing account. Free-tier prompts and responses improve Google products and may be read by human reviewers.",
      "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/gemini-api-vs-tencent-tokenhub",
    "json": "https://www.anchorterminal.com/compare/gemini-api-vs-tencent-tokenhub.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/gemini-api-vs-tencent-tokenhub.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/gemini-api-vs-tencent-tokenhub.min.md"
  },
  "markdown": "Gemini Developer API scores 65.5 (B) on agent readiness against Tencent Cloud TokenHub's 59.5 (C), and leads in 5 of 7 scored categories. Tencent Cloud TokenHub leads on reliability and security \u0026 auth. Both do llm inference.\n\n- Gemini Developer API: grade B, 65.5/100, rank #338 of 1260. Markdown https://www.anchorterminal.com/tools/gemini-api.md · JSON https://www.anchorterminal.com/api/v1/tools/gemini-api.json\n- Tencent Cloud TokenHub: grade C, 59.5/100, rank #646 of 1260. 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 529 models comparisons: https://www.anchorterminal.com/compare/inference/index.md\n\n## Which one, for what\n\n### Gemini Developer API (B)\n\nGood for: Cheap, long-context Flash calls for prototypes, public data and agents that need to start without a card.\n\nAhead on:\n- Schema \u0026 documentation, 85 against 73\n- Agent ergonomics, 90 against 83\n- Payments \u0026 pricing, 40 against 35\n- Maintenance \u0026 community, 83 against 73\n- Transparency \u0026 trust, 72 against 54\n\nAlso in its favour:\n- Free to start without a card\n- No incidents deducted, where Tencent Cloud TokenHub loses 3 points for them\n\nWatch for: Free-tier prompts and responses improve Google products and may be read by human reviewers\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\nAhead on:\n- Reliability, 46 against 40\n- Security \u0026 auth, 71 against 60\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### Transparency \u0026 trust: Gemini Developer API +18\n\n- Gemini Developer API (72): Closed service with clear terms, SDKs Apache-2.0 (15). Terms, pricing page and logs policy agree that free-tier data improves Google products and paid data doesn't, but abuse retention on paid services has no number (20 of 30). Deprecations table with earliest shutdown dates, exact dates promised later (15 of 20). Terms say data may be cached in any country where Google has facilities. No subprocessor list checked (5 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### Schema \u0026 documentation: Gemini Developer API +12\n\n- Gemini Developer API (85): A keyless Discovery document at generativelanguage.googleapis.com/$discovery/rest?version=v1beta (revision 20261004) types 86 methods and 224 schemas for GenerateContent, files, batches, caching and models, but not the Interactions API the guides now lead with (20 of 25). llms.txt at ai.google.dev/gemini-api/docs/llms.txt, with Markdown twins of each page (10). Reference not read in full, and the changelog names the recommended models for new projects (15 of 20). Structured output accepts JSON Schema with enums, `minimum`, `maximum` and `$ref`, but the page asks you to validate and doesn't promise constrained decoding, per the 1 October check (10 of 15). Examples on every guide and an API errors page with HTTP, blocked and content codes (15). Dated changelog and model versions (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### Security \u0026 auth: Tencent Cloud TokenHub +11\n\n- Gemini Developer API (60): Model reading. Keys live in a Cloud project, can be restricted to the Gemini API and by IP or origin, and unrestricted keys are rejected after 28 May 2026, per the 1 October check of the key docs, not re-read on 5 October. Disable and replace on leak. No permission scopes, so 25 of 30. No query-string key in the key docs. Terms (effective 23 March 2026, re-read 5 October) say free-tier prompts and responses are used to improve Google products and human reviewers may read them, paid tier isn't used (10 of 20). Abuse monitoring on paid services is kept 'a limited period' with no number, grounding data 30 days, opt-in logs up to 55 days, and no zero-retention route on this API was found. Zero retention for Gemini 4 Argon is offered only through Gemini Enterprise (5 of 15). Opt-in request logs in AI Studio for billed projects (15). security.txt valid to 2030 with a vulnerability reward programme. No certification for the Developer API found (5 of 20).\n- 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).\n\n### Maintenance \u0026 community: Gemini Developer API +10\n\n- Gemini Developer API (83): Model reading. Nano Banana 2.1 went GA on 6 October and the newest changelog entry, on 8 October, deprecates 3.7 and 3.5 Flash with requests routed to newer models (30). The deprecations page lists earliest possible shutdown dates and promises advance notice, with no stated minimum (4 of 12). Shutdown dates in the last 90 days include the 2.5 computer use preview on 28 July, Imagen 4 on 17 August, Robotics ER 1.6 on 31 August and `antigravity-preview-05-2026` on 5 October (the 5 October check read `gemini-2.5-flash-image`'s release date, 2 October 2025, as a shutdown; the table gives 15 March 2027), each in the table with a replacement (4 of 8). Dated changelog several times a month (15 of 15). SDK repository replies not sampled (5 of 10). Current official SDKs, `google-genai` 2.28.0 on 2 October and `@google/genai` 2.27.0 on 2 October (15). Supported runtimes stated, Python 3.10 and later (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### Agent ergonomics: Gemini Developer API +7\n\n- Gemini Developer API (90): Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors). Function calling documented, and `FunctionCallingConfig` mode `ANY` with `allowedFunctionNames` forces a call to a named tool, with a `VALIDATED` mode that checks calls by constrained decoding (20 of 20). Structured output without a stated guarantee (10 of 15). Context caching at 0.1x input, $0.075 per million on 3.8 Flash until 31 December (15). 1,048,576-token context on the default model (15). Batch half price (10). Official SDKs for Python and JavaScript (10). Documented error codes with backoff guidance (10 of 15, because 400, 402 and 403 are flagged as not retryable but recovery advice per code sits on a separate page we only skimmed).\n- 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).\n\n### Reliability: Tencent Cloud TokenHub +6\n\n- Gemini Developer API (40): Status page at aistudio.google.com/status, but it still renders in the browser and we couldn't read any history from it on 5 October (10 of 20, and 5 for the incident line with no readable record). Per-model RPM and TPM live in AI Studio. The public page publishes tier rules, spend-based limits of $10, $50 and $200 per 10 minutes for Tiers 1 to 3, and batch queue limits (5 of 15). Troubleshooting guide gives exponential backoff with jitter for 429 RESOURCE_EXHAUSTED and 503, and the Python SDK retries four times, per the 1 October check, not re-read on 5 October (15). No SLA found for the Developer API (0). The default model 3.8 Flash is GA, but the endpoint is `v1beta` and the only Pro model on this API is a preview (5 of 10).\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## Score by category\n\n| Category | Weight | Gemini Developer API | Tencent Cloud TokenHub | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 40 | 46 | Tencent Cloud TokenHub +6 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 85 | 73 | Gemini Developer API +12 |\n| Agent ergonomics | 13% (16.2 this run) | 90 | 83 | Gemini Developer API +7 |\n| Security \u0026 auth | 14% (17.5 this run) | 60 | 71 | Tencent Cloud TokenHub +11 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 40 | 35 | Gemini Developer API +5 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 83 | 73 | Gemini Developer API +10 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 72 | 54 | Gemini Developer API +18 |\n| Negative events | ≤15 | 0 | -3 | |\n| **Total** | | **65.5 · B** | **59.5 · C** | |\n\n## Facts side by side\n\n| Fact | Gemini Developer API | Tencent Cloud TokenHub |\n| --- | --- | --- |\n| Kind | Model API | Model router |\n| Vendor | Google | Tencent Cloud |\n| Hosted endpoint | `https://generativelanguage.googleapis.com/v1beta` | `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 | Apache-2.0 (SDKs) | 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-10-08 | 2026-10-24 |\n| Terms last updated | 2026-04-28 | couldn't be read |\n| Privacy policy last updated | 2026-10-01 | couldn't be read |\n| Customer content may train models | yes | couldn't be read |\n| Terms restrict automated access | yes | couldn't be read |\n| Terms restrict benchmarking | yes | couldn't be read |\n| Terms or service can change without notice | not found in the text | couldn't be read |\n| Arbitration or class-action waiver | not found in the text | couldn't be read |\n| Popularity | 4k stars | 204 npm/wk |\n| Agent reviews | 3.5/5 (2) | none |\n\n## How the scores have moved\n\n### Gemini Developer API\n\n- -0.1 on 28 October 2026: correction\n- +0.1 on 28 October 2026: checklist\n- -0.5 on 8 October 2026: checklist\n\n### Tencent Cloud TokenHub\n\nNo score change since it was listed.\n\n## Verdicts\n\n**Gemini Developer API.** Free tier on 3.8 Flash and Flash-Lite with no billing account. Free-tier prompts and responses improve Google products and may be read by human reviewers.\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### Gemini Developer API\n\n1. Never send customer data through a free-tier key. Link billing first\n2. Don't request Gemini 4 Argon here. It has no Developer API model ID as of 5 October 2026\n3. Back off exponentially on 429 RESOURCE_EXHAUSTED and 503, and don't retry 400, 402 or 403\n4. Stop sending temperature, top_p and top_k. They've been deprecated since 2026-07-21\n5. Validate structured output yourself. The docs don't promise schema-constrained decoding\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, Gemini Developer API or Tencent Cloud TokenHub?\n\nGemini Developer API scores 65.5 (B) on agent readiness against Tencent Cloud TokenHub's 59.5 (C), and leads in 5 of 7 scored categories. Tencent Cloud TokenHub leads on reliability and security \u0026 auth.\n\n### Do Gemini Developer API and Tencent Cloud TokenHub need an API key?\n\nBoth need an API key.\n\n### Can an agent call Gemini Developer API and Tencent Cloud TokenHub without installing anything?\n\nYes. Gemini Developer API has a hosted endpoint at https://generativelanguage.googleapis.com/v1beta and Tencent Cloud TokenHub at https://tokenhub.tencentmaas.com/v1.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/gemini-api-vs-tencent-tokenhub.json, and with the fewest tokens: https://www.anchorterminal.com/compare/gemini-api-vs-tencent-tokenhub.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"gemini-api\", \"b\": \"tencent-tokenhub\"}`. From a terminal: `anchor compare gemini-api tencent-tokenhub`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/gemini-api.json and https://www.anchorterminal.com/api/v1/tools/tencent-tokenhub.json\n\n## Other comparisons with Gemini Developer API or Tencent Cloud TokenHub\n\n- [Claude API vs Gemini Developer API](https://www.anchorterminal.com/compare/anthropic-api-vs-gemini-api.md)\n- [Claude API vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/anthropic-api-vs-tencent-tokenhub.md)\n- [Antseed vs Gemini Developer API](https://www.anchorterminal.com/compare/antseed-vs-gemini-api.md)\n- [BlockRun.AI vs Gemini Developer API](https://www.anchorterminal.com/compare/blockrun-ai-vs-gemini-api.md)\n- [BlockRun.AI vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/blockrun-ai-vs-tencent-tokenhub.md)\n- [Cerebras Inference vs Gemini Developer API](https://www.anchorterminal.com/compare/cerebras-inference-vs-gemini-api.md)\n- [Cerebras Inference vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/cerebras-inference-vs-tencent-tokenhub.md)\n- [Cloudflare AI Gateway vs Gemini Developer API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-gemini-api.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 Gemini Developer API](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-gemini-api.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 Gemini Developer API](https://www.anchorterminal.com/compare/cohere-chat-vs-gemini-api.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 Gemini Developer API](https://www.anchorterminal.com/compare/deepinfra-vs-gemini-api.md)\n- [DeepInfra vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/deepinfra-vs-tencent-tokenhub.md)\n- [DeepSeek API vs Gemini Developer API](https://www.anchorterminal.com/compare/deepseek-api-vs-gemini-api.md)\n- [DeepSeek API vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/deepseek-api-vs-tencent-tokenhub.md)\n- [Glimpse vs Gemini Developer API](https://www.anchorterminal.com/compare/elorian-glimpse-vs-gemini-api.md)\n- [Glimpse vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/elorian-glimpse-vs-tencent-tokenhub.md)\n- [Fireworks AI Inference vs Gemini Developer API](https://www.anchorterminal.com/compare/fireworks-inference-vs-gemini-api.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 GroqCloud](https://www.anchorterminal.com/compare/gemini-api-vs-groq.md)\n- [Gemini Developer API vs Jais 3](https://www.anchorterminal.com/compare/gemini-api-vs-jais-3.md)\n- [Gemini Developer API vs Meta Model API](https://www.anchorterminal.com/compare/gemini-api-vs-meta-model-api.md)\n- [Gemini Developer API vs MiniMax API](https://www.anchorterminal.com/compare/gemini-api-vs-minimax-api.md)\n- [Gemini Developer API vs Mistral AI API](https://www.anchorterminal.com/compare/gemini-api-vs-mistral-api.md)\n- [Gemini Developer API vs Muse Spark Open](https://www.anchorterminal.com/compare/gemini-api-vs-muse-spark-open.md)\n- [Gemini Developer API vs Nemotron 3.5 Super VL](https://www.anchorterminal.com/compare/gemini-api-vs-nemotron-3-5-super-vl.md)\n- [Gemini Developer API vs Novita AI](https://www.anchorterminal.com/compare/gemini-api-vs-novita-ai.md)\n- [Gemini Developer API vs OpenAI API](https://www.anchorterminal.com/compare/gemini-api-vs-openai-api.md)\n- [Gemini Developer API vs OpenRouter](https://www.anchorterminal.com/compare/gemini-api-vs-openrouter.md)\n- [Gemini Developer API vs Prism Inference](https://www.anchorterminal.com/compare/gemini-api-vs-prism-inference.md)\n- [Gemini Developer API vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/gemini-api-vs-ramp-router.md)\n- [Gemini Developer API vs Beam 1.0](https://www.anchorterminal.com/compare/gemini-api-vs-reflection-beam.md)\n- [Gemini Developer API vs RouterPlus](https://www.anchorterminal.com/compare/gemini-api-vs-routerplus.md)\n- [Gemini Developer API vs SambaCloud](https://www.anchorterminal.com/compare/gemini-api-vs-sambanova.md)\n- [Gemini Developer API vs SiliconFlow](https://www.anchorterminal.com/compare/gemini-api-vs-siliconflow.md)\n- [Gemini Developer API vs Simplismart](https://www.anchorterminal.com/compare/gemini-api-vs-simplismart.md)\n- [Gemini Developer API vs StepFun API](https://www.anchorterminal.com/compare/gemini-api-vs-stepfun-api.md)\n- [Gemini Developer API vs Together AI Inference](https://www.anchorterminal.com/compare/gemini-api-vs-together-inference.md)\n- [Gemini Developer API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/gemini-api-vs-vercel-ai-gateway.md)\n- [GroqCloud vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/groq-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- [Tencent Cloud TokenHub vs Together AI Inference](https://www.anchorterminal.com/compare/tencent-tokenhub-vs-together-inference.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- [Antseed vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/antseed-vs-tencent-tokenhub.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",
  "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-02",
    "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": "Gemini Developer API vs Tencent Cloud TokenHub",
        "url": ""
      }
    ],
    "description": "Gemini Developer scores 65.5 (B) to Tencent Cloud TokenHub's 59.5 (C) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Gemini Developer API B 65.5",
      "Tencent Cloud TokenHub C 59.5",
      "scores"
    ],
    "h1": "Gemini Developer API vs Tencent Cloud TokenHub",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/gemini-api-vs-tencent-tokenhub",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Gemini Developer vs Tencent Cloud TokenHub for AI agents (2026)",
    "toc": null,
    "updated": "2026-11-01",
    "url": "https://www.anchorterminal.com/compare/gemini-api-vs-tencent-tokenhub"
  },
  "tokens": {
    "markdown": 6950,
    "slim": 3880
  },
  "version": 1
}
