Models / Z.ai

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

PlaygroundZhipu (智谱)

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

Explore

Related model APIs

One key. Every model. Exact prices.

Run GLM-Legal with free starter credits. Free starter credits included, no subscription required.