Skip to content

Commit 272047c

Browse files
chore(provider): add GLM-5 and GLM-4.7 flash models (#2388)
1 parent 59c98d2 commit 272047c

1 file changed

Lines changed: 60 additions & 0 deletions

File tree

crates/forge_repo/src/provider/provider.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,16 @@
646646
"response_type": "OpenAI",
647647
"url": "https://api.z.ai/api/paas/v4/chat/completions",
648648
"models": [
649+
{
650+
"id": "glm-5",
651+
"name": "GLM-5",
652+
"description": "Latest flagship model series, foundational models specifically designed for agent applications with 200K context window and 128K maximum output",
653+
"context_length": 200000,
654+
"tools_supported": true,
655+
"supports_parallel_tool_calls": true,
656+
"supports_reasoning": true,
657+
"input_modalities": ["text"]
658+
},
649659
{
650660
"id": "glm-4.7",
651661
"name": "GLM-4.7",
@@ -656,6 +666,26 @@
656666
"supports_reasoning": true,
657667
"input_modalities": ["text"]
658668
},
669+
{
670+
"id": "glm-4.7-flash",
671+
"name": "GLM-4.7 Flash",
672+
"description": "Latest 4.7 model series, foundational models specifically designed for agent applications with 200K context window and 128K maximum output",
673+
"context_length": 200000,
674+
"tools_supported": true,
675+
"supports_parallel_tool_calls": true,
676+
"supports_reasoning": true,
677+
"input_modalities": ["text"]
678+
},
679+
{
680+
"id": "glm-4.7-flashx",
681+
"name": "GLM-4.7 Flash X",
682+
"description": "Latest 4.7 model series, foundational models specifically designed for agent applications with 200K context window and 128K maximum output",
683+
"context_length": 200000,
684+
"tools_supported": true,
685+
"supports_parallel_tool_calls": true,
686+
"supports_reasoning": true,
687+
"input_modalities": ["text"]
688+
},
659689
{
660690
"id": "glm-4.6",
661691
"name": "GLM-4.6",
@@ -736,6 +766,16 @@
736766
"response_type": "OpenAI",
737767
"url": "https://api.z.ai/api/coding/paas/v4/chat/completions",
738768
"models": [
769+
{
770+
"id": "glm-5",
771+
"name": "GLM-5",
772+
"description": "Latest flagship model series, foundational models specifically designed for agent applications with 200K context window and 128K maximum output",
773+
"context_length": 200000,
774+
"tools_supported": true,
775+
"supports_parallel_tool_calls": true,
776+
"supports_reasoning": true,
777+
"input_modalities": ["text"]
778+
},
739779
{
740780
"id": "glm-4.7",
741781
"name": "GLM-4.7",
@@ -746,6 +786,26 @@
746786
"supports_reasoning": true,
747787
"input_modalities": ["text"]
748788
},
789+
{
790+
"id": "glm-4.7-flash",
791+
"name": "GLM-4.7 Flash",
792+
"description": "Latest 4.7 model series, foundational models specifically designed for agent applications with 200K context window and 128K maximum output",
793+
"context_length": 200000,
794+
"tools_supported": true,
795+
"supports_parallel_tool_calls": true,
796+
"supports_reasoning": true,
797+
"input_modalities": ["text"]
798+
},
799+
{
800+
"id": "glm-4.7-flashx",
801+
"name": "GLM-4.7 Flash X",
802+
"description": "Latest 4.7 model series, foundational models specifically designed for agent applications with 200K context window and 128K maximum output",
803+
"context_length": 200000,
804+
"tools_supported": true,
805+
"supports_parallel_tool_calls": true,
806+
"supports_reasoning": true,
807+
"input_modalities": ["text"]
808+
},
749809
{
750810
"id": "glm-4.6",
751811
"name": "GLM-4.6",

0 commit comments

Comments
 (0)