Set OPENAI_API_KEY to your sk-aig- key and OPENAI_BASE_URL to https://api.aigateway.sh/v1 as Vercel environment variables, and every preview + production deploy gets 1000+ models behind one key.
Vercel → Project → Settings → Environment Variables.
The official OpenAI SDK auto-reads OPENAI_API_KEY and OPENAI_BASE_URL, so any OpenAI-shaped client in your Next.js / Edge / Node code now routes through AIgateway. No code change beyond the env vars.