API changelog

Changes that affect API integrations: response and stream formats, error codes, parameters and deprecations.

Follow changes: Atom feed · JSON endpoint

New · Published 2026-11-23 06:55 UTC · Effective 2026-11-23 06:26 UTC

New model: GLM-5.4 (glm-5.4)

Zhipu GLM-5.4 is available as glm-5.4, with image input, through Chat Completions, Responses and Messages.

Since 2026-11-23 06:26 UTC you can call Zhipu GLM-5.4 with the model ID glm-5.4.

· Interfaces: Chat Completions (/v1/chat/completions), Responses (/v1/responses) and Anthropic Messages (/v1/messages), with streaming, tool calling and image input.
· 1,000,000-token context, up to 131,072 output tokens (Z.ai has not published the output limit yet; GLM-5.3's value is used for now).
· Reasoning is on by default and reasoning tokens count as output; every reasoning_effort level from none to max is accepted.
· Price per 1M tokens: $0.56 input, $1.76 output, $0.104 cached input. Zhipu has not published a GLM-5.4 API price yet, so GLM-5.3's official price ($1.4 / $4.4 / $0.26) is the reference for now; we will re-base once the official price is out.

GLM-5.4 adds vision, so image tasks can move over from GLM-5.3 by changing the model ID. See the GLM-5.4 model page.

Existing requests are unaffected; no action needed.

New · Published 2026-11-17 00:00 UTC · Effective 2026-11-16 23:31 UTC

New model: Hy4 Flash (hy4-flash)

Tencent Hunyuan Hy4 Flash is available as hy4-flash through Chat Completions, at half the official list price.

Since 2026-11-16 23:31 UTC you can call Tencent Hunyuan Hy4 Flash with the model ID hy4-flash.

· Interface: Chat Completions (/v1/chat/completions), with streaming, tool calling and image input.
· 1,048,576-token context, up to 64,000 output tokens.
· Reasoning is always on and cannot be disabled; reasoning tokens count as output.
· Price per 1M tokens: $0.035 input, $0.1405 output, $0.0015 cached input — 50% of Tencent Cloud's list price ($0.07 / $0.281 / $0.003).

Tencent positions it for high-volume everyday work such as search and document processing; for long-horizon software engineering it recommends Hy4. See the Hy4 Flash model page.

Existing requests are unaffected; no action needed.

Breaking · Published 2026-11-14 01:09 UTC · Effective 2026-11-14 00:17 UTC

Official verification: the streaming proof is now an SSE comment line

For API keys with Official verification on, the proof at the end of a streaming response moved from an event: tee.proof event to one SSE comment line, : tee-proof {...}. This fixes "Type validation failed" at the end of replies in clients built on the Vercel AI SDK.

On Nov 13, a user reported that streaming requests from clients built on the Vercel AI SDK, such as Cherry Studio, ended with an error such as "Type validation failed" after the reply finished. The fix went live at 2026-11-14 00:17 UTC.

Affected were API keys with Official verification turned on. The reply itself was complete; only this error appeared at the end. Claude Code and the official SDKs were not affected.

Cause: with verification on, a signed proof is appended to the end of the response. It used to be sent as an SSE event (event: tee.proof) without the type field these clients require, so they treated it as a format error.

Change: the proof is now sent as a single SSE comment line (: tee-proof {...}). Under the SSE standard, clients ignore comment lines. The proof content and how it is verified are unchanged.

What you need to do:
· Regular API use: nothing.
· If you parse SSE yourself: make sure lines starting with : are skipped.
· If your code reads the proof: read the line at the end of the stream that starts with : tee-proof instead.
· If you use the open-source verifier: the online verifier is already updated; update your local CLI or verifying proxy to the latest version. Responses in both formats can be verified.