From 7d9c538248f93089ae6483af4ea1d01e555e2e20 Mon Sep 17 00:00:00 2001 From: Tam Nhu Tran Date: Thu, 12 Feb 2026 01:52:32 +0700 Subject: [PATCH] fix(glm): fix missed help text reference and glm-4.5-air pricing - Update delegation help text from "GLM-4.6" to "GLM-5" - Fix glm-4.5-air pricing to OpenRouter verified rates: input $0.20 -> $0.13, output $1.10 -> $0.85, cache $0.03 -> $0.025 --- src/commands/help-command.ts | 2 +- src/web-server/model-pricing.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/help-command.ts b/src/commands/help-command.ts index 311d572c..50fc685b 100644 --- a/src/commands/help-command.ts +++ b/src/commands/help-command.ts @@ -227,7 +227,7 @@ Run ${color('ccs config', 'command')} for web dashboard`.trim(); // Delegation printSubSection('Delegation (inside Claude Code CLI)', [ ['/ccs "task"', 'Delegate task (auto-selects profile)'], - ['/ccs --glm "task"', 'Force GLM-4.6 for simple tasks'], + ['/ccs --glm "task"', 'Force GLM-5 for simple tasks'], ['/ccs --kimi "task"', 'Force Kimi for long context'], ['/ccs:continue "follow-up"', 'Continue last delegation session'], ]); diff --git a/src/web-server/model-pricing.ts b/src/web-server/model-pricing.ts index d1265165..3af43b91 100644 --- a/src/web-server/model-pricing.ts +++ b/src/web-server/model-pricing.ts @@ -443,10 +443,10 @@ const PRICING_REGISTRY: Record = { cacheReadPerMillion: 0.175, }, 'glm-4.5-air': { - inputPerMillion: 0.2, - outputPerMillion: 1.1, + inputPerMillion: 0.13, + outputPerMillion: 0.85, cacheCreationPerMillion: 0.0, - cacheReadPerMillion: 0.03, + cacheReadPerMillion: 0.025, }, // ---------------------------------------------------------------------------