← Open Source

Examples and guides for using the GLM APIs.

Jupyter Notebook
Momentum
+0stars in 24 hours0.0%
863
Stars
109
Forks
+-1
This week
7
Contributors
Created 2024-01-22 · Updated 2026-12-03 · #16534 today
Top developers
README

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 🔥

Quick Start 🚀

  1. Install dependencies
pip install -r requirements.txt
  1. 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!

  • basic The most fundamental content to help you get familiar with basic API calls.

  • vision API calls related to vision models and drawing models.

  • vibecoding Examples of using the GLM series models for code development.

  • finetune Fine-tuning GLM models.

  • demo Some fun little projects that might inspire you.

    • agent See how powerful the conference demo agent is!
    • data Data required to run the demos.
  • asset Some 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.

Nearby in the ranking

AI Rank for iPhone

Follow AI model rankings

Download on the App Store