Skip to main content
AI Gateway is a routing layer. You still choose an upstream model from another provider, such as OpenAI or Google.

Setup

1

Create a gateway key

Create an AI Gateway key, or use a Vercel access token if that is how your gateway is configured.
2

Choose Vercel AI Gateway in the app

Open Coreply and choose Vercel AI Gateway under API Provider.
3

Enter your settings

Fill in the following values:
4

Configure the upstream provider options

Use the upstream provider namespace in Provider Options. For example:
or
Model must use the provider-prefixed format that AI Gateway expects, such as openai/... or google/....