Vercel · Gateway / proxy · Last verified 2026-10-15
Vercel AI Gateway — Decisions endpoint
BetaPartly verified
OpenAI-compatible POST /decisions endpoint on Vercel AI Gateway that routes to any decision model on the gateway (e.g. openai/gpt-6-luna-decisions, typesafe-ai/jev).
What it does
- Base URL https://ai-gateway.vercel.sh/v1; OpenAI SDKs work with a base URL change.
- Auth: AI Gateway API key or Vercel OIDC token.
- Supports providerOptions: zero data retention requirement, provider restriction, and decision fallbacks.
- Response includes routing and cost metadata.
Pricing
- Per-request cost is reported in response metadata; the docs page does not state a markup or price table. [Unverified — gateway pricing not on the page checked]
Limits
- choice: 1–255 choices; score: 2–10 levels; up to 128 images per request (base64 data URLs only). [Verified 2026-10-15 against official page]
- Text-only models such as typesafe-ai/jev return 400 on image requests. [Verified 2026-10-15 against official page]
Status
- Documentation page live; status label (beta/GA) not stated on the page. [Verified 2026-10-15 against official page]
Safety & fit notes
- Useful for vendor-diverse fallbacks behind one API shape — use fallbacks for availability, not as a vote that overrides your rules.
- Adds a third party in the data path; confirm ZDR and provider restrictions match your requirements.