Skip to main content
Models

GLM-5.3

Model Overview

Direct supply
ChatStreamingToolsThinkingCache

GLM-5.3:智谱旗舰文本模型,1M 上下文、128K 最大输出,复杂软件工程、终端操作与 Agent 任务能力显著增强,始终开启深度思考。

Input Modalities

Text

Output Modalities

Text

Recommended for

Ideal for intelligent dialogue scenarios requiring chat, streaming, tools, deep thinking, and cache optimization.

Capabilities

Chat

Multi-turn conversational completions

Streaming

Tokens are delivered incrementally as they are generated

Tool Use

Can call functions/tools defined in the request

Thinking

Produces an extended internal reasoning trace before the final answer

Prompt Caching

Reuses previously processed prompt prefixes at a lower rate

Supported Modes

Chat

Model Pricing

14% off
Pay-as-you-go

Full Pricing Breakdown

Every billed dimension for GLM-5.3

Token Pricing

Cache Read$0.26per 1M tokens
Input$1.02per 1M tokens
Output$3.54per 1M tokens
Thinking$3.54per 1M tokens

Indicative pricing — final cost is confirmed at request time.

Context & Limits

Context Window
1,000,000 tokens
Max Output
131,072 tokens

API Code Example

OpenAI Compatible
import openai
 
client = openai.OpenAI(
base_url="https://api.modelsite.ai/v1",
api_key="sk-ms-...",
)
 
response = client.chat.completions.create(
model="glm-5.3",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)