GLM 5.3

Available
z-ai/glm-5.3

Z.ai's flagship GLM 5.3 reasoning model for complex software engineering and long-running agent tasks, with a 1M-token context window.

  • Chat
  • 1.05M context
  • 131K max output
  • Tools

Pricing

Input
$0.70 / 1M tokens
Output
$2.20 / 1M tokens
Cached input
$0.13 / 1M tokens

What it costs

A typical request: 2,000 tokens in, 500 out$0.0025
1,000 of those requests$2.50

Performance on SparrowCodes

Measured from real requests over the last 7 days.

Throughput
122 tok/s
First token
2.65 s
Latency
3.03 s
Success rate
100.0%

Medians across 3 requests.

Official benchmarks

Scores published by the model's maker, under their test conditions.

The maker hasn't published benchmark scores we could verify for this model.

Specifications

Type
Chat
Served by
SparrowCodes
Context window
1,048,576 tokens
Maximum output
131,072 tokens
Input types
Text
Tool calling
Supported

Use it

curl https://api.sparrowcodes.com/v1/chat/completions \
  -H "Authorization: Bearer $SPARROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-5.3",
    "messages": [{"role": "user", "content": "Explain rate limiting in one paragraph."}]
  }'

Set "model" to z-ai/glm-5.3. The response includes its exact cost.

GLM 5.3 API: pricing, context and benchmarks · SparrowCodes