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
This commit is contained in:
Ara authored and GitHub committed 2025-12-16 09:24:24 -08:00
1 parent 37b2f7fbc9
commit 4903dfcb6e
2 files changed
+15 -1

No files matched your search

@@ -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",
@@ -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