API for the model zai-org/GLM-5.3:crusoe at Hugging Face Inference, $1.19 / $3.74 per million tokens, context 786,432 tokens. curl, Python and JavaScript samples, live testing.
zai-org/GLM-5.3 served by Crusoe through the Hugging Face router (fp4 quantization).
- Type
- Model
- Provider
- Hugging Face Inference
- Host
- Crusoe
- Model ID
zai-org/GLM-5.3:crusoe- Pricing
- Paid
- Input / output price
- $1.19 / $3.74 per million tokens
- Keyless access
- No
- Key variable
HF_TOKEN- Base URL (OpenAI-compatible)
https://router.huggingface.co/v1- Context
- 786,432 tokens
- Inputs
- Text
- Features
- Tool calling, JSON output
- Response time
- First token 532 ms · 64 tokens/s · uptime 100%
- Developer rating
- Not rated yet
- Documentation
- https://huggingface.co/zai-org/GLM-5.3
Code samples
cURL
curl https://router.huggingface.co/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HF_TOKEN" \
-d '{"model":"zai-org/GLM-5.3:crusoe","messages":[{"role":"user","content":"Hello, introduce yourself in one sentence."}]}'Python
# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://router.huggingface.co/v1", api_key=os.environ["HF_TOKEN"])
r = client.chat.completions.create(
model="zai-org/GLM-5.3:crusoe",
messages=[{"role": "user", "content": "Hello, introduce yourself in one sentence."}],
)
print(r.choices[0].message.content)JavaScript
// npm install openai
import OpenAI from 'openai'
const client = new OpenAI({ baseURL: 'https://router.huggingface.co/v1', apiKey: process.env.HF_TOKEN })
const r = await client.chat.completions.create({
model: 'zai-org/GLM-5.3:crusoe',
messages: [{ role: 'user', content: 'Hello, introduce yourself in one sentence.' }],
})
console.log(r.choices[0].message.content)
Generate the integration code →
Popular searches
Frequently asked questions
Is the GLM-5.3 · Crusoe API free?
No: GLM-5.3 · Crusoe is a paid API ($1.19 / $3.74 per million tokens).
How do I call GLM-5.3 · Crusoe from my code?
GLM-5.3 · Crusoe exposes an OpenAI-compatible API at https://router.huggingface.co/v1: use any OpenAI SDK (Python, JavaScript…) with this base URL. Model identifier: zai-org/GLM-5.3:crusoe. Ready-to-use code (streaming, JSON, retries) is available in the developer toolkit.
What is the context window of GLM-5.3 · Crusoe?
GLM-5.3 · Crusoe accepts up to 786,432 tokens of context (prompt and history).
What are the alternatives to GLM-5.3 · Crusoe?
Similar APIs listed in the catalog: GLM-5.3-Flash · Cohere, GLM-5.3-Flash · CoreWeave, GLM-5.3-Flash · Crusoe, GLM-5.3-Flash · DeepInfra, GLM-5.3-Flash · DigitalOcean.
Alternatives
- GLM-5.3-Flash · Cohere — Paid
- GLM-5.3-Flash · CoreWeave — Paid
- GLM-5.3-Flash · Crusoe — Paid
- GLM-5.3-Flash · DeepInfra — Paid
- GLM-5.3-Flash · DigitalOcean — Paid
- GLM-5.3-Flash · Friendli — Paid
- GLM-5.3-Flash · Inceptron — Paid
- GLM-5.3-Flash · InferenceNet — Paid
- GLM-5.3-Flash · Makora — Paid
- GLM-5.3-Flash · Modal — Paid
- GLM-5.3-Flash · Near AI — Paid
- GLM-5.3-Flash · Nebius — Paid