
Vercel AI Gateway is a unified proxy to OpenAI, Anthropic, Google, Meta — no BYOK needed. Every team (including free Hobby) gets $5/mo AI credits handled at the system layer: if monthly usage ≤ $5, it's free.
ai SDK + @ai-sdk/openai etc. for all models.$5 system-layer credits per team per month (Hobby included). Usage under $5 is fully free. Beyond $5, pay per token.
Step 1: Sign up at https://vercel.com/signup and create a project (Hobby free).
Step 2: In Vercel Dashboard → AI Gateway → Enable Gateway. No API key needed; auth via Vercel OIDC (automatic in Vercel functions) or AI Gateway token for local dev.
Step 3: Install SDK and call:
import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
const { text } = await generateText({
model: openai('gpt-5.5-preview'),
prompt: 'Hello Vercel Gateway!',
});
console.log(text);curl https://ai-gateway.vercel.sh/v1/chat/completions \
-H "Authorization: Bearer $VERCEL_OIDC_TOKEN" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-5.5-preview","messages":[{"role":"user","content":"Hi"}]}'Check Usage in dashboard to track $5 credits.
Community Feedback
Comments are tied to your GitHub account — sign in to join the discussion.