Vercel introduces Virtual Models on AI Gateway
Vercel introduced Virtual Models on AI Gateway, enabling teams to switch between 125 models without code redeploys while centrally enforcing data retention.
By Dillip Chowdary β’ Oct 31, 2026 β’ Source: Vercel Blog
Vercel launched Virtual Models on AI Gateway to separate model identifiers and operational configurations from application source code, according to Vercel Blog's report. Instead of hardcoding model strings across production codebases, engineering teams can now define a single virtual model identifier that specifies target models, fallback chains, priority rules, and Zero Data Retention policies centrally. When new models become available, teams update settings in AI Gateway so connected applications and agents inherit configurations automatically without requiring manual code changes or software redeployments.
This reporting examines how Virtual Models operate across enterprise architectures and agent frameworks to eliminate deployment friction. Technical leads, software developers, and platform engineers managing generative systems will see how this abstraction governs provider options, evaluation pipelines, and security controls across production workloads. The analysis breaks down operational improvements, administrative access rules, and unified usage telemetry across image, video, speech, embedding, and realtime models without imposing additional platform fees on inference or Bring Your Own Key requests across AI SDK and compatible interfaces.
What shipped in Vercel Virtual Models on AI Gateway
Vercel shipped Virtual Models as an abstraction layer within AI Gateway that assigns an alias string to specific foundation models and operational parameters. The capability functions across all model types supported on the gateway, including image, video, speech, embedding, and realtime systems. Developers implement the identifier directly in their applications, passing strings like vmc/coding-agent into inference functions like streamText from the AI SDK or routing requests through standard OpenAI-compatible and Anthropic-compatible application programming interfaces. Once implemented, the virtual model identifier remains persistent across client code while underlying configurations remain fully adjustable.
The release introduces deployment tooling through the Vercel dashboard and the command-line interface. Engineers configure a virtual model using vercel ai-gateway virtual-models create, assigning destination models such as anthropic/claude-opus-5.5 alongside configuration parameters like execution speed and Zero Data Retention. For autonomous coding harnesses including Claude Code and Codex, running vercel ai-gateway setup links local environments to the gateway, allowing engineers to pick configured virtual models directly from harness menus. Team role controls determine workspace editing permissions, ensuring that authorized team members govern model selections and global routing definitions.
What improved in Vercel Virtual Models on AI Gateway
Model availability on AI Gateway has accelerated rapidly, adding 125 new models from more than 10 research laboratories over the past 90 days, averaging about 10 new models each week. Previously, while AI Gateway enabled one-line model updates, those modifications lived in source code and demanded full application redeployments. Virtual Models shift configuration directly to the gateway: modifying an active identifier via vercel ai-gateway virtual-models edit to point at openai/gpt-6.1-sol propagates to connected applications and autonomous agents within a few minutes, completely removing deployment delays and release coordination across teams.
| Capability or Metric | Previous Code-Based Routing | Virtual Models on AI Gateway |
|---|---|---|
| Model Catalog Growth | 125 models in 90 days (~10 weekly) | 125 models in 90 days (~10 weekly) |
| Model Switch Propagation | Requires code commit and redeployment | Propagates in minutes with zero redeploys |
| Platform Inference Surcharge | Provider pricing with zero platform fee | Provider pricing with zero platform fee |
| Data Retention Enforcement | Client request parameters determine policy | Centrally enforced regardless of client tags |
| Task Cost Attribution | Dependent on individual caller tags | Unified by virtual model ID on dashboard |
Security enforcement and organizational cost attribution also see significant structural improvements. Previously, data privacy configurations depended on individual callers passing accurate parameters. Virtual Models establish authoritative control: if an identifier mandates Zero Data Retention or restricts training, those settings apply even if a client request explicitly sets zeroDataRetention or disallowPromptTraining to false. Centralized fallback models cannot be overridden by client calls, ensuring predictable failover for workflows like storefront assistants. Furthermore, virtual model tags replace incoming request tags, ensuring telemetry cleanly maps spend and success rates to intended tasks.
What you gain from Vercel Virtual Models on AI Gateway
Engineering organizations gain the ability to tailor foundation models to the economic and technical demands of distinct tasks. High-volume workloads like support ticket triage run hundreds of times hourly and require low latency and cheap operational costs, whereas tasks like legal contract review run only a few times daily but require deeper reasoning. Virtual Models let teams provision dedicated identifiers for every workflow, evolving target models, retry parameters, and fallback priorities independently. This task-level decoupling prevents overspending on routine tasks while ensuring complex tasks receive sufficient reasoning capacity across diverse business operations.
Teams gain centralized operational observability alongside safer evaluation procedures before deploying new models into production. The Virtual Models dashboard provides continuous visibility into total requests, financial spend, and success rates mapped to each specific task identifier. To validate model updates without risking user experience, engineers can route candidate identifiers like vmc/coding-agent-candidate to new checkpoints and execute evals prior to full cutover. If quality decreases, administrators can immediately redirect the primary virtual model ID back to the previous stable model within AI Gateway, maintaining enterprise service continuity without incurring additional platform fees.
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
How to get Vercel Virtual Models on AI Gateway
Developers can establish Virtual Models using the Vercel team dashboard or by executing CLI commands. Creating a new virtual model establishes the alias identifier, target foundation model, and baseline configuration rules. Applications integrate this identifier through the AI SDK by specifying the virtual model ID within the model string argument. For autonomous coding harnesses like Claude Code or Codex, engineers execute the setup command to link their tools to AI Gateway, allowing them to select the virtual model directly from configuration menus, interactive model pickers, or standard terminal launch commands.
vercel ai-gateway virtual-models create coding-agent \
--model anthropic/claude-opus-5.5 \
--config '{"speed":"fast","zeroDataRetention":true}'vercel ai-gateway setupnpm install -g @anthropic-ai/claude-codeclaude --model vmc/coding-agent/model vmc/coding-agentUpdating an active configuration requires a single command to change destination models without modifying application repositories. When teams decide to switch an identifier from Anthropic to OpenAI architectures, running the edit command repoints the routing target immediately. Because provider options apply strictly on a per-provider basis, engineers must review vendor parameters whenever changing providers so that incompatible vendor settings do not disrupt execution. The gateway propagates the new model to all client services within minutes, preserving centralized fallbacks, zero retention mandates, and tagging structures without manual code intervention.
vercel ai-gateway virtual-models edit coding-agent --model openai/gpt-6.1-solWhat to watch after Vercel Virtual Models on AI Gateway
Teams deploying Virtual Models must carefully manage provider-specific parameters during model migrations. While settings like fallback lists, Zero Data Retention enforcement, and task metadata tags remain permanently attached to the virtual model ID, vendor-specific options operate strictly on a per-provider basis. An Anthropic-specific parameter ceases to apply the moment an administrator points the virtual model to an OpenAI model. Teams must review provider options during vendor transitions to ensure prompt formatting and parameter handling behave predictably across downstream agent workflows and prevent unexpected runtime configuration drops.
Organizations should also monitor access controls, eval results, and routing overrides to protect production integrity. Because virtual model configurations take precedence over request-level parameters, client callers cannot override designated fallback chains, service tiers, or provider preferences. Administrators must maintain team role permissions within the dashboard to prevent unauthorized changes to shared identifiers like storefront assistants. Furthermore, teams should consistently run evaluation benchmarks using candidate identifiers before modifying live production endpoints, ensuring that model changes maintain expected quality benchmarks before deploying across high-traffic customer interfaces.
Developer Action Items
- β Diff the official changelog for OpenAI / Anthropic / Claude 5.5 before you bump β APIs, defaults, and removed flags only.
- β Install through the vendor's documented channel in staging; keep a one-command rollback and time-box the canary.
- β Grep your repo for old flag names, lockfile pins, and plugin versions that the notes mark as breaking.
- β Prefer the first patch cut over the day-zero tag unless you have a reason to be on the leading edge.
- β If Vercel Blog did not name a region, plan, or SKU, screenshot the official availability line before you promise it to users.
Vercel Virtual Models on AI Gateway FAQ
What is a Vercel Virtual Model on AI Gateway?
A Virtual Model is an abstraction of the model string and operational configurations that lets teams switch models, configure fallbacks and priority, and enforce Zero Data Retention centrally under one ID without code redeployments.
Does Vercel charge platform fees on Virtual Models?
AI Gateway reflects provider pricing without markup and does not charge a platform fee on inference, including on Bring Your Own Key requests.
How do Virtual Models enforce Zero Data Retention policies?
Settings on a virtual model override incoming request parameters, centrally enforcing Zero Data Retention and disallowing prompt training even if a client application sets those options to false.
Which model categories work with Virtual Models?
Virtual Models support all model types on AI Gateway, including image, video, speech, embedding, and realtime models, across the AI SDK and OpenAI- or Anthropic-compatible APIs.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement