[KongchangAI]
Concept虚拟模型

Virtual Models

A capability in an AI gateway that abstracts model identifiers and parameter configurations into reusable IDs, moving model switching and configuration governance from the application code layer to the gateway layer. It supports centralized permission governance, candidate model evaluation and versioned management.

Timeline (last 90 days)

Oct 28

AI Gateway has launched the "Virtual Models" feature, which abstracts model selection and parameter configuration from application code into configuration saved on the gateway side; callers invoke it via a custom model ID (such as vmc/coding-agent), and the underlying model and settings can be modified centrally without redeploying the application or Agent.

Unverified50%
Oct 28

Virtual models can be used for coding Agents, forcibly injecting settings such as reasoning effort, fast mode, and prompt caching into Agents that do not themselves expose these options, without waiting for Agent-side support.

Unverified50%
Oct 28

Virtual models can specify which providers to use, configure fallback models, and enforce compliance requirements such as zero data retention (ZDR), so that compliance policies are enforced uniformly at the gateway layer rather than relying on each caller.

Unverified50%
Oct 28

Each request using a virtual model can have custom reporting tags attached, making it easy to attribute spending to a specific project or team.

Unverified50%
Oct 28

When using a virtual model, simply replace the original provider model ID with `vmc/<slug>` (such as `vmc/coding-agent`) in AI SDK or compatible API requests to invoke it.

Unverified50%
Oct 28

The cost of virtual models is one extra hop of indirection; the benefits are decoupling configuration changes from code releases, enforceable compliance policies, and clearer spending attribution; for teams with a single application calling a single model, the benefits are limited.

Unverified50%
Oct 28

For virtual models carrying production traffic, it is recommended to first create a candidate virtual model pointing to the new model and switch only after evaluation is complete; if quality drops, the original virtual model can be pointed back to the old model to roll back.

Unverified50%
Oct 28

The Virtual Models page shows the request count, spending and success rate for each task.

Unverified50%
Oct 28

Vercel AI Gateway has launched a Virtual Models feature that abstracts model strings and configurations into reusable IDs, moving model switching from the code layer to the gateway layer.

Unverified50%
Oct 28

Teams using coding Agents such as Claude Code and Codex can connect via vercel ai-gateway setup and select a virtual model in each harness's model selector or configuration.

Unverified50%

7 more timeline events

All Facts (17)

Unverified

Virtual models are compatible with all model types on AI Gateway, including image, video, speech, embedding and real-time models.

60%
Unverified

The cost of virtual models is one extra hop of indirection; the benefits are decoupling configuration changes from code releases, enforceable compliance policies, and clearer spending attribution; for teams with a single application calling a single model, the benefits are limited.

50%
Unverified

Virtual models can be used for coding Agents, forcibly injecting settings such as reasoning effort, fast mode, and prompt caching into Agents that do not themselves expose these options, without waiting for Agent-side support.

50%
Unverified

Virtual models can specify which providers to use, configure fallback models, and enforce compliance requirements such as zero data retention (ZDR), so that compliance policies are enforced uniformly at the gateway layer rather than relying on each caller.

50%
Unverified

Each request using a virtual model can have custom reporting tags attached, making it easy to attribute spending to a specific project or team.

50%
Unverified

When using a virtual model, simply replace the original provider model ID with `vmc/<slug>` (such as `vmc/coding-agent`) in AI SDK or compatible API requests to invoke it.

50%
Unverified

For virtual models carrying production traffic, it is recommended to first create a candidate virtual model pointing to the new model and switch only after evaluation is complete; if quality drops, the original virtual model can be pointed back to the old model to roll back.

50%
Unverified

The Virtual Models page shows the request count, spending and success rate for each task.

50%
Unverified

After a virtual model's configuration is changed, all applications and Agents that call that ID automatically adopt the new configuration within a few minutes, with no code changes or redeployment needed.

50%
Unverified

Teams using coding Agents such as Claude Code and Codex can connect via vercel ai-gateway setup and select a virtual model in each harness's model selector or configuration.

50%
Unverified

Virtual model IDs should be named to reflect task semantics rather than model names (such as coding-agent, support-triage), avoiding names tied to a specific model (such as claude-opus-agent).

50%
Unverified

If a virtual model requires Zero Data Retention or disallowPromptTraining, these security policies remain enforced even if the request explicitly sets them to false.

50%
Unverified

Tags on a virtual model replace the tags carried in the request, so that spending is accurately attributed to specific tasks.

50%
Unverified

Gateway-level settings on a virtual model such as fallback, Zero Data Retention and tags switch along with the virtual model, but provider-specific options take effect per provider, so provider options need to be rechecked when switching providers.

50%
Unverified

Settings on a virtual model take precedence over settings of the same name in a request, and callers cannot override the provider order, fallback or service tier set by the virtual model.

50%
Unverified

AI Gateway has launched the "Virtual Models" feature, which abstracts model selection and parameter configuration from application code into configuration saved on the gateway side; callers invoke it via a custom model ID (such as vmc/coding-agent), and the underlying model and settings can be modified centrally without redeploying the application or Agent.

50%
Unverified

Vercel AI Gateway has launched a Virtual Models feature that abstracts model strings and configurations into reusable IDs, moving model switching from the code layer to the gateway layer.

50%

Source Articles