Vercel has updated its AI SDK with several new releases, including version 2.0.0 of the @ai-sdk/zai package. This update introduces the Z.AI provider, which supports GLM chat completions, streaming, reasoning, tools, and multimodal inputs. Additionally, the update includes backported support for the GLM-5.3-Flash model within the Z.AI provider and the AI Gateway.
Key Points
- The
@ai-sdk/zai@2.0.0release adds the Z.AI provider to the Vercel AI SDK. - The Z.AI provider supports GLM chat completions, streaming, reasoning, tools, and multimodal inputs.
- GLM-5.3-Flash model support has been added to the Z.AI provider.
- GLM-5.3-Flash model support is also available through the AI Gateway.
- The
@ai-sdk/moonshotai@2.0.51release includes updates for Moonshot streaming tool calls and structured output schemas. - The
@ai-sdk/prodia@1.0.54release now warns when an unsupported seed language model setting is provided.
Context
According to the Vercel AI SDK Changelog, the @ai-sdk/zai@2.0.0 release, dated 26 Aug, integrates the Z.AI provider, expanding the SDK's capabilities with GLM models. This is part of broader updates across the SDK, including enhancements for other providers. For instance, the @ai-sdk/moonshotai@2.0.51 release, also dated 26 Aug, focuses on refining Moonshot's structured output and tool call handling, including enabling strict validation by default for structured output schemas and using native JSON Schema for official Moonshot V1 models.
Why It Matters
The addition of the Z.AI provider and GLM-5.3-Flash model support expands the range of models available to developers using the Vercel AI SDK, offering new options for chat completions, multimodal interactions, and tool use. Updates to the Moonshot AI provider indicate ongoing efforts to improve the reliability and functionality of structured outputs and streaming tool calls, which can streamline development workflows and enhance application stability.
What To Do
- Review the Vercel AI SDK documentation for the new Z.AI provider to understand its capabilities.
- Test the GLM-5.3-Flash model via the Z.AI provider or AI Gateway for chat completions and multimodal inputs.
- Developers using Moonshot models should note the changes to streaming tool calls and structured output schemas.
- Check for warnings related to unsupported seed language model settings if using the Prodia provider.