@@ -344,7 +344,8 @@ class ModelType(UnifiedModelType, Enum):
344344 MOONSHOT_V1_8K = "moonshot-v1-8k"
345345 MOONSHOT_V1_32K = "moonshot-v1-32k"
346346 MOONSHOT_V1_128K = "moonshot-v1-128k"
347- MOONSHOT_KIMI_K2 = "kimi-k2-0711-preview"
347+ MOONSHOT_KIMI_K2 = "kimi-k2-0905-Preview"
348+ MOONSHOT_KIMI_K2_5 = "kimi-k2.5"
348349
349350 # SiliconFlow models support tool calling
350351 SILICONFLOW_DEEPSEEK_V2_5 = "deepseek-ai/DeepSeek-V2.5"
@@ -1043,6 +1044,7 @@ def is_moonshot(self) -> bool:
10431044 ModelType .MOONSHOT_V1_32K ,
10441045 ModelType .MOONSHOT_V1_128K ,
10451046 ModelType .MOONSHOT_KIMI_K2 ,
1047+ ModelType .MOONSHOT_KIMI_K2_5 ,
10461048 }
10471049
10481050 @property
@@ -1470,7 +1472,6 @@ def token_limit(self) -> int:
14701472 ModelType .MAGISTRAL_MEDIUM_1_2 ,
14711473 ModelType .ERNIE_4_5_TURBO_128K ,
14721474 ModelType .DEEPSEEK_V3 ,
1473- ModelType .MOONSHOT_KIMI_K2 ,
14741475 ModelType .NEBIUS_GLM_4_5 ,
14751476 ModelType .NEBIUS_DEEPSEEK_V3 ,
14761477 ModelType .NEBIUS_DEEPSEEK_R1 ,
@@ -1592,6 +1593,8 @@ def token_limit(self) -> int:
15921593 ModelType .MISTRAL_CODESTRAL_MAMBA ,
15931594 ModelType .OPENROUTER_LLAMA_4_MAVERICK_FREE ,
15941595 ModelType .OPENROUTER_HORIZON_ALPHA ,
1596+ ModelType .MOONSHOT_KIMI_K2 ,
1597+ ModelType .MOONSHOT_KIMI_K2_5 ,
15951598 }:
15961599 return 256_000
15971600
0 commit comments