Z.ai

Zhipu AI

glm-5.1

GLM-5.1

GLM-5.1 is listed on the current BatchIn Model API surface.

Model detailAvailableMoE Transformer

Params

754B MoE

Context

198K

Max Output

128K

License

MIT

API Surface

/v1/chat/completions

Access

Available

Why pick it

  • Availability is synced from the live service catalog.
  • Pricing appears only when verified by the live service catalog.

Pricing

TierPublicCachedNote
Realtime$0.15 / $0.54$0.054Current published price
Batch$0.15 / $0.54$0.054Published batch rates appear here when available
Pricing is synced from the live BatchIn catalog.

Quick start

Works with common OpenAI-style integrations. Point your client to the BatchIn base URL and start testing.

Python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.batchin.tech/v1",
    api_key="BATCHIN_API_KEY"
)

resp = client.chat.completions.create(
    model="glm-5.1",
    messages=[{"role": "user", "content": "Summarize why this model is a fit for my workload"}]
)

print(resp.choices[0].message.content)
JavaScript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.batchin.tech/v1",
  apiKey: process.env.BATCHIN_API_KEY,
});

const resp = await client.chat.completions.create({
  model: "glm-5.1",
  messages: [{ role: "user", content: "Summarize why this model is a fit for my workload" }],
});

console.log(resp.choices[0]?.message?.content);
cURL
curl https://api.batchin.tech/v1/chat/completions \
  -H "Authorization: Bearer ***" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.1",
    "messages": [{"role":"user","content":"Summarize why this model is a fit for my workload"}]
  }'

Specs

Architecture

MoE Transformer

Vendor

Zhipu AI

Context window

198K

Max output

128K

Best for

featured
glm
coding

Related models

Back to model center
Z.ai

z.ai

glm-5

GLM-5

GLM-5 is available after commercial review or workspace setup.

View detail
Qwen

Qwen / Alibaba

qwen3-coder-480b-a35b

Qwen3-Coder-480B-A35B

Qwen3-Coder-480B-A35B is available after commercial review or workspace setup.

View detail
DeepSeek

DeepSeek

deepseek-v4-flash

DeepSeek V4 Flash

DeepSeek V4 Flash is available after commercial review or workspace setup.

View detail
DeepSeek

DeepSeek

deepseek-v4-pro

DeepSeek V4 Pro

DeepSeek V4 Pro is available after commercial review or workspace setup.

View detail
GLM-5.1 | BatchIn