-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add vercel ai gateway provider #4495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add vercel ai gateway provider #4495
Conversation
hey @paul-gauthier! i'm on the ai gateway team at vercel and opened this pr to add our gateway as a provider option in aider. excited to get our users onto aider! |
What's going on with the Anthropic models at Vercel? |
hey @w3bdesign, are you getting the following error? if so, restricted access will be removed by eod or tomorrow!
|
Yes, thanks. Is there a way to get the balance of the API key programmatically? |
currently the way to view your balance is on the AI Gateway tab of the Vercel dashboard. will look into enabling this programmatically if this is something you'd like! |
Yes, that would be very helpful, especially for a production application and not just for testing and development. I know various AI APIs already provide this, like Openrouter. |
thanks for the feedback, we're on it! also, free credit restrictions are now removed |
@w3bdesign we now have a credits endpoint to fetch credit info programmatically. here's the docs. let us know if you want more data returned by the endpoint or if you have any other general feedback! |
Just a minor bug report: ![]() You should probably set a reasonable maximum length for the custom amount here, because I can enter any number, and it will fill up the entire space. |
fixed! |
This PR adds the Vercel AI Gateway as a provider option and updates documentation accordingly.