id: zhipuai-coding-plan
npm: @ai-sdk/openai-compatible
env: ZHIPU_API_KEY
api: https://open.bigmodel.cn/api/coding/paas/v4
Models
GLM-4.5-Air
glm-4.5-airin $0.00/M
out $0.00/M
cache read $0.00/M
cache write $0.00/M
ctx: 131,072
max out: 98,304
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-4.6V
glm-4.6vin $0.30/M
out $0.90/M
ctx: 128,000
max out: 32,768
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
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.1
glm-5.1in $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-5V-Turbo
glm-5v-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, image, video, pdf
out: text
reasoning
tools
vision
structured
temp
open weights