Files
hack/tools/scripts/llm-key-hunter/results/_cache/content/bbingz_polycli.json
T

1 line
8.6 KiB
JSON

{"repo": "bbingz/polycli", "files": {"docs/cc-x-recipes.json": {"0b04f0411438b206659b5601ecd45f03c68de074": {"t": 1785768207.3118882, "n": 8093, "h": "866f805532d3939d", "c": "{\n \"schemaVersion\": 1,\n \"collectedAt\": \"2026-06-19\",\n \"disclaimer\": \"Reference snapshot, not a routing oracle and not a polycli runtime. cc-X means pointing the EXISTING claude runtime (BYOK, no native vendor CLI) or opencode (OpenAI-compatible models) at a vendor's Anthropic-compatible endpoint via ANTHROPIC_BASE_URL + ANTHROPIC_AUTH_TOKEN + ANTHROPIC_MODEL. polycli adds NO cc-X provider, adapter, or runtime. Endpoints, model-id families, regions, pricing, and SKU availability change frequently; every entry carries a source URL + date — re-verify against the source before relying on it. Marketplace/resale endpoints (marketplace:true) resolve one ANTHROPIC_MODEL string to a vendor-chosen model/version with no client-side pinning; autoCompactWindow is null for them on purpose (we refuse to fabricate a stable context window, same honest-default as the gemini attempted-vs-used-model caveat in docs/model-fallback-policy.md). Claude Code is NOT asserted to be the highest-scoring harness; it is the best-AVAILABLE + co-designed + cheaper scaffold for the no-native-CLI cluster. cc-X is documented and supported by Anthropic (BYOK + non-Anthropic base URL); the residual risk is indirect (export-screening on the native-Claude fallback, or Anthropic later gating the client), not a China-ToS fragility.\",\n \"recipes\": [\n {\n \"vendor\": \"MiniMax\",\n \"nativeCli\": false,\n \"runtime\": \"claude\",\n \"baseUrlIntl\": \"https://api.minimax.io/anthropic\",\n \"baseUrlCN\": \"https://api.minimaxi.com/anthropic\",\n \"modelIds\": [\"MiniMax-M2\", \"MiniMax-M2.5\", \"MiniMax-M3\"],\n \"marketplace\": false,\n \"autoCompactWindow\": 512000,\n \"cachingNote\": \"Prompt caching silently degraded on the Claude Code single-breakpoint path (re-bills system prompt + tool schemas each turn). Use dual cache-breakpoint; verify the gateway does not gate caching on whether the model is named claude.\",\n \"dataResidency\": \"intl endpoint (api.minimax.io) vs CN endpoint (api.minimaxi.com) is a separate sovereignty/Entity-List gate from harness choice.\",\n \"status\": \"verified\",\n \"source\": { \"url\": \"https://platform.minimax.io/docs\", \"date\": \"2026-06-19\" }\n },\n {\n \"vendor\": \"Moonshot Kimi\",\n \"nativeCli\": true,\n \"runtime\": \"claude\",\n \"baseUrlIntl\": \"https://api.moonshot.ai/anthropic\",\n \"baseUrlCN\": \"https://api.moonshot.cn/anthropic\",\n \"modelIds\": [\"kimi-k2.7-code\"],\n \"marketplace\": false,\n \"autoCompactWindow\": 262144,\n \"cachingNote\": \"Same single-breakpoint degradation as MiniMax; use dual cache-breakpoint. Moonshot also ships a native Kimi Code CLI, so cc-X is a choice here, not the only path.\",\n \"dataResidency\": \"global (api.moonshot.ai) vs CN (api.moonshot.cn).\",\n \"status\": \"verified\",\n \"source\": { \"url\": \"https://platform.moonshot.ai/docs\", \"date\": \"2026-06-19\" }\n },\n {\n \"vendor\": \"Zhipu GLM\",\n \"nativeCli\": false,\n \"runtime\": \"claude\",\n \"baseUrlIntl\": \"https://api.z.ai/api/anthropic\",\n \"baseUrlCN\": null,\n \"modelIds\": [\"GLM-4.7\", \"GLM-4.5-Air\"],\n \"marketplace\": false,\n \"autoCompactWindow\": null,\n \"cachingNote\": \"Official z.ai config maps Opus/Sonnet -> GLM-4.7 and Haiku -> GLM-4.5-Air via ANTHROPIC_MODEL / ANTHROPIC_SMALL_FAST_MODEL. GLM-5.x open weights (MIT) are a self-host lever for sovereignty-sensitive use.\",\n \"dataResidency\": \"z.ai is the intl gateway; open-weights self-host is the strongest sovereignty lever.\",\n \"status\": \"verified\",\n \"source\": { \"url\": \"https://docs.z.ai\", \"date\": \"2026-06-19\" }\n },\n {\n \"vendor\": \"Alibaba Qwen\",\n \"nativeCli\": true,\n \"runtime\": \"claude\",\n \"baseUrlIntl\": \"https://dashscope-intl.aliyuncs.com/apps/anthropic\",\n \"baseUrlCN\": null,\n \"modelIds\": [\"qwen3-coder\"],\n \"marketplace\": false,\n \"autoCompactWindow\": null,\n \"cachingNote\": \"DashScope Anthropic endpoint is Singapore-region only; the Anthropic parser is preserved server-side. Alibaba ships native Qwen Code (already a polycli `qwen` provider via its own CLI), so cc-X is a choice. Open weights are Apache-2.0.\",\n \"dataResidency\": \"Singapore region only for this endpoint.\",\n \"status\": \"verified\",\n \"source\": { \"url\": \"https://www.alibabacloud.com/help/en/model-studio\", \"date\": \"2026-06-19\" }\n },\n {\n \"vendor\": \"DeepSeek\",\n \"nativeCli\": false,\n \"runtime\": \"claude\",\n \"baseUrlIntl\": \"https://api.deepseek.com/anthropic\",\n \"baseUrlCN\": null,\n \"modelIds\": [\"deepseek-v4-pro\", \"deepseek-v4-flash\"],\n \"marketplace\": false,\n \"autoCompactWindow\": 128000,\n \"cachingNote\": \"Auto-maps opus -> deepseek-v4-pro and haiku/sonnet -> deepseek-v4-flash. Automatic prefix caching server-side — the dual-breakpoint mitigation is NOT needed here (DeepSeek is the caching exception).\",\n \"dataResidency\": \"Single api.deepseek.com endpoint.\",\n \"status\": \"verified\",\n \"source\": { \"url\": \"https://api-docs.deepseek.com\", \"date\": \"2026-06-19\" }\n },\n {\n \"vendor\": \"ByteDance Doubao\",\n \"nativeCli\": true,\n \"runtime\": \"claude\",\n \"baseUrlIntl\": null,\n \"baseUrlCN\": \"https://ark.cn-beijing.volces.com/api/coding\",\n \"modelIds\": [\"doubao-seed-code\", \"doubao-seed-2.0-code\"],\n \"marketplace\": false,\n \"autoCompactWindow\": null,\n \"cachingNote\": \"Region-locked to cn-beijing; access requires PRC real-name verification + a mainland phone number. ByteDance also ships native Trae / trae-agent, so cc-X is a choice.\",\n \"dataResidency\": \"Mainland-only access gate (real-name + mainland phone); high sovereignty exposure.\",\n \"status\": \"verified\",\n \"source\": { \"url\": \"https://www.volcengine.com/docs\", \"date\": \"2026-06-19\" }\n },\n {\n \"vendor\": \"StepFun\",\n \"nativeCli\": false,\n \"runtime\": \"claude\",\n \"baseUrlIntl\": \"https://api.stepfun.ai/step_plan\",\n \"baseUrlCN\": null,\n \"modelIds\": [\"step-3.5-flash\", \"step-3.7-flash\"],\n \"marketplace\": false,\n \"autoCompactWindow\": null,\n \"cachingNote\": \"Genuine single-vendor self-routing (step_plan). Reachable via OpenRouter for non-PRC users, in which case use the opencode runtime against the OpenAI-compatible OpenRouter endpoint instead of claude.\",\n \"dataResidency\": \"Direct StepFun endpoint or OpenRouter relay for non-PRC.\",\n \"status\": \"verified\",\n \"source\": { \"url\": \"https://platform.stepfun.com/docs\", \"date\": \"2026-06-19\" }\n },\n {\n \"vendor\": \"Baidu Qianfan\",\n \"nativeCli\": true,\n \"runtime\": \"claude\",\n \"baseUrlIntl\": null,\n \"baseUrlCN\": \"https://qianfan.baidubce.com/anthropic\",\n \"modelIds\": [],\n \"marketplace\": true,\n \"autoCompactWindow\": null,\n \"cachingNote\": \"MARKETPLACE / RESALE: serves Kimi / DeepSeek / GLM / MiniMax plus only ERNIE-4.5-Turbo of Baidu's own line (flagship ERNIE 5.x is UNREACHABLE here). Docs default to deepseek-v3.2. One ANTHROPIC_MODEL string can silently resolve to a different vendor/version; no model-version pinning. Baidu ships native Comate Zulu-CLI as the alternative.\",\n \"dataResidency\": \"Mainland gateway; resold-model identity is not stable.\",\n \"status\": \"marketplace-unstable\",\n \"source\": { \"url\": \"https://cloud.baidu.com/doc/qianfan-docs\", \"date\": \"2026-06-19\" }\n },\n {\n \"vendor\": \"Tencent\",\n \"nativeCli\": true,\n \"runtime\": \"claude\",\n \"baseUrlIntl\": null,\n \"baseUrlCN\": \"https://api.lkeap.cloud.tencent.com/coding/anthropic\",\n \"modelIds\": [],\n \"marketplace\": true,\n \"autoCompactWindow\": null,\n \"cachingNote\": \"MARKETPLACE: serves Hunyuan SKUs plus minimax-m2.5 / kimi-k2.5 / glm-5. One ANTHROPIC_MODEL string can silently resolve to a different vendor/version; no client-side version pinning. Tencent ships native CodeBuddy Code CLI as the alternative.\",\n \"dataResidency\": \"Mainland gateway; resold-model identity is not stable.\",\n \"status\": \"marketplace-unstable\",\n \"source\": { \"url\": \"https://cloud.tencent.com/document/product/1772\", \"date\": \"2026-06-19\" }\n }\n ]\n}\n"}}}}