id: zai-coding-plan
npm: @ai-sdk/openai-compatible
env: ZHIPU_API_KEY
api: https://api.z.ai/api/coding/paas/v4
Models
GLM-4.7
glm-4.7in $0.00/M
out $0.00/M
cache read $0.00/M
cache write $0.00/M
ctx: 204,800
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-5-Turbo
glm-5-turboin $0.00/M
out $0.00/M
cache read $0.00/M
cache write $0.00/M
ctx: 200,000
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-5.2
glm-5.2in $0.00/M
out $0.00/M
cache read $0.00/M
cache write $0.00/M
ctx: 1,000,000
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-5.2 Highspeed
glm-5.2-highspeedin $0.00/M
out $0.00/M
cache read $0.00/M
cache write $0.00/M
ctx: 1,000,000
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-5.3
glm-5.3in $0.00/M
out $0.00/M
cache read $0.00/M
cache write $0.00/M
ctx: 1,000,000
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights