Call GLM 5.3 from code
Use the model slug glm-5-3 with any OpenAI-compatible client.
curl
bash
curl https://lessstrict.com/v1/chat/completions \
-H "Authorization: Bearer $LESSSTRICT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5-3",
"messages": [{"role": "user", "content": "Explain what a mutex is in two sentences."}],
"stream": true
}'
Python
python
from openai import OpenAI
client = OpenAI(base_url="https://lessstrict.com/v1", api_key="lsk_...")
stream = client.chat.completions.create(
model="glm-5-3",
messages=[{"role": "user", "content": "Explain what a mutex is in two sentences."}],
stream=True,
)
for chunk in stream:
print(chunk.choices[0].delta.content or "", end="")
Node.js
ts
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://lessstrict.com/v1", apiKey: process.env.LESSSTRICT_API_KEY });
const stream = await client.chat.completions.create({
model: "glm-5-3",
messages: [{ role: "user", content: "Explain what a mutex is in two sentences." }],
stream: true,
});
for await (const chunk of stream) process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
Full reference in the API docs.
Other models
Deepseek v4.1 Lessstrict
LessStrict deepseek v4.1 1017
Reasoning Vision Tools
- Context
- 1M
- Speed
- Balanced
- Per 1M tokens
- $0.25 / $1.00
Kimi K3.1 Pro Lessstrict
Kimi K3.1 Pro Lessstrict
Reasoning Vision Tools
- Context
- 1M
- Speed
- Balanced
- Per 1M tokens
- $3.00 / $5.00
Qwen 3.8 27B Lessstrict
Qwen 3.8 27B Lessstrict full version
Reasoning Vision Tools
- Context
- 262K
- Speed
- Balanced
- Per 1M tokens
- $0.50 / $3.50