PricingUSD, as published
| Item | Value |
|---|---|
| List price | Provider list price21 |
| Free tier | Yes |
No markup and no platform fee on tokens: you pay the provider’s list price (also with your own key). Per-request cost is reported in response metadata; the docs’ example shows $0.10 per 1M for openai/gpt-6-luna-decisions, matching OpenAI’s list price.21 [Verified 2026-11-11 on https://vercel.com/docs/ai-gateway/pricing.md and https://vercel.com/docs/ai-gateway/sdks-and-apis/openai-decisions.md (no change)]
A request with refused questions is billed for its input like any other request.1 [Verified 2026-11-11 on https://vercel.com/docs/ai-gateway/sdks-and-apis/openai-decisions.md (no change)]
Vercel’s public model list shows prompt-cache prices for openai/gpt-6-luna-decisions ($0.01 per 1M cache read, $0.125 per 1M cache write, $0.20 per 1M input above 272K tokens), matching OpenAI’s list prices.35 [Verified 2026-11-11 on https://ai-gateway.vercel.sh/v1/models (no change) and https://developers.openai.com/api/docs/pricing.md]
Not in the cost calculator: Pass-through: no markup, you pay the routed provider’s list price, so the cost depends on which model you route to.
LimitsPer request
| Limit | Value |
|---|---|
| Context window | Per model (8k–1.05M) |
| Rate limit | None on paid tier |
choice: 1–255 choices; score: 2–10 levels; up to 128 images per request. Base64 data URLs only: Vercel’s docs still say external URLs and file IDs are not supported, although OpenAI’s own endpoint accepts public image URLs since Oct 22, 2026. Image detail can be low, high, auto or original.1 [Verified 2026-11-11 on https://vercel.com/docs/ai-gateway/sdks-and-apis/openai-decisions.md (no change)]
Text-only models such as typesafe-ai/jev return 400 on image requests (Vercel Decisions docs, re-read 2026-11-11). Note: TypeSafe’s own API now documents beta PNG/JPEG image input with a danger-zone header; the Gateway path for typesafe-ai/jev may still reject images.16 [Verified 2026-11-06 on https://vercel.com/docs/ai-gateway/sdks-and-apis/openai-decisions.md; TypeSafe images at https://docs.typesafe.ai/images]
StatusBeta
- Documentation page live; release stage not stated on the page. OpenAI Decisions added Oct 7, 2026 and Microsoft Decision-1 added Oct 9, 2026 (Vercel changelog). Changed: the models API (2026-11-11) lists 18 decision models (type evaluation), including Baseten mammoth-1 and elephant-1 (2026-10-21) and joey-1 (2026-10-29), parallel/parallel-decisions-fast (2026-11-06, $0.001 per request) and three Nace Drex models (2026-11-09, $0.03 per 1M input), alongside OpenAI, TypeSafe Jev, Microsoft, Perplexity, Liquid, Laya and scaledown models.13 [Verified 2026-11-11 on https://vercel.com/docs/ai-gateway/sdks-and-apis/openai-decisions.md and https://ai-gateway.vercel.sh/v1/models]
Auth
| Method | API key or OIDC |
FeaturesFrom lib/apiFeatures.js
| Capability | State |
|---|---|
| Free tierlaya-free listed at $0 | Yes32 |
| Official SDKsOpenAI SDKs with a base URL change | Yes |
| Fine-tuningGateway: routes to other providers' models, none of its own to tune | N/A |
| BatchNot on the Decisions page | Not published12 |
| Structured JSON outputNot on the Decisions page | Not published12 |
| Tool / function callingNot on the Decisions page | Not published12 |
| StreamingNot on the Decisions page | Not published12 |
| MCP supportNo AI Gateway MCP feature | Not published71 |
| Open source / self-hostNot on the Decisions page | Not published12 |
| SLA publishedNot on the Decisions page | Not published12 |
| EU / data residencyNot on the Decisions page | Not published12 |
Fit and safety
Watch out
- 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.
How it works
- 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 (an API key takes precedence if both are sent).
- Supports providerOptions: zero data retention requirement, provider restriction, and decision fallbacks. safety_identifier maps to providerOptions.gateway.safetyIdentifier.
- Response includes routing and cost metadata. Question names must be unique within a request; unnamed questions come back with name: null.
- New: input messages can now carry input_json parts (a JSON object or a non-empty array of objects) next to input_text and input_image parts.
Compare
Put Vercel AI Gateway — Decisions endpoint side by side with other APIs on price, limits and features. Open the comparison table →
SourcesFootnotes
- 1Vercel docs: OpenAI-compatible Decisions APIvercel.com/docs/ai-gateway/sdks-and-apis/openai-decisionsVerified 2026-11-11
- 2vercel.com/docs/ai-gateway/pricingvercel.com/docs/ai-gateway/pricingVerified 2026-11-11
- 3ai-gateway.vercel.sh/v1/modelsai-gateway.vercel.sh/v1/modelsVerified 2026-11-06
- 4vercel.com/docs/ai-gateway/rate-limitsvercel.com/docs/ai-gateway/rate-limitsVerified 2026-11-06
- 5developers.openai.com/api/docs/pricingdevelopers.openai.com/api/docs/pricingVerified 2026-11-11
- 6docs.typesafe.ai/imagesdocs.typesafe.ai/imagesVerified 2026-11-06
- 7vercel.com/docs/ai-gatewayvercel.com/docs/ai-gatewayChecked 2026-11-06
- 8Vercel changelog: OpenAI Decisions API on AI Gateway (2026-10-07)vercel.com/changelog/openai-decisions-api-now-available-on-ai-gatewayCited
- 9Vercel changelog: Microsoft Decision-1 on AI Gateway (2026-10-09)vercel.com/changelog/microsoft-decision-1-now-available-on-ai-gatewayCited