From 4903dfcb6ed78717201711b1ff59627af4e17e64 Mon Sep 17 00:00:00 2001 From: Ara Date: Tue, 16 Dec 2025 09:24:24 -0800 Subject: [PATCH] feat: add GLM-4.6 and KAT-Coder Pro to free models list (#8128) - Add Zhipu AI's GLM-4.6 agentic coding model as a free option - Add KwaiKAT's KAT-Coder Pro model as a free option - Update filter to preserve kat-coder-pro in Cline provider model list --- .../src/components/settings/OpenRouterModelPicker.tsx | 10 ++++++++++ .../src/components/settings/utils/providerUtils.ts | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/webview-ui/src/components/settings/OpenRouterModelPicker.tsx b/webview-ui/src/components/settings/OpenRouterModelPicker.tsx index 66b9a5ec..9b4807b7 100644 --- a/webview-ui/src/components/settings/OpenRouterModelPicker.tsx +++ b/webview-ui/src/components/settings/OpenRouterModelPicker.tsx @@ -80,6 +80,16 @@ export const freeModels = [ description: "Open source model with solid performance", label: "FREE", }, + { + id: "zai/glm-4.6", + description: "Zhipu AI's latest agentic coding model in GLM series", + label: "FREE", + }, + { + id: "kwaipilot/kat-coder-pro:free", + description: "KwaiKAT's most advanced agentic coding model in the KAT-Coder series", + label: "FREE", + }, { id: "mistralai/devstral-2512:free", description: "Mistral's latest model with strong coding abilities", diff --git a/webview-ui/src/components/settings/utils/providerUtils.ts b/webview-ui/src/components/settings/utils/providerUtils.ts index 5a43a14c..f0133ea0 100644 --- a/webview-ui/src/components/settings/utils/providerUtils.ts +++ b/webview-ui/src/components/settings/utils/providerUtils.ts @@ -805,7 +805,11 @@ export function filterOpenRouterModelIds(modelIds: string[], provider: ApiProvid // For Cline provider: exclude :free models, but keep Minimax models return modelIds.filter((id) => { // Keep all Minimax and devstral models regardless of :free suffix - if (id.toLowerCase().includes("minimax-m2") || id.toLowerCase().includes("devstral-2512")) { + if ( + id.toLowerCase().includes("minimax-m2") || + id.toLowerCase().includes("devstral-2512") || + id.toLowerCase().includes("kat-coder-pro") + ) { return true } // Filter out other :free models