MetaGLM/glm-cookbook
关于
使用 GLM API 的示例和指南
学习与教育实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
GLM-CookBook
Welcome to the GLM API Beginner’s Repository 📘. This is an open-source tutorial book of introductory code for the GLM API.
Updates 🔥
- 🔥 GLM-4.5 is now integrated with Claude Code, see GLM-4.5 Claude Code Integration Guide.
Quick Start 🚀
- Install dependencies
pip install -r requirements.txt
- Configure your Z.AI account, or your openrouter account.
Repository Structure 📂
We have categorized multiple folders, each containing their own content. You can check them out according to your needs!
basicThe most fundamental content to help you get familiar with basic API calls.visionAPI calls related to vision models and drawing models.vibecodingExamples of using the GLM series models for code development.finetuneFine-tuning GLM models.demoSome fun little projects that might inspire you.agentSee how powerful the conference demo agent is!dataData required to run the demos.
assetSome related image materials.
You can quickly understand the structure of this repository through the image below. I will update the latest experiments and teaching content of the Zhipu AI SDK as soon as possible.

SDK Open Source 🔧
The Z.AI SDK is now open source. If you want to directly modify our SDK, you can do so at the following repositories:
If you want to contribute SDKs for other languages to the official repository, feel free to submit a PR.
探索相关项目
加载中…