Zhipu AI (智谱)
Chinese-leading AI provider with GLM series models.
Overview
Zhipu AI (智谱AI) is one of China's leading AI companies, specializing in large language models and multimodal AI technologies. As a spin-off from Tsinghua University, Zhipu AI developed the GLM (General Language Model) series.
Official Website: https://open.bigmodel.cn API Documentation: https://open.bigmodel.cn/dev/api
Key Features
- Chinese Optimization — Specifically optimized for Chinese language
- Bilingual Support — Strong Chinese-English capabilities
- Multimodal — Vision, image generation, video generation
- Long Context — Large context windows for document analysis
- Thinking Mode — Extended reasoning for complex problems
Usage Example
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.yuhuanstudio.com/v1"
)
response = client.chat.completions.create(
model="model-id",
messages=[
{"role": "user", "content": "你好,请介绍一下智谱AI"}
]
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
apiKey: "YOUR_API_KEY",
baseURL: "https://api.yuhuanstudio.com/v1",
});
const response = await client.chat.completions.create({
model: "model-id",
messages: [{ role: "user", content: "你好,请介绍一下智谱AI" }],
});
console.log(response.choices[0].message.content);curl https://api.yuhuanstudio.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "model-id",
"messages": [{"role": "user", "content": "你好,请介绍一下智谱AI"}]
}'Available Models
Use the Models API to query available models:
curl https://api.yuhuanstudio.com/v1/models?provider=zhipu \
-H "Authorization: Bearer YOUR_API_KEY"Models and pricing are synced automatically from Zhipu AI. Check the dashboard for current availability and rates.
Official Resources
How is this guide?