Skip to content

Conversation

joshualipman123
Copy link

This PR adds the Vercel AI Gateway as a provider option and updates documentation accordingly.

@CLAassistant
Copy link

CLAassistant commented Sep 2, 2025

CLA assistant check
All committers have signed the CLA.

@joshualipman123
Copy link
Author

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!

@w3bdesign
Copy link

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!

@joshualipman123

What's going on with the Anthropic models at Vercel?

@joshualipman123
Copy link
Author

hey @w3bdesign, are you getting the following error? if so, restricted access will be removed by eod or tomorrow!

Free credits temporarily have restricted access due to abuse. We are working on a resolution. 
Paid credits continue to have unrestricted access. Read more on how to purchase credits at https://vercel.com/docs/ai-gateway/pricing

@w3bdesign
Copy link

hey @w3bdesign, are you getting the following error? if so, restricted access will be removed by eod or tomorrow!

Free credits temporarily have restricted access due to abuse. We are working on a resolution. 
Paid credits continue to have unrestricted access. Read more on how to purchase credits at https://vercel.com/docs/ai-gateway/pricing

@joshualipman123

Yes, thanks.

Is there a way to get the balance of the API key programmatically?

@joshualipman123
Copy link
Author

hey @w3bdesign, are you getting the following error? if so, restricted access will be removed by eod or tomorrow!

Free credits temporarily have restricted access due to abuse. We are working on a resolution. 
Paid credits continue to have unrestricted access. Read more on how to purchase credits at https://vercel.com/docs/ai-gateway/pricing

@joshualipman123

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!

@w3bdesign
Copy link

hey @w3bdesign, are you getting the following error? if so, restricted access will be removed by eod or tomorrow!

Free credits temporarily have restricted access due to abuse. We are working on a resolution. 
Paid credits continue to have unrestricted access. Read more on how to purchase credits at https://vercel.com/docs/ai-gateway/pricing

@joshualipman123
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!

@joshualipman123

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.

@joshualipman123
Copy link
Author

hey @w3bdesign, are you getting the following error? if so, restricted access will be removed by eod or tomorrow!

Free credits temporarily have restricted access due to abuse. We are working on a resolution. 
Paid credits continue to have unrestricted access. Read more on how to purchase credits at https://vercel.com/docs/ai-gateway/pricing

@joshualipman123
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!

@joshualipman123

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

@joshualipman123
Copy link
Author

hey @w3bdesign, are you getting the following error? if so, restricted access will be removed by eod or tomorrow!

Free credits temporarily have restricted access due to abuse. We are working on a resolution. 
Paid credits continue to have unrestricted access. Read more on how to purchase credits at https://vercel.com/docs/ai-gateway/pricing

@joshualipman123
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!

@joshualipman123

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.

@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!

@w3bdesign
Copy link

hey @w3bdesign, are you getting the following error? if so, restricted access will be removed by eod or tomorrow!

Free credits temporarily have restricted access due to abuse. We are working on a resolution. 
Paid credits continue to have unrestricted access. Read more on how to purchase credits at https://vercel.com/docs/ai-gateway/pricing

@joshualipman123
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!

@joshualipman123
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.

@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!

@joshualipman123

Just a minor bug report:

image

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.

@joshualipman123
Copy link
Author

hey @w3bdesign, are you getting the following error? if so, restricted access will be removed by eod or tomorrow!

Free credits temporarily have restricted access due to abuse. We are working on a resolution. 
Paid credits continue to have unrestricted access. Read more on how to purchase credits at https://vercel.com/docs/ai-gateway/pricing

@joshualipman123
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!

@joshualipman123
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.

@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!

@joshualipman123

Just a minor bug report:

image 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!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants