Z.ai
Z.ai is a large language model API service platform operated by Zhipu AI, providing API access to the GLM series of models. The platform's interface design is highly compatible with the OpenAI API format, facilitating integration for developers familiar with that standard.
Core Facts
@ai-sdk/zai is the official Provider in the Vercel AI SDK for Zhipu AI models.
@ai-sdk/openai-compatible is the common compatibility layer for many OpenAI-compatible model services, and changes to its version may affect multiple provider adapter packages at once.
@ai-sdk/zai depends on @ai-sdk/openai-compatible, indicating that Zhipu GLM's API interface is largely compatible with OpenAI's calling conventions.
Timeline (last 90 days)
After upgrading, it is advisable to regression-test the core paths involving Z.ai model calls, focusing on areas sensitive to provider-utils such as streaming responses and tool calls.
openai-compatible is a kind of "protocol adapter base" that lets any vendor following the OpenAI Chat Completions interface style (Z.ai, DeepSeek, Together, etc.) integrate with very little code.
For the vast majority of users, the risk of a patch-version dependency update is low, and it is recommended to keep up with it; however, if the project strictly locks dependency versions, or is troubleshooting anomalies related to Z.ai integration, it is worth comparing the specific diffs of the two dependency packages before upgrading.
The Z.ai adapter follows the AI SDK's overall semantic versioning cadence: incrementing patch numbers correspond to dependency refreshes and internal fixes, and minor version numbers correspond to new capability integration.
Kimi K3 is provided by Moonshot AI, GLM 5.3 is provided by Z.ai, and DeepSeek V4.1 Flash is provided by DeepSeek.ai.
@ai-sdk/openai-compatible is the common compatibility layer for many OpenAI-compatible model services, and changes to its version may affect multiple provider adapter packages at once.
Z.ai claims that GLM-5.3-Flash is close to Claude Opus 4.8 on coding and agent benchmarks and costs one tenth of GLM-5.2's price.
GLM-5.3-Flash is a multimodal MoE model with 320B total parameters and 18B activated per token, under the MIT license, supporting a 1M token context.
GLM (glm-4.5-air) is Zhipu AI's large language model series, called via the OpenAI-compatible API provided by Z.ai, with interface paths, request bodies, and response formats largely consistent with the OpenAI Chat Completions specification.
IboChat's endpoint name is still /api/gemini because early versions used Google Gemini, and it now proxies to Z.ai; changing the name would break the frontend.
40 more timeline events
All Facts (20)
@ai-sdk/zai is the official Provider in the Vercel AI SDK for Zhipu AI models.
90%Verified@ai-sdk/openai-compatible is the common compatibility layer for many OpenAI-compatible model services, and changes to its version may affect multiple provider adapter packages at once.
85%Verified@ai-sdk/zai depends on @ai-sdk/openai-compatible, indicating that Zhipu GLM's API interface is largely compatible with OpenAI's calling conventions.
85%VerifiedZ.ai's choice to integrate through openai-compatible is an efficiency-first strategy, with the cost being that when Z.ai has unique capabilities beyond the OpenAI specification, the compatibility layer may need additional adaptation code.
75%Verified@ai-sdk/zai, as the Provider implementation for Z.ai, reuses the communication and protocol handling logic of the OpenAI compatibility layer at its foundation.
75%UnverifiedThe API service brand offered externally by Zhipu AI is Z.ai (formerly the BigModel open platform).
70%UnverifiedGLM-5.3-Flash, from Z.ai, is a multimodal MoE model with a total of 320B (320 billion) parameters, with only 18B parameters activated at any given time.
70%UnverifiedZ.ai is the brand identity of Zhipu AI for the global market.
70%Partially VerifiedThe models tested include Google's Gemini 3.7 Flash, Z.ai's GLM-5, Alibaba's Qwen 3 235B A22B Instruct, and OpenAI's gpt-oss-120b, all running on Kaggle.
65%Unverifiedopenai-compatible is a kind of "protocol adapter base" that lets any vendor following the OpenAI Chat Completions interface style (Z.ai, DeepSeek, Together, etc.) integrate with very little code.
50%UnverifiedAfter upgrading, it is advisable to regression-test the core paths involving Z.ai model calls, focusing on areas sensitive to provider-utils such as streaming responses and tool calls.
50%UnverifiedFor the vast majority of users, the risk of a patch-version dependency update is low, and it is recommended to keep up with it; however, if the project strictly locks dependency versions, or is troubleshooting anomalies related to Z.ai integration, it is worth comparing the specific diffs of the two dependency packages before upgrading.
50%UnverifiedThe Z.ai adapter follows the AI SDK's overall semantic versioning cadence: incrementing patch numbers correspond to dependency refreshes and internal fixes, and minor version numbers correspond to new capability integration.
50%UnverifiedKimi K3 is provided by Moonshot AI, GLM 5.3 is provided by Z.ai, and DeepSeek V4.1 Flash is provided by DeepSeek.ai.
50%UnverifiedZ.ai claims that GLM-5.3-Flash is close to Claude Opus 4.8 on coding and agent benchmarks and costs one tenth of GLM-5.2's price.
50%UnverifiedGLM-5.3-Flash is a multimodal MoE model with 320B total parameters and 18B activated per token, under the MIT license, supporting a 1M token context.
50%UnverifiedIboChat's tech stack includes a single-file Flask application, GLM glm-4.5-air via the Z.ai API, locally running faster-whisper, SQLite + Werkzeug hashed account management, and Docker deployment behind Cloudflare.
50%UnverifiedIboChat's endpoint name is still /api/gemini because early versions used Google Gemini, and it now proxies to Z.ai; changing the name would break the frontend.
50%UnverifiedGLM (glm-4.5-air) is Zhipu AI's large language model series, called via the OpenAI-compatible API provided by Z.ai, with interface paths, request bodies, and response formats largely consistent with the OpenAI Chat Completions specification.
50%UnverifiedIn 2026, Kimi, Z.ai (GLM), and Alibaba Cloud Qwen all launched monthly coding plans for developers, with the core logic being to limit usage by 5-hour windows rather than billing by token.
50%