Skip to main content
ZAI (Zhipu AI) provides the GLM model family, known for strong bilingual Chinese/English capability.

Setup

export ZAI_API_KEY=...

Config

{
  "providers": {
    "zai": "${ZAI_API_KEY}"
  }
}

Use it

{
  "agents": [
    { "name": "coder", "model": "zai:glm-4-plus" }
  ]
}
Polpo auto-infers zai from the glm- prefix.

Models

ModelBest for
glm-4-plusFlagship — strong general and bilingual tasks
glm-4-flashFast and cheap

Provider Details

Provider IDzai
Env variableZAI_API_KEY
API typeZAI API
Auto-infer prefixglm-