Zhipu AI logo
Zhipu AI

GLM-5.3

Zhipu AI's flagship GLM-5 series model for complex reasoning, coding, and agentic workflows, with text input and text output

Category Text Model ID glm-5.3
Model TypeLarge Language Model (LLM)
MultimodalText input, text output
API AvailabilitySupports the Chat Completions API

Pricing & Specs

💰 Pricing

Input$8 / M tokens
Output$28 / M tokens
Cache Hit$2 / M tokens

⚙️ Specs

Model TypeLarge Language Model (LLM)
MultimodalText input, text output
API AvailabilitySupports the Chat Completions API
Caching SupportSupports cached-input pricing
ProviderZhipu AI

API Examples

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    api_key="your-api-key",
    base_url="https://api.yairouter.com/v1"
)

response = client.chat.completions.create(
    model="glm-5.3",
    messages=[
        {"role": "user", "content": "Summarize this requirement and break it into development tasks"}
    ]
)

print(response.choices[0].message.content)

cURL (OpenAI API)

curl https://api.yairouter.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "glm-5.3",
    "messages": [
      {"role": "user", "content": "Summarize this requirement and break it into development tasks"}
    ]
  }'