Back to models
GLM-Z1-32B-0414
Developed by Zhipu AI, GLM-Z1-32B-0414 is a 32B open-weight reasoning model trained with cold-start and extended reinforcement learning on GLM-4-32B-0414 for complex mathematics, logic, and algorithmic coding.
What you can do
- Competition-level mathematical proof derivation
- Complex algorithm design and edge-case analysis
- Multi-step system architecture reasoning
Input & output
- Input
- Mathematical proofs, algorithmic coding challenges, logic puzzles, and engineering specs
- Output
- Explicit `<think>` reasoning traces followed by verified mathematical or code solutions
Try a prompt like this
证明:对于任意正整数 n,方程 x^2 + y^2 + 1 = nxy 若存在正整数解 (x, y),则必有 n = 3,并给出所有正整数解的递推构造。
Things to know
MIT license; requires ~68–72 GB VRAM in BF16 (INT4 quantization runs on 24 GB GPUs); always emits `<think>` tokens first, increasing latency and max output token budgets.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/chat/completions- Model repo ID
ZhipuAI/GLM-Z1-32B-0414
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="ZhipuAI/GLM-Z1-32B-0414",
messages=[{"role": "user", "content": "证明:对于任意正整数 n,方程 x^2 + y^2 + 1 = nxy 若存在正整数解 (x, y),则必有 n = 3,并给出所有正整数解的递推构造。"}],
)
print(response.choices[0].message.content)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide