@@ -157,6 +157,8 @@ class ModelName(str, Enum):
157157 qwen_long_l1_32b = "qwen_long_l1_32b"
158158 kimi_k2 = "kimi_k2"
159159 kimi_dev_72b = "kimi_dev_72b"
160+ glm_4_5 = "glm_4_5"
161+ glm_4_5_air = "glm_4_5_air"
160162 glm_4_1v_9b_thinking = "glm_4_1v_9b_thinking"
161163 glm_z1_32b_0414 = "glm_z1_32b_0414"
162164 glm_z1_9b_0414 = "glm_z1_9b_0414"
@@ -2914,6 +2916,53 @@ class KilnModel(BaseModel):
29142916 ),
29152917 ],
29162918 ),
2919+ # GLM 4.5
2920+ KilnModel (
2921+ family = ModelFamily .glm ,
2922+ name = ModelName .glm_4_5 ,
2923+ friendly_name = "GLM 4.5" ,
2924+ providers = [
2925+ KilnModelProvider (
2926+ name = ModelProviderName .openrouter ,
2927+ model_id = "z-ai/glm-4.5" ,
2928+ structured_output_mode = StructuredOutputMode .json_instructions ,
2929+ reasoning_capable = True ,
2930+ ),
2931+ KilnModelProvider (
2932+ name = ModelProviderName .fireworks_ai ,
2933+ model_id = "accounts/fireworks/models/glm-4p5" ,
2934+ structured_output_mode = StructuredOutputMode .json_instructions ,
2935+ reasoning_capable = True ,
2936+ ),
2937+ ],
2938+ ),
2939+ # GLM 4.5 AIR
2940+ KilnModel (
2941+ family = ModelFamily .glm ,
2942+ name = ModelName .glm_4_5_air ,
2943+ friendly_name = "GLM 4.5 AIR" ,
2944+ providers = [
2945+ KilnModelProvider (
2946+ name = ModelProviderName .openrouter ,
2947+ model_id = "z-ai/glm-4.5-air" ,
2948+ structured_output_mode = StructuredOutputMode .json_instructions ,
2949+ reasoning_capable = True ,
2950+ ),
2951+ KilnModelProvider (
2952+ name = ModelProviderName .fireworks_ai ,
2953+ model_id = "accounts/fireworks/models/glm-4p5-air" ,
2954+ structured_output_mode = StructuredOutputMode .json_instructions ,
2955+ reasoning_capable = True ,
2956+ ),
2957+ KilnModelProvider (
2958+ name = ModelProviderName .together_ai ,
2959+ model_id = "zai-org/GLM-4.5-Air-FP8" ,
2960+ structured_output_mode = StructuredOutputMode .json_instructions ,
2961+ reasoning_capable = True ,
2962+ parser = ModelParserID .r1_thinking ,
2963+ ),
2964+ ],
2965+ ),
29172966 # Kimi K2 Instruct
29182967 KilnModel (
29192968 family = ModelFamily .kimi ,
0 commit comments