Z.aiglm-5.3
GLM-5.3
A coding-first flagship with a million-token context.
GLM-5.3 is Z.ai's flagship coding model, with stronger agentic coding than GLM-5.2 and a million-token context for working across a whole repository.
- Agentic coding
- Long context
- Balanced cost
Model details
- Context window
- 1M tokens
- Max output
- 128K tokens
- Input
- Text
- Output
- Text
- Capabilities
- Reasoning, Tool calling, Streaming, JSON output
- Interfaces
- OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses
Pricing
Per 1M tokens. The Inferray price is what you are charged — no gateway fee is added on top of it.
| Metric | List price | You pay |
|---|---|---|
| Input | $1.40 | $1.12 |
| Cached input | $0.26 | $0.21 |
| Output | $4.40 | $3.52 |
Why teams pick it
- Coding-first flagship with strong agentic performance
- 1M-token context for whole-repo work
- Reasoning and tool calling included
Call GLM-5.3
GLM-5.3 answers on any of the APIs below — pick the one your code already speaks and just swap in your Inferray key.
/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.inferray.com/v1/chat/completions \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3",
"messages": [{"role": "user", "content": "ship it"}]
}'/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.inferray.com/v1/messages \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "ship it"}]
}'/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.inferray.com/v1/responses \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3",
"input": "ship it"
}'