GLM 5.3 FlashX Legal
GLM-5.3-FlashX-Legal (GLM-Legal) is Z.ai's legal-domain variant of GLM-5.3-FlashX, a native multimodal model that accepts text, image, and video input and produces text.
No. GLM 5.3 FlashX Legal has closed weights, so it only runs on Z.ai (Zhipu AI)’s servers or through a provider.
What it costs
Through an API, per million tokens.
Cached input: $0.075 per million.
Flat-rate subscriptions can cost far less than API list prices for heavy use. Treat this as a reference, not a bill.
Where to run it through an API
Z.ai (Zhipu AI) and its cloud partners sell this model through an API. Cheapest first.
Prices from OpenRouter’s public provider list. Uptime over the last 30 minutes.
Call GLM 5.3 FlashX Legal through the API
OpenRouter exposes this model through an OpenAI-compatible API. Create a key on OpenRouter, then use the model identifier z-ai/glm-5.3-flashx-legal.
Python
import os
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key=os.environ["OPENROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="z-ai/glm-5.3-flashx-legal",
messages=[{"role": "user", "content": "Explain 4-bit quantization in two sentences."}],
)
print(response.choices[0].message.content)JavaScript
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://openrouter.ai/api/v1",
apiKey: process.env.OPENROUTER_API_KEY,
});
const response = await client.chat.completions.create({
model: "z-ai/glm-5.3-flashx-legal",
messages: [{ role: "user", content: "Explain 4-bit quantization in two sentences." }],
});
console.log(response.choices[0].message.content);cURL
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-5.3-flashx-legal",
"messages": [{"role": "user", "content": "Explain 4-bit quantization in two sentences."}]
}'Prices and providers are in the sections above. Check the exact identifier on the OpenRouter model page.
Specifications
Where to get it
Official site: Z.ai (Zhipu AI) Use it through OpenRouterFrozen facts (name, specifications, links) are fixed when the page is created. Scores, prices and download numbers: refreshed daily; last update 24 Nov 2026. Scores: Epoch AI (Capabilities & benchmarking, CC BY 4.0), adapted by KernelFox.