All models

ChatGLM

glm-5.3

GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. It supports text input and output with a 1M-token context window, and improves...

textAPI availablestreamingreasoningfunction tools
glm-5.3

Tokely price / 1M tokens

$3.85input
$0.7161cached input
$12.100001output

USD · Published rate · Updated 2026-10-06

OpenRouter reference$0.07 input · $7 output / 1M tokensStandard listed rates · 2026-10-06

Context window

1,048,576tokens · model specification

Model max output

943,718tokens

First request

Available
curl https://tokely.me/v1/chat/completions \
  -H "Authorization: Bearer $TOKELY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.3",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 256
  }'

Set TOKELY_API_KEY to your dashboard key. Requests require a funded Tokely balance. Base URL: https://tokely.me/v1.

Compare nearby prices

USD per million tokens. Compare price and context; these are not quality benchmarks.
ModelInputOutputContext
glm-5.3ChatGLM · this model$3.85$12.1000011,048,576
glm-5.2ChatGLM$3.85$12.1000011,048,576
SparkDesk-v1.1Spark$8.0905$8.0905Unconfirmed
claude-haiku-4-5-20251001Anthropic$2.75$13.75200,000
qwen3.7-plusQwen$3.3$13.21,000,000

Capabilities & limits

Provider
ChatGLM
API model ID
glm-5.3
Category
Text
Endpoints
POST /v1/chat/completions
Tokely max output
65,536 tokens / request, including reasoning tokens
Default output
256 tokens. Set an explicit limit for longer responses.
Request limits
256 KB JSON body · 128 messages · 32 function tools
Rate limit
60 requests / minute / account, across its keys
Supported input
Text messages and function tool results
Model modalities
text. Tokely currently accepts text input.

The context includes your instructions, conversation history, tool definitions and generated output. Keep the input and requested output within the model’s context window.

OpenRouter model reference

API reference

Authenticate with Authorization: Bearer YOUR_TOKELY_API_KEY. Use an OpenAI SDK with the Tokely base URL.

model
Required string: glm-5.3
messages
An array of system, developer, user, assistant and tool messages.
max_tokens
Optional integer, 1–65,536. Defaults to 256.
stream
Set true for Server-Sent Events (SSE).
reasoning_effort
Optional reasoning effort. Supported values depend on the model; omit to use its default.
tools
Function definitions executed by your application. Provider-hosted tools are not enabled.

The response contains choices with message or tool_calls, finish_reason, and usage (prompt_tokens, completion_tokens, total_tokens). Streaming sends chat completion chunks.

400 / 415
Invalid request, parameter, endpoint for this model, or content type.
401 / 403
Invalid, revoked or restricted API key.
402
Insufficient account balance or API key budget.
429
Request limit reached. Retry after the indicated delay.
502 / 503 / 504
Upstream failure, temporary service unavailability or request timeout.

Frequently asked questions

How much does glm-5.3 cost?

$3.85 per million input tokens, $12.100001 per million output tokens and $0.7161 per million cached input tokens. Usage is charged to your Tokely balance.

Do I need a separate ChatGLM account?

Use your Tokely API key and balance. A separate provider key is not required.

How do I switch to this model?

Set model to glm-5.3 and use /v1/chat/completions. Keep your Tokely base URL and API key.

What is the context window?

1,048,576 tokens, including input and output. The Tokely request body and output limits listed above also apply.

Related versions