Loom / Guides / Vercel AI Gateway

Cloud · Vercel

Vercel AI Gateway

Use many providers through one Vercel AI Gateway key, with budgets.

Overview

The AI Gateway routes to many model makers at their list prices, with budgets you can set per key. Model names look like provider/model, for example anthropic/claude-sonnet-5.

Get a key

  1. 1
    In the Vercel dashboard, open AI Gateway and then API Keys.
  2. 2
    Choose Create key and name it. Set a dollar budget (daily, weekly or monthly), because a key without one can spend the team’s whole credit balance.
  3. 3
    Copy the key. It is shown once.

Cost. Prepaid credits at the providers’ list prices. Each team gets a small monthly free credit; some models are excluded from it.

Add it to Loom

  1. 1
    Open Loom, then Providers in the menu, and choose Add provider.
  2. 2
    Pick Vercel AI Gateway (the search box finds it).
  3. 3
    Fill in the fields in the table below.
  4. 4
    Choose Connect. Loom checks the key and says how many models it found. If it cannot check, it says so, and you can Save anyway and try a message.
  5. 5
    Open the model chip below the message box and pick a model.
Field in LoomWhat to putNeeded
API keyPaste the key you copied. Create one in your Vercel dashboard → AI Gateway.Yes
Endpointhttps://ai-gateway.vercel.sh/v1Pre-filled
NameAnything you like. It is shown in the model pickerOptional

At a glance

Appears in Loom asVercel AI Gateway
Sign-inYour key, sent as Authorization: Bearer
ModelsLoom fetches the list from your account
Tools (connectors, search)Depends on the model
PhotosDepends on the model
PDFsAs a file part

If something goes wrong

What you seeWhat to do
402 or a credit errorAdd credit in the AI Gateway page, or check the key’s budget has not run out.
A model is refused on the free creditSome models need paid credit. Add credit or choose another.

Official documentation