How to create a Vercel AI Gateway API key to use in Ozeki AI Gateway
This guide demonstrates how to create a Vercel AI Gateway API key and configure it in Ozeki AI Gateway. You'll learn how to access the Vercel platform, navigate to the AI Gateway section, generate a new API key, and set up Vercel AI Gateway as a provider in your gateway. By following these steps, you can connect your Ozeki AI Gateway to multiple AI models through Vercel's unified gateway interface.
API URL: https://ai-gateway.vercel.sh/v1 Example API Key: vck_12345... Default model: openai/gpt-5.2
What is Vercel AI Gateway?
Vercel AI Gateway is a unified API gateway that provides access to multiple large language models through a single, standardized interface. Vercel AI Gateway allows you to access models from OpenAI, Anthropic, Google, and other providers through one consistent API endpoint. When configured with Ozeki AI Gateway, it gives your users access to a wide variety of AI models.
Steps to follow
- Navigate to Vercel website
- Go to AI Gateway section
- Open API Keys page
- Create new API key
- Copy the API key
- Open Providers page in Ozeki AI Gateway
- Create provider
How to Create Vercel AI Gateway API key video
The following video shows how to create a Vercel AI Gateway API key and configure it in Ozeki AI Gateway step-by-step.
Step 0 - Install Ozeki AI Gateway
Before configuring Vercel AI Gateway as a provider, you need to have Ozeki AI Gateway installed and running on your system. If you haven't installed Ozeki AI Gateway yet, follow our Installation on Linux guide or Installation on Windows guide to complete the initial setup.
Step 1 - Navigate to Vercel website
Navigate to the Vercel website. This is the main portal where you can access your Vercel dashboard, manage your projects, and access the AI Gateway features (Figure 1). Sign in to your Vercel account, or create a new account if you don't have one yet.
Step 2 - Go to AI Gateway
Once logged in to your Vercel dashboard, locate and click on the "AI Gateway" section in the navigation menu. This will take you to the AI Gateway management interface where you can configure settings, monitor usage, and manage API keys for your AI Gateway instance (Figure 2).
Step 3 - Open API Keys page
In the AI Gateway section, locate and click on the "API Keys" option. This page displays all your existing API keys and provides options to create new ones. Here you can manage access credentials for your AI Gateway instance (Figure 3).
Step 4 - Create new API key
Click the "Create Key" button to begin the API key generation process. This will open a dialog or form where you can configure the settings for your new API key (Figure 4).
In the API key creation dialog, enter a descriptive name for your API key. Choose a name that helps you identify the purpose or project for this key. After entering the name, click the Create Key button to create the API key (Figure 5).
Step 5 - Copy the API key
After successfully generating your API key, Vercel will display it on the screen. Click the "Copy" button to copy the API key to your clipboard (Figure 6). Make sure to store this key securely, as it provides access to your AI Gateway instance.
The API key is shown only once for security reasons. Make sure to copy and securely store the key before closing this window. If you lose your key, you'll need to create a new one.
Step 6 - Open Providers page in Ozeki AI Gateway
Open the Ozeki AI Gateway web interface and navigate to the Providers page. This is where you'll configure Vercel AI Gateway as a new provider using the API key you just created (Figure 7).
Step 7 - Create provider
Click the "New" button to begin the provider creation process. This opens a form where you'll enter the connection details for Vercel AI Gateway (Figure 8).
Fill in the provider configuration form with Vercel AI Gateway's details. Enter the provider name, select "OpenAI compatible" as the provider type, specify the API endpoint URL (https://ai-gateway.vercel.sh/v1), and paste the API key you copied earlier. Select the preferred model from the dropdown list, then click "Create" to save the configuration (Figure 9).
https://ai-gateway.vercel.sh/v1
After clicking "Create", the Vercel AI Gateway provider is added to Ozeki AI Gateway. The provider now appears in the providers list, confirming that your gateway can route requests to Vercel AI Gateway's services. You can now create routes that allow users to access multiple AI models through Vercel AI Gateway (Figure 10).
Final thoughts
You have successfully created a Vercel AI Gateway API key and configured it as a provider in Ozeki AI Gateway. Your gateway can now communicate with Vercel AI Gateway's services and access multiple AI models from different providers through a single unified interface. This setup allows you to manage access to various AI models for multiple users and applications from a single point.