SunsetDiff

Replacement for z-ai/glm5: what changes when you switch

The official replacement is z-ai/glm-5.1. z-ai/glm5 shut down on 2026-05-09 per NVIDIA's deprecation page (checked 2026-10-27). Price, context window, and max output were left blank because the official pages we checked did not publish them.

z-ai/glm5 model page · NVIDIA

Official replacement. Full diff page

z-ai/glm5 to z-ai/glm-5.1

Some values not published Checked 2026-11-12.

Price per 1M tokens

Price comparison. Example monthly cost for 10M input tokens and 2M output tokens. Labeled example, not a bill.
FieldOldNewChange
Input Not published Not published Not published
Output Not published Not published Not published
Cached input Not published Not published Not published
Example monthly cost Not published Not published Example only

Context and max output

Token limits
LimitOldNewChange
Context window Not published Not published Not published
Max output Not published Not published Not published

Capabilities that differ

No differing capability values are published for both models.

Endpoint changes

  • The nemotron-4-340b-reward model page OpenAPI lists server https://integrate.api.nvidia.com/v1/ and POST /chat/completions. It says the API is compatible with OpenAI. This sample only changes the model field. Source

Code

python before
from openai import OpenAI
client = OpenAI(base_url="https://integrate.api.nvidia.com/v1")
response = client.chat.completions.create(
    model="z-ai/glm5",
    messages=[{"role": "user", "content": "Hello"}],
)
python after
from openai import OpenAI
client = OpenAI(base_url="https://integrate.api.nvidia.com/v1")
response = client.chat.completions.create(
    model="z-ai/glm-5.1",
    messages=[{"role": "user", "content": "Hello"}],
)
typescript before
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://integrate.api.nvidia.com/v1" });
const response = await client.chat.completions.create({
  model: "z-ai/glm5",
  messages: [{ role: "user", content: "Hello" }],
});
typescript after
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://integrate.api.nvidia.com/v1" });
const response = await client.chat.completions.create({
  model: "z-ai/glm-5.1",
  messages: [{ role: "user", content: "Hello" }],
});
curl before
curl https://integrate.api.nvidia.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"z-ai/glm5","messages":[{"role":"user","content":"Hello"}]}'
curl after
curl https://integrate.api.nvidia.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"z-ai/glm-5.1","messages":[{"role":"user","content":"Hello"}]}'

Checklist

  1. Read the shutdown date for z-ai/glm5 on the linked official page.
  2. Point your requests at z-ai/glm-5.1.
  3. Re-check price, context, and parameters on the provider pages linked here.
  4. Ship the change before the published shutdown date.

Related models

Questions

What is the replacement for z-ai/glm5?

The official replacement is z-ai/glm-5.1. z-ai/glm5 shut down on 2026-05-09 per NVIDIA's deprecation page (checked 2026-10-27). Price, context window, and max output were left blank because the official pages we checked did not publish them.

Is z-ai/glm-5.1 cheaper than z-ai/glm5?

A full price comparison is not published. One or both prices are missing from the official pages we checked.

Does z-ai/glm-5.1 have a bigger context window than z-ai/glm5?

Context window sizes are not both published on the official pages we checked.

Sources

Deprecation alerts

We email you before models shut down. Unsubscribe anytime.

Deprecation alert signup
Providers (optional)