{"version":3,"file":"zai-coding-cn.models.d.ts","sourceRoot":"","sources":["../../src/providers/zai-coding-cn.models.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8GvB,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const ZAI_CODING_CN_MODELS = {\n\t\"glm-4.5-air\": {\n\t\tid: \"glm-4.5-air\",\n\t\tname: \"GLM-4.5-Air\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"zai-coding-cn\",\n\t\tbaseUrl: \"https://open.bigmodel.cn/api/coding/paas/v4\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false,\"thinkingFormat\":\"zai\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 131072,\n\t\tmaxTokens: 98304,\n\t} satisfies Model<\"openai-completions\">,\n\t\"glm-4.7\": {\n\t\tid: \"glm-4.7\",\n\t\tname: \"GLM-4.7\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"zai-coding-cn\",\n\t\tbaseUrl: \"https://open.bigmodel.cn/api/coding/paas/v4\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false,\"thinkingFormat\":\"zai\",\"zaiToolStream\":true},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 204800,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"glm-5-turbo\": {\n\t\tid: \"glm-5-turbo\",\n\t\tname: \"GLM-5-Turbo\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"zai-coding-cn\",\n\t\tbaseUrl: \"https://open.bigmodel.cn/api/coding/paas/v4\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false,\"thinkingFormat\":\"zai\",\"zaiToolStream\":true},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"glm-5.1\": {\n\t\tid: \"glm-5.1\",\n\t\tname: \"GLM-5.1\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"zai-coding-cn\",\n\t\tbaseUrl: \"https://open.bigmodel.cn/api/coding/paas/v4\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false,\"thinkingFormat\":\"zai\",\"zaiToolStream\":true},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"glm-5.2\": {\n\t\tid: \"glm-5.2\",\n\t\tname: \"GLM-5.2\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"zai-coding-cn\",\n\t\tbaseUrl: \"https://open.bigmodel.cn/api/coding/paas/v4\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":true,\"thinkingFormat\":\"zai\",\"zaiToolStream\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"minimal\":null,\"low\":\"high\",\"medium\":\"high\",\"high\":\"high\",\"max\":\"max\"},\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"glm-5v-turbo\": {\n\t\tid: \"glm-5v-turbo\",\n\t\tname: \"GLM-5V-Turbo\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"zai-coding-cn\",\n\t\tbaseUrl: \"https://open.bigmodel.cn/api/coding/paas/v4\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false,\"thinkingFormat\":\"zai\",\"zaiToolStream\":true},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n} as const;\n"]}