API Free WeekHundreds of APIs are free to call this week.Browse free APIs

Z.ai: GLM 5.3 Prime

z-ai/glm-5.3-prime

GLM-5.3-Prime is Z.ai's top-tier GLM-5.3 model for complex software engineering and long-horizon agent orchestration, with a 1M-token context window, function calling, and structured outputs.

Input price
$2.80USD / 1M tokens
Output price
$8.80USD / 1M tokens
Context window
N/A
Max output
131.1K

Try the model

Playground

Open playground
Input⌘ / Ctrl + Enter

Try a prompt

1M context131.1K max output
Input$2.80/MOutput$8.80/MCache read$0.56/M
OutputReady

Your response will appear here

Choose an example or write a prompt, then click Run.

Specifications

Pricing

Input
$2.80 / 1M tokens
Output
$8.80 / 1M tokens
Billing formula
usage.prompt_tokens * 2.8 / 1000000 + usage.completion_tokens * 8.8 / 1000000

Context & modalities

Max output
131,072 tokens
Input
Text
Output
Text

Capabilities

Chat
Supported
Vision
Not supported
Reasoning
Supported
Structured output
Supported
Function calling
Supported
Audio input
Not supported

Access

Provider
Z-Ai
Model ID
z-ai/glm-5.3-prime
Execution
sync
API
Chat Completions API
Endpoint
/v1/chat/completions

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Chat Completions API endpoint
https://api.sandbase.ai/v1/chat/completions
Model ID
z-ai/glm-5.3-prime
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/chat/completions" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "z-ai/glm-5.3-prime",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 2048
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Choose your model

Compare models

All language models
ModelContextInput / 1MOutput / 1MReleased
Z-Ai—$2.80$8.80Sep 23, 2026
Z-Ai1M——Sep 18, 2026
Z-Ai1M——Aug 26, 2026
Z-Ai1M——Aug 18, 2026
Z-Ai1M——Jun 16, 2026
Z-Ai128K——Jul 25, 2025