Text model

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

  • Available in the current product catalog.
  • Pricing is shown when the model is available for your account.

Pricing

TierPublicCachedNote
Realtime$0.69 / $2.77N/ACurrent published price
BatchContact us for batchN/APublished batch rates appear here when available
Current BatchIn list price.

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

Model type

Text model

Context window

198K

Max output

128K

Best for

featured
glm
coding

Related models

Back to model center

Text model

glm-4-7

GLM-4.7

Mid-tier GLM route for cost-aware engineering teams

View detail

Text model

qwen3-coder-480b-a35b

Qwen3-Coder-480B-A35B

High-end Qwen coder route for demanding autonomous engineering and code review workflows

View detail

Text model

deepseek-v4-pro

DeepSeek V4 Pro

DeepSeek V4 Pro is listed on the current BatchIn Model API surface.

View detail

Text model

deepseek-v3-2

DeepSeek V3.2

General-purpose DeepSeek flagship with strong price-performance for managed and batch workloads

View detail