Coding & apps
Vercel AI Gateway
Call multiple AI providers with one API key for text, images, audio, video and embeddings; configure fallback providers and track usage and cost.
Start for free
Free
USD-denominated team balance; adding members or projects does not multiply the grant.
Team has never purchased Gateway Credits, has a valid payment method and uses free-tier eligible models.
Purchasing Credits ends the free grant.
Requests without a positive balance return HTTP 402; purchase credits to switch to paid usage.
View on official siteCurrent offers
- Fish Audio Drama 3 text-to-speech is 80% off on Vercel AI Gateway at $10 per million characters through November 12
- Nemotron 3.5 Lightning free API on Vercel AI Gateway and OpenRouter at $0
- Glyph Cluster stealth reasoning model free on Vercel AI Gateway for Pro and Enterprise teams
- Poolside Laguna S 2.1 free on OpenRouter and Vercel AI Gateway
Plans and usage
Pay as you go
Prepaid balance; no fixed monthly subscription
Purchase Gateway Credits for the full model catalog and BYOK. Model token prices have no platform markup.
Top up when the balance is low; optional auto top-up is available.
View on official siteFree teams receive $5 every 30 days. Purchased credits pay for model and optional feature usage. BYOK model usage is billed by your provider; Trace Drains is billed through Vercel.
Additional credit packs
| Available plans | Credits | Price | Terms |
|---|---|---|---|
| Free / Pay as you go | 1,000 | $0.10 / 1,000 requests | Successful allowlisted requests; optional feature disabled by default. Charged when enabled; requires Vercel Pro / Enterprise; debited from Gateway credits. |
| Free / Pay as you go | 1,000 | $5.00 / 1,000 requests | Gateway reporting queries; optional feature disabled by default. Charged when enabled; debited from Gateway credits. |
| Free / Pay as you go | 1,000 | $0.075 / 1,000 writes | Gateway custom reporting writes; optional feature disabled by default. Charged when enabled; debited from Gateway credits. |
| Free / Pay as you go | 1,000 | $0.10 / 1,000 requests | Successful ZDR requests with returned usage; optional feature disabled by default. Charged when enabled; requires Vercel Pro / Enterprise; debited from Gateway credits. |
| Free / Pay as you go | 1 | $1.00 / USD | Validity: 1 year |
| Free / Pay as you go | 1 | $0.50 / GB | Trace egress; optional feature disabled by default. Charged when enabled; requires Vercel Pro / Enterprise; billed through Vercel Drains. |
| Free / Pay as you go | 1,000 | $0.05 / 1,000 traces | Trace events; optional feature disabled by default. Charged when enabled; requires Vercel Pro / Enterprise; billed through Vercel Drains. |
| Pay as you go | 1 | $0.014 / search requests | GPT-5.4 azure provider endpoint. |
| Pay as you go | 1 | $0.01 / search requests | GPT-5.4 openai provider endpoint. |
Promotional benefits
Try Glyph Cluster free
Glyph Cluster anonymous early access currently has zero input/output pricing. The provider may retain and train on content; personal data is prohibited.
Pay as you go teams only; purchase Gateway Credits first and use stealth/glyph-cluster.
Official detailsLaguna S 2.1 Free
Laguna S 2.1 Free currently has zero input/output prices and is deprecated at 2026-10-31T00:00:00Z.
Free or Pay as you go teams with a valid payment method; use poolside/laguna-s-2.1-free.
Official detailsTry Laya free
Laya and Laya Free via Boundless are free through 2026-10-31. Standard becomes paid afterward; -free stops serving.
Free or Pay as you go teams with a valid payment method; use the Laya or Laya Free route through Boundless.
Ends: 2026-10-31
Official detailsTry Nemotron free
Nemotron 3.5 Lightning Free is a non-production trial. All prompts and outputs are logged to improve models.
Free or Pay as you go teams with a valid payment method; use nvidia/nemotron-3.5-lightning-free.
Official detailsChoose your workflow
App developers and coding-agent users who need multi-model access, provider failover and consolidated billing.
Create a Vercel account, add a valid payment method to your team, create an AI Gateway API key and select a free-tier model. Use https://ai-gateway.vercel.sh/v1 as the base URL.
Call from local environments, CI or other clouds. Choose global, US or EU inference where supported by the model. Account and payment access follow Vercel regional and trade terms.
Free
AI SDK TypeScript
IncludedAnthropic Messages API
IncludedBring your own provider API key
Not includedYour provider bills model usage without a Gateway BYOK markup. System fallback uses Gateway credits; your provider-key spending is outside Gateway budgets.
Automatic prompt caching
IncludedSession cache affinity
IncludedUse a stable opaque x-session-affinity ID for provider cache locality; it does not change provider routing.
Explicit and implicit caching
IncludedAuto inserts cache markers for Anthropic direct/Vertex/Bedrock, MiniMax and Alibaba. OpenAI/Google/DeepSeek use implicit caching. Unset caching passes requests through. Anthropic 5-minute writes cost 1.25× base input and reads 0.1×; Responses 1h writes cost 2× with auto, reads remain 0.1×.
Model fallbacks
IncludedOpenResponses API
IncludedOptional features bill when enabled
IncludedCustom Reporting counts each unique tag/user ID/quota entity ID write within the request scope once. gateway.cost includes inference only, excluding reporting and ZDR surcharges. Trace Drains is billed through the Vercel plan; Pro has no trace/egress allowance and bills from the first trace/byte.
Call from local, CI and other clouds
IncludedZDR and no-training filters
IncludedTeam and request ZDR combine with OR; request false cannot bypass the team setting. No-training filtering is free for all users. Your BYOK credentials bypass filtering, while system fallback follows the filter.
Try Glyph Cluster free
Not includedGlyph Cluster anonymous early access currently has zero input/output pricing. The provider may retain and train on content; personal data is prohibited.
Pay as you go teams only; purchase Gateway Credits first and use stealth/glyph-cluster.
Jev free promotion
Not includedThe historical free promotion has ended; current model pricing applies.
Historical Jev promotion.
Laguna S 2.1 Free
Limited / conditionalLaguna S 2.1 Free currently has zero input/output prices and is deprecated at 2026-10-31T00:00:00Z.
Free or Pay as you go teams with a valid payment method; use poolside/laguna-s-2.1-free.
Try Laya free
Limited / conditionalLaya and Laya Free via Boundless are free through 2026-10-31. Standard becomes paid afterward; -free stops serving.
Free or Pay as you go teams with a valid payment method; use the Laya or Laya Free route through Boundless.
Ends: 2026-10-31
Ling Sante free promotion
Not includedThe historical free promotion has ended. Current input/output/cache-read prices are $0.075/$0.22/$0.015 per million tokens.
Historical Ling Sante promotion.
Try Nemotron free
Limited / conditionalNemotron 3.5 Lightning Free is a non-production trial. All prompts and outputs are logged to improve models.
Free or Pay as you go teams with a valid payment method; use nvidia/nemotron-3.5-lightning-free.
Team provider allowlist
IncludedRequires Vercel Pro or Enterprise.
Provider order is a preference; only is an allowlist
IncludedThe only filter runs before ordering. Providers omitted from order may still participate. Sort by cost, ttft or tps; health affects the order.
AI SDK Python beta
IncludedGateway request rate limits
IncludedPer-model limits; fixed RPM/TPM values are not published.
Global, US or EU inference
IncludedDefault global; zone requires us/eu. Unsatisfied regional constraints return 400 without cross-region fallback. Provider inference and storage follow the selected region; Gateway TLS and processing may occur in any Vercel region.
Per-request provider only has no surcharge
IncludedPer-request ZDR has no surcharge
IncludedRequires Vercel Pro or Enterprise.
Provider ordering, filtering and failover
IncludedTrace Drains
IncludedRequires Vercel Pro or Enterprise.
Disallow prompt training filter
IncludedZero data retention filter
IncludedRequires Vercel Pro or Enterprise.
Pay as you go
AI SDK TypeScript
IncludedAnthropic Messages API
IncludedBring your own provider API key
IncludedYour provider bills model usage without a Gateway BYOK markup. System fallback uses Gateway credits; your provider-key spending is outside Gateway budgets.
Team has purchased Gateway Credits.
Automatic prompt caching
IncludedSession cache affinity
IncludedUse a stable opaque x-session-affinity ID for provider cache locality; it does not change provider routing.
Explicit and implicit caching
IncludedAuto inserts cache markers for Anthropic direct/Vertex/Bedrock, MiniMax and Alibaba. OpenAI/Google/DeepSeek use implicit caching. Unset caching passes requests through. Anthropic 5-minute writes cost 1.25× base input and reads 0.1×; Responses 1h writes cost 2× with auto, reads remain 0.1×.
Model fallbacks
IncludedOpenResponses API
IncludedOptional features bill when enabled
IncludedCustom Reporting counts each unique tag/user ID/quota entity ID write within the request scope once. gateway.cost includes inference only, excluding reporting and ZDR surcharges. Trace Drains is billed through the Vercel plan; Pro has no trace/egress allowance and bills from the first trace/byte.
Call from local, CI and other clouds
IncludedZDR and no-training filters
IncludedTeam and request ZDR combine with OR; request false cannot bypass the team setting. No-training filtering is free for all users. Your BYOK credentials bypass filtering, while system fallback follows the filter.
Try Glyph Cluster free
Limited / conditionalGlyph Cluster anonymous early access currently has zero input/output pricing. The provider may retain and train on content; personal data is prohibited.
Pay as you go teams only; purchase Gateway Credits first and use stealth/glyph-cluster.
Jev free promotion
Not includedThe historical free promotion has ended; current model pricing applies.
Historical Jev promotion.
Laguna S 2.1 Free
Limited / conditionalLaguna S 2.1 Free currently has zero input/output prices and is deprecated at 2026-10-31T00:00:00Z.
Free or Pay as you go teams with a valid payment method; use poolside/laguna-s-2.1-free.
Try Laya free
Limited / conditionalLaya and Laya Free via Boundless are free through 2026-10-31. Standard becomes paid afterward; -free stops serving.
Free or Pay as you go teams with a valid payment method; use the Laya or Laya Free route through Boundless.
Ends: 2026-10-31
Ling Sante free promotion
Not includedThe historical free promotion has ended. Current input/output/cache-read prices are $0.075/$0.22/$0.015 per million tokens.
Historical Ling Sante promotion.
Try Nemotron free
Limited / conditionalNemotron 3.5 Lightning Free is a non-production trial. All prompts and outputs are logged to improve models.
Free or Pay as you go teams with a valid payment method; use nvidia/nemotron-3.5-lightning-free.
Team provider allowlist
IncludedRequires Vercel Pro or Enterprise.
Provider order is a preference; only is an allowlist
IncludedThe only filter runs before ordering. Providers omitted from order may still participate. Sort by cost, ttft or tps; health affects the order.
AI SDK Python beta
IncludedGateway request rate limits
IncludedNo Gateway rate limits; upstream provider limits still apply.
Global, US or EU inference
IncludedDefault global; zone requires us/eu. Unsatisfied regional constraints return 400 without cross-region fallback. Provider inference and storage follow the selected region; Gateway TLS and processing may occur in any Vercel region.
Per-request provider only has no surcharge
IncludedPer-request ZDR has no surcharge
IncludedRequires Vercel Pro or Enterprise.
Provider ordering, filtering and failover
IncludedTrace Drains
IncludedRequires Vercel Pro or Enterprise.
Disallow prompt training filter
IncludedVolume commitments and Enterprise invoicing
IncludedContact sales for volume-commitment discounts. Enterprise supports invoice billing without payment-processing fees.
Zero data retention filter
IncludedRequires Vercel Pro or Enterprise.
More capabilities and limits
Configurable auto-reload · ✓
Auto-reload enabled by default · —
Default route training use · Not used for training
Zero data retention · ✓
Default route training use · Not used for training
Zero data retention · ✓
Commercial use · Conditional
FreeSelected-model and provider terms apply; Stealth prohibits personal data and trial routes may prohibit production use.
Payment method required · ✓
FreeProcessing fees · May apply
FreeFree grants stop after purchase · ✓
FreeDefault training use
FreeGateway does not train on content; upstream defaults depend on the provider. Enable the no-training filter when needed.
Maximum output · 128000 tokens
Claude Sonnet 4.6Maximum output · 0 tokens
Laya (Free)Maximum output · 0 tokens
LayaMaximum output · 8000 tokens
DeepSeek V3.2Maximum output · 65535 tokens
Gemini 2.5 FlashMaximum output · 32000 tokens
Ling 3.0 Flash SanteMaximum output · 65000 tokens
Nemotron 3.5 Lightning FreeMaximum output · 128000 tokens
GPT 5.4Deprecation date · 2026-10-31T00:00:00Z
Laguna S 2.1 FreeMaximum output · 32768 tokens
Laguna S 2.1 FreeMaximum output · 256000 tokens
Glyph ClusterMaximum output · 0 tokens
JevCommercial use · Conditional
Pay as you goSelected-model and provider terms apply; Stealth prohibits personal data and trial routes may prohibit production use.
Processing fees · May apply
Pay as you goDefault training use
Pay as you goGateway does not train on content; upstream defaults depend on the provider. Enable the no-training filter when needed.
Data retention
Request bodies are deleted after completion and are not used for training. Metadata retains status, model, provider, tokens, cost, duration, authentication and routing. Upstream provider policies apply.
Routing log retention · 30 days
Route data retention
The trial endpoint logs all prompts and outputs to improve models; production and business-critical use is prohibited.
Route data retention
The provider may retain prompts and outputs and use them for training. Personal data is prohibited; ZDR and no-training filters are unavailable.
Models and access
Claude Sonnet 4.6
Maximum output: 128000 tokens.
Team has purchased Gateway Credits.
Team has never purchased Gateway Credits, has a valid payment method and uses free-tier eligible models.
Laya (Free)
Maximum output: 0 tokens.
Team has purchased Gateway Credits.
Team has never purchased Gateway Credits, has a valid payment method and uses free-tier eligible models.
Laya
Maximum output: 0 tokens.
Team has purchased Gateway Credits.
Team has never purchased Gateway Credits, has a valid payment method and uses free-tier eligible models.
DeepSeek V3.2
Maximum output: 8000 tokens.
Team has purchased Gateway Credits.
Team has never purchased Gateway Credits, has a valid payment method and uses free-tier eligible models.
Gemini 2.5 Flash
Maximum output: 65535 tokens.
Team has purchased Gateway Credits.
Team has never purchased Gateway Credits, has a valid payment method and uses free-tier eligible models.
Ling 3.0 Flash Sante
Maximum output: 32000 tokens.
Team has purchased Gateway Credits.
Team has never purchased Gateway Credits, has a valid payment method and uses free-tier eligible models.
Nemotron 3.5 Lightning Free
Maximum output: 65000 tokens.
Team has purchased Gateway Credits.
Team has never purchased Gateway Credits, has a valid payment method and uses free-tier eligible models.
GPT 5.4
GPT-5.4 azure provider endpoint.
GPT-5.4 openai provider endpoint.
Maximum output: 128000 tokens.
Team has purchased Gateway Credits.
Team has never purchased Gateway Credits, has a valid payment method and uses free-tier eligible models.
Laguna S 2.1 Free
Maximum output: 32768 tokens.
Team has purchased Gateway Credits.
Team has never purchased Gateway Credits, has a valid payment method and uses free-tier eligible models.
Glyph Cluster
Maximum output: 256000 tokens.
Team has purchased Gateway Credits.
Team has never purchased Gateway Credits, has a valid payment method and uses free-tier eligible models.
Jev
Maximum output: 0 tokens.
Team has purchased Gateway Credits.
Team has never purchased Gateway Credits, has a valid payment method and uses free-tier eligible models.
Model rates
| Model / tier | Input | Cache read | Cache write | Output |
|---|---|---|---|---|
| Claude Sonnet 4.6 | 3 | 0.3 | 3.75 | 15 |
| Claude Sonnet 4.6region-eu Rate conditions: region-eu | 3.3 | 0.33 | 4.125 | 16.5 |
| Claude Sonnet 4.6region-us Rate conditions: region-us | 3.3 | 0.33 | 4.125 | 16.5 |
| Laya (Free) | 0 | — | — | 0 |
| Laya | 0 | — | — | 0 |
| DeepSeek V3.2 | 0.62 | — | — | 1.85 |
| Gemini 2.5 Flash | 0.3 | 0.03 | — | 2.5 |
| Gemini 2.5 Flashregion-eu Rate conditions: region-eu | 0.3 | 0.03 | — | 2.5 |
| Gemini 2.5 Flashregion-us Rate conditions: region-us | 0.3 | 0.03 | — | 2.5 |
| Gemini 2.5 Flashservice-flex Rate conditions: service-flex | 0.15 | — | — | 1.25 |
| Gemini 2.5 Flashservice-priority Rate conditions: service-priority | 0.54 | 0.054 | — | 4.5 |
| Ling 3.0 Flash Sante | 0.075 | 0.015 | — | 0.22 |
| Nemotron 3.5 Lightning Free | 0 | — | — | 0 |
| GPT 5.4 | 2.5 | 0.25 | — | 15 |
| GPT 5.4fast Rate conditions: fast | 5 | 0.5 | — | 30 |
| GPT 5.4region-us Rate conditions: region-us | 2.75 | 0.275 | — | 16.5 |
| GPT 5.4region-us-fast Rate conditions: region-us-fast | 5.5 | 0.55 | — | 33 |
| GPT 5.4service-flex Rate conditions: service-flex | 1.25 | 0.13 | — | 7.5 |
| GPT 5.4service-priority Rate conditions: service-priority | 5 | 0.5 | — | 30 |
| Laguna S 2.1 Free | 0 | — | — | 0 |
| Glyph Cluster | 0 | — | — | 0 |
| Jev | 0.042 | — | — | 0 |
Official sources
2026-10-14

