chore(zhipu): sync new models glm-5.1 and glm-5-turbo

sirius422 created

💘 Generated with Crush

Assisted-by: GLM-5 via Crush <crush@charm.land>

Change summary

internal/providers/configs/zhipu-coding.json | 22 ++++++++++++++++++++++
internal/providers/configs/zhipu.json        | 11 +++++++++++
2 files changed, 33 insertions(+)

Detailed changes

internal/providers/configs/zhipu-coding.json 🔗

@@ -7,6 +7,28 @@
   "default_large_model_id": "glm-4.7",
   "default_small_model_id": "glm-4.7-flash",
   "models": [
+    {
+      "id": "glm-5.1",
+      "name": "GLM-5.1",
+      "cost_per_1m_in": 1.4,
+      "cost_per_1m_out": 4.4,
+      "cost_per_1m_in_cached": 0.26,
+      "context_window": 204800,
+      "default_max_tokens": 65536,
+      "can_reason": true,
+      "supports_attachments": false
+    },
+    {
+      "id": "glm-5-turbo",
+      "name": "GLM-5-Turbo",
+      "cost_per_1m_in": 1.2,
+      "cost_per_1m_out": 4.0,
+      "cost_per_1m_in_cached": 0.24,
+      "context_window": 200000,
+      "default_max_tokens": 128000,
+      "can_reason": true,
+      "supports_attachments": false
+    },
     {
       "id": "glm-5",
       "name": "GLM-5",

internal/providers/configs/zhipu.json 🔗

@@ -18,6 +18,17 @@
       "can_reason": true,
       "supports_attachments": false
     },
+    {
+      "id": "glm-5-turbo",
+      "name": "GLM-5-Turbo",
+      "cost_per_1m_in": 1.2,
+      "cost_per_1m_out": 4.0,
+      "cost_per_1m_in_cached": 0.24,
+      "context_window": 200000,
+      "default_max_tokens": 128000,
+      "can_reason": true,
+      "supports_attachments": false
+    },
     {
       "id": "glm-5",
       "name": "GLM-5",