The Vercel AI SDK has introduced the Z.AI provider, as detailed in a recent update. This integration brings support for GLM chat completions, streaming capabilities, reasoning, tools, and multimodal inputs to the SDK.
Key Points
- The Z.AI provider has been added to the Vercel AI SDK.
- This integration includes GLM chat completions.
- The Z.AI provider supports streaming, reasoning, and tools.
- Multimodal inputs are now available through the Z.AI provider.
- Support for the GLM-5.3-Flash model has been added to the Z.AI provider and AI Gateway.
- The @ai-sdk/amazon-bedrock@4.0.163 package now preserves complete Amazon Bedrock Converse usage objects in raw usage metadata.
- The @ai-sdk/moonshotai@2.0.51 package now accepts Moonshot streaming tool calls without indices and preserves choice-level information.
Context
According to the Vercel AI SDK Changelog, the @ai-sdk/zai@2.0.0 package introduces the Z.AI provider. This update also backports GLM-5.3-Flash model support to the Z.AI provider and AI Gateway. Other updates include changes to @ai-sdk/amazon-bedrock and @ai-sdk/moonshotai.
Why It Matters
This update expands the range of AI providers and capabilities available to developers using the Vercel AI SDK, offering new options for integrating advanced chat completions, multimodal features, and specific GLM models into their applications.
What To Do
- Review the @ai-sdk/zai@2.0.0 documentation for details on integrating the Z.AI provider.
- Explore the capabilities of GLM chat completions, streaming, reasoning, tools, and multimodal inputs.
- Note the addition of GLM-5.3-Flash model support for both Z.AI and the AI Gateway.
- Check for updates regarding Amazon Bedrock Converse usage objects and Moonshot streaming tool calls if using those providers.