This guide will help you quickly get started with the Z.AI Open Platform. From registering an account to making your first API call, it only takes a few minutes to complete.
Getting Started
1
Get API Key
- Access Z.AI Open Platform, Register or Login.
- Access Billing Page to top up if needed.
- Create an API Key in the API Keys management page.
- Copy your API Key for use.
2
Choose Model
The platform offers multiple models, and you can select the appropriate model based on your needs. For detailed model introductions, please refer to the Models & Agents.
GLM-4.5
Our latest flagship models, purpose-built as foundational models for agent-oriented applications
GLM-4.5V
New generation of visual reasoning models based on the MOE architecture,achieving SOTA among open-source VLMs
GLM-4-32b-0414-128K
Highly cost-effective foundation language model
CogVideoX-3
New frame generation capabilities that significantly improve image stability and clarity
3
Choose the Calling Method
Our platform provides various development approaches; you can select the best fit for your project needs and tech stack.
HTTP API
Standard RESTful API, compatible with all programming languages.
Z.AI Python SDK
Official Python SDK, featuring full type hints and async support.
Z.AI Java SDK
Official Java SDK, designed for high concurrency and availability.
OpenAI Python SDK
OpenAI SDK Compatibility, quickly migrating from OpenAI.
API Reference
Complete API documentation with parameter descriptions.
4
Make API Call
After preparing your
API Key
and selecting a model, you can start making API calls. Here are examples using curl
, Python SDK
, and Java SDK
: