The Vercel AI SDK has introduced the Z.AI provider, according to recent updates from the Vercel AI SDK Changelog. This integration brings GLM chat completions, streaming capabilities, reasoning, tools, and multimodal inputs to the SDK. Additionally, the GLM-5.3-Flash model has been added to the Z.AI provider and the AI Gateway.
Key Points
- The Z.AI provider has been added to the Vercel AI SDK.
- This integration supports GLM chat completions, streaming, reasoning, tools, and multimodal inputs.
- The GLM-5.3-Flash model is now available through the Z.AI provider.
- GLM-5.3-Flash model support has also been added to the AI Gateway.
- The @ai-sdk/amazon-bedrock package now preserves complete Amazon Bedrock Converse usage objects in raw usage metadata.
- The @ai-sdk/moonshotai package accepts Moonshot streaming tool calls without indices and preserves choice-level information.
Context
According to the Vercel AI SDK Changelog, the addition of the Z.AI provider is a major change, marked by the 5604dde commit. The inclusion of GLM-5.3-Flash model support is a patch change, indicated by ad28ecb, and has been backported to the AI Gateway. The @ai-sdk/amazon-bedrock package update, 1eb654d, focuses on preserving usage data.
Why It Matters
This update expands the range of models and capabilities available to developers using the Vercel AI SDK, offering new options for integrating advanced chat completions, multimodal processing, and tool use into their applications. The enhanced data preservation for Amazon Bedrock Converse usage objects also provides more detailed insights for cost analysis and performance monitoring.
What To Do
- Review the Vercel AI SDK documentation for details on integrating the Z.AI provider.
- Test the GLM chat completions, streaming, reasoning, tools, and multimodal input features.
- Explore the GLM-5.3-Flash model through the Z.AI provider and AI Gateway.
- Note the changes in usage object preservation for Amazon Bedrock Converse if using that provider.