From 5513af5b6cb3e97b34eae6bd46a55512c677ed03 Mon Sep 17 00:00:00 2001 From: zhongruan0522 Date: Wed, 8 Apr 2026 02:34:12 +0000 Subject: [PATCH] add GLM-5.1 to zhipuai and zai providers --- providers/zai/models/glm-5.1.toml | 27 +++++++++++++++++++++++++++ providers/zhipuai/models/glm-5.1.toml | 27 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 providers/zai/models/glm-5.1.toml create mode 100644 providers/zhipuai/models/glm-5.1.toml diff --git a/providers/zai/models/glm-5.1.toml b/providers/zai/models/glm-5.1.toml new file mode 100644 index 000000000..17303943d --- /dev/null +++ b/providers/zai/models/glm-5.1.toml @@ -0,0 +1,27 @@ +name = "GLM-5.1" +family = "glm" +release_date = "2026-03-27" +last_updated = "2026-03-27" +attachment = false +reasoning = true +temperature = true +tool_call = true +structured_output = true +open_weights = false + +[interleaved] +field = "reasoning_content" + +[cost] +input = 1.4 +output = 4.4 +cache_read = 0.26 +cache_write = 0 + +[limit] +context = 200000 +output = 131072 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/zhipuai/models/glm-5.1.toml b/providers/zhipuai/models/glm-5.1.toml new file mode 100644 index 000000000..6f933fd29 --- /dev/null +++ b/providers/zhipuai/models/glm-5.1.toml @@ -0,0 +1,27 @@ +name = "GLM-5.1" +family = "glm" +release_date = "2026-03-27" +last_updated = "2026-03-27" +attachment = false +reasoning = true +temperature = true +tool_call = true +structured_output = true +open_weights = false + +[interleaved] +field = "reasoning_content" + +[cost] +input = 6 +output = 24 +cache_read = 1.3 +cache_write = 0 + +[limit] +context = 200000 +output = 131072 + +[modalities] +input = ["text"] +output = ["text"]