Setup
You’ll need to sign up for an Zhipu API key and set it as an environment variable namedZHIPUAI_API_KEY
https://open.bigmodel.cn
You’ll also need to install the following dependencies:
npm
Usage
Here’s an example:Related
- Chat model conceptual guide
- Chat model how-to guides
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.