From 46076b2d6be58ef4d1e82d2ec2fdc14818c736a1 Mon Sep 17 00:00:00 2001 From: MumuTW <42820974+MumuTW@users.noreply.github.com> Date: Sat, 29 Aug 2026 18:19:15 -0700 Subject: [PATCH] feat(providers): curated model list for alibaba-token-plan picker Token Plan (Personal Edition) model catalog for hermes model / provider pickers, verified against a live Token Plan subscription (2026-08-03). Provider profiles landed separately in #73345; this carries the picker-list half of #77848. Co-salvaged-from: PR #77848 --- hermes_cli/models.py | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/hermes_cli/models.py b/hermes_cli/models.py index 9fe6ac3cd9..94bf5b0906 100644 --- a/hermes_cli/models.py +++ b/hermes_cli/models.py @@ -667,6 +667,25 @@ _PROVIDER_MODELS: dict[str, list[str]] = { "glm-4.7", "MiniMax-M2.5", ], + # Alibaba Token Plan (Personal Edition) — dedicated token-plan endpoint + # (token-plan.ap-southeast-1.maas.aliyuncs.com), key tier `sk-sp-...`. + # Catalog verified against a live Token Plan subscription (2026-08-03). + "alibaba-token-plan": [ + "qwen3.8-max-preview", + "qwen3.7-max", + "qwen3.7-plus", + "qwen3.6-plus", + "qwen3.6-flash", + "deepseek-v4-pro", + "deepseek-v4-flash", + "deepseek-v3.2", + "kimi-k2.7-code", + "kimi-k2.6", + "kimi-k2.5", + "glm-5.2", + "glm-5.1", + "glm-5", + ], # Curated HF model list — only agentic models that map to OpenRouter defaults. "huggingface": [ "moonshotai/Kimi-K2.5", @@ -1322,7 +1341,7 @@ PROVIDER_GROUPS: dict[str, tuple[str, str, list[str]]] = { "xai": ("xAI Grok", "Direct API or SuperGrok / Premium+ OAuth", ["xai", "xai-oauth"]), "google": ("Google Gemini", "Google AI Studio (API key)", ["gemini"]), "openai": ("OpenAI", "ChatGPT/Codex subscription or direct OpenAI API", ["openai-codex", "openai-api"]), - "qwen": ("Qwen", "Qwen Cloud / DashScope, Coding Plan & Qwen CLI OAuth", ["alibaba", "alibaba-coding-plan", "qwen-oauth"]), + "qwen": ("Qwen", "Qwen Cloud / DashScope, Coding Plan, Token Plan & Qwen CLI OAuth", ["alibaba", "alibaba-coding-plan", "alibaba-token-plan", "qwen-oauth"]), "opencode": ("OpenCode", "Zen pay-as-you-go, Go subscription, or free tier", ["opencode-zen", "opencode-go", "opencode-free"]), "copilot": ("GitHub Copilot", "GitHub token API or copilot --acp process", ["copilot", "copilot-acp"]), "tencent": ("Tencent Hy", "Hy4 / Hy3 via TokenHub & TokenPlan", ["tencent-tokenhub", "tencent-tokenplan"]),