Models / Z.ai

GLM-5.4

Z.ai's first Loop Transformer: GLM-5's layers run twice for deeper reasoning, aimed at coding beyond code (video, games, shaders, CAD). API not public yet.

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

Context window

1,000k tokens

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-5-4",
  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-5.4 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-5.4 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-5.4 available through the OpenAI SDK?

Yes, point any OpenAI SDK at api.companyfabric.com/v1 and set model to "z-ai/glm-5-4".

Variants

Same family

Explore

Related model APIs

One key. Every model. Exact prices.

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