[BOUNTY #573] Add Vercel AI Gateway as a Provider#746
Open
zhaog100 wants to merge 2 commits intoMerit-Systems:masterfrom
Open
[BOUNTY #573] Add Vercel AI Gateway as a Provider#746zhaog100 wants to merge 2 commits intoMerit-Systems:masterfrom
zhaog100 wants to merge 2 commits intoMerit-Systems:masterfrom
Conversation
Add Vercel AI Gateway provider with pricing and SDK support: - Add createEchoVercelAIGateway() provider using @ai-sdk/openai-compatible - Add 20 model definitions across 7 providers (OpenAI, Anthropic, Google, DeepSeek, Groq, Mistral, Qwen) with accurate pricing - Register VercelAIGatewayModels in AccountingService for cost tracking - Add model update script for future maintenance - Add @ai-sdk/openai-compatible dependency Closes Merit-Systems#573
Contributor
|
@zhaog100 is attempting to deploy a commit to the Merit Systems Team on Vercel. A member of the Team first needs to authorize it. |
The x-api-key header with a placeholder string was being sent to the API. Replaced with x-echo-app-id which identifies the app without interfering with auth. Authentication is handled by echoFetch which sets the proper Authorization Bearer header. Addresses review feedback on Merit-Systems#746.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Vercel AI Gateway as a supported provider with accurate pricing and full SDK integration.
Changes
SDK Provider
Supported Models (20 models, 7 providers)
Accounting Integration
Closes #573