GLM-5.3 API
GLM-5.3 from Z.ai, served on Jarvislabs GPUs behind an OpenAI-compatible API. Call it with the OpenAI SDK and pay only for the tokens you use.
Specifications
GLM-5.3 specifications
| Model ID | glm-5.3 |
|---|---|
| Developer | Z.ai |
| Family | GLM |
| Hugging Face | zai-org/GLM-5.3 |
| Precision | FP8 |
| Context window | 230,000 tokens (230K) |
| Input | Text |
| Output | Text |
| Reasoning | Supported |
|---|---|
| Reasoning effort | low, high, max; default max |
| Tool calling | Supported |
| JSON Schema output | Supported |
| Image input | Not supported |
| Streaming | Supported |
| Input | $0.70 |
|---|---|
| Cached input | $0.13 |
| Output | $2.20 |
| Base URL | https://models.jarvislabs.net/v1 |
|---|---|
| Endpoint | POST /chat/completions |
| Compatibility | OpenAI Chat Completions |
| Responses API | Not supported |
| Authentication | Jarvislabs API key, as a Bearer token |
Pricing
GLM-5.3 pricing
| 10,000 requests, each 2,000 input and 500 output tokens | $25.00 |
|---|---|
| The same, with 1,500 of each prompt’s input tokens cached | $16.45 |
- Usage bills per token from your Jarvislabs credit balance, the same balance your GPU instances use.
- Cached input applies automatically when a prompt starts with tokens the model has already processed. There is no cache-write fee.
- Reasoning tokens bill as output.
- Rates are per million tokens, in dollars or rupees. Signed-in customers are billed in their account currency.
API
GLM-5.3 API usage
Point the OpenAI SDK at https://models.jarvislabs.net/v1 with a Jarvislabs API key and set the model to glm-5.3.
| Feature | Parameter | Values |
|---|---|---|
| Streaming | stream | true; add stream_options: {"include_usage": true} for token usage in the last chunk |
| Reasoning effort | chat_template_kwargs.reasoning_effort | low, high, max; default max |
| Tool calling | tools | OpenAI function definitions |
| JSON output | response_format | {"type": "json_schema", "json_schema": {...}} |
With the OpenAI Python SDK, pass chat_template_kwargs inside extra_body.
$ pip install openai
import os
from openai import OpenAI
client = OpenAI(
base_url="https://models.jarvislabs.net/v1",
api_key=os.environ["JARVISLABS_API_KEY"],
)
response = client.chat.completions.create(
model="glm-5.3",
messages=[
{"role": "user", "content": "Say hello in one sentence."},
],
)
print(response.choices[0].message.content)Set JARVISLABS_API_KEY in your environment before running.
Related models
More models on Token Factory
Same base URL, API key and credit balance. Change the model ID to switch.
FAQ
GLM-5.3 API FAQ
How much does the GLM-5.3 API cost?
$0.70 per million input tokens, $0.13 per million cached input tokens and $2.20 per million output tokens. Reasoning tokens count as output. There is no subscription or minimum spend per model: usage draws from your Jarvislabs credit balance.
What is the context window of GLM-5.3 on Jarvislabs?
We serve GLM-5.3 with a 230K token context window (230,000 tokens), shared between your prompt and the model’s reply.
Is the GLM-5.3 API OpenAI-compatible?
Yes, for Chat Completions. Set the base URL to https://models.jarvislabs.net/v1, use your Jarvislabs API key and set the model to glm-5.3. Streaming works with stream set to true. The Responses API is not supported.
Can I turn off thinking or change the reasoning effort for GLM-5.3?
GLM-5.3 always thinks before it answers. Set reasoning_effort in chat_template_kwargs to low, high, max (default max). With the OpenAI Python SDK, pass chat_template_kwargs inside extra_body. Thinking tokens bill as output.
Do you store prompts sent to GLM-5.3?
No. We don’t store your prompts or completions, and we don’t train on them.
Where is GLM-5.3 hosted?
On Jarvislabs GPUs in our India region.
Send your first request to GLM-5.3.
Try a prompt in the playground, then call the same model from your code.