Skip to content

Conversation

@shaper
Copy link
Collaborator

@shaper shaper commented Jan 20, 2026

Background

Google Vertex AI offers Model as a Service (MaaS) capabilities that allow access to partner and open models through an OpenAI-compatible API. This integration enables AI SDK users to leverage these models in their applications.

Summary

Added support for Google Vertex AI MaaS (Model as a Service) models in the AI SDK. This implementation:

  • Created a new @ai-sdk/google-vertex/maas package that provides access to partner models like DeepSeek, Qwen, and Kimi
  • Implemented both Node.js and Edge runtime support
  • Added automatic Google Cloud authentication handling
  • Integrated with the OpenAI-compatible API interface
  • Added example files demonstrating text generation and streaming with various MaaS models
  • Included support for tool calling functionality

Manual Verification

Tested the implementation with various MaaS models including DeepSeek, Qwen, and Kimi. Verified both text generation and streaming functionality work correctly. Also confirmed tool calling works with compatible models.

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

Copy link
Collaborator Author

shaper commented Jan 20, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@shaper shaper force-pushed the 01-19-feat_provider_google-vertex_add_support_for_maas_models branch from 564c95d to 800f2e4 Compare January 20, 2026 01:43
@shaper shaper force-pushed the 01-19-feat_provider_google-vertex_add_support_for_maas_models branch from 800f2e4 to ce23b59 Compare January 20, 2026 01:47
@shaper shaper force-pushed the 01-19-feat_provider_google-vertex_add_support_for_maas_models branch from ce23b59 to e4422e4 Compare January 20, 2026 01:53
@shaper shaper force-pushed the 01-19-feat_provider_google-vertex_add_support_for_maas_models branch from e4422e4 to 5b529e7 Compare January 20, 2026 01:56
@chiefGui
Copy link

chiefGui commented Jan 20, 2026

I know this is linked in the PR's relationships, but: in case anyone needs an interim solution: #7006 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants