GLM-Legal
Z.ai's legal model, built on GLM-5.3-Flash, for contract review, evidence analysis and compliance. API access by application for now.
Playground
Try it in the browser
Facts
At a glance
Availability
Announced, API not public yet
Pricing
Price not announced
Endpoint
Chat Completions
/v1/chat/completions
Capabilities
API
Call it from code
import OpenAI from "openai"
const client = new OpenAI({
baseURL: "https://api.companyfabric.com/v1",
apiKey: process.env.COMPANYFABRIC_API_KEY,
})
const res = await client.chat.completions.create({
model: "z-ai/glm-legal",
max_tokens: 1024,
temperature: 0.7,
messages: [{ role: "user", content: "Say hello from the fabric." }],
})
console.log(res.choices[0].message.content)FAQ
Frequently asked questions
How much does GLM-Legal cost?
Price not announced. The exact cost of each call is shown before you run it and metered to your prepaid balance, no subscription required.
Why use GLM-Legal on CompanyFabric instead of going direct?
One key and one balance across every model in the library, at pricing at parity with or below the direct API. Switching models is a one-line change.
Is GLM-Legal available through the OpenAI SDK?
Yes, point any OpenAI SDK at api.companyfabric.com/v1 and set model to "z-ai/glm-legal".
Variants
Same family
GLM-5.3-Flash
$0.15/Mtok inZ.ai
Native multimodal coding model at the lowest rate in the catalog.
Added 10 Sep 2026 · text
GLM-5.2
$1.4/Mtok inZ.ai
Z.ai's open-weight frontier challenger, strong coding and reasoning with one of the best free tiers in class.
Added 1 Aug 2026 · text
GLM-5.3
$1.4/Mtok inZ.ai
Z.ai's flagship coding and agent model, GLM-5.2's base post-trained further, at the same price.
Added 23 Sep 2026 · text
Explore
Related model APIs
Claude Sonnet 4.5
RetiringAnthropic
Frontier-quality text and reasoning through one OpenAI-compatible endpoint.
Added 1 Jun 2026 · text
Claude Haiku 4.5
$1/Mtok inAnthropic
Fast, cheap frontier-family model for high-volume tasks.
Added 1 Jun 2026 · text
Claude Opus 4.6
$5/Mtok inAnthropic
The frontier tier for the hardest reasoning and agentic work.
Added 1 Jun 2026 · text
GPT-5.5
$5/Mtok inOpenAI
OpenAI's flagship, one key away.
Added 1 Jun 2026 · text
GPT-6 Astra
$10/Mtok inOpenAI
OpenAI's GPT-6 flagship, a million-token window one key away.
Added 3 Sep 2026 · text
Gemini 4 Argon
$2/Mtok inGoogle DeepMind's frontier model for long-horizon coding, legal, finance and science work, #1 on the Vals Index at launch. Introductory price until 30 November.
Added 13 Oct 2026 · text
One key. Every model. Exact prices.
Run GLM-Legal with free starter credits. Free starter credits included, no subscription required.