{"slug": "virtual-models-now-available-on-ai-gateway", "title": "Virtual models now available on AI Gateway", "summary": "Vercel added virtual models to its AI Gateway, letting teams save a model-plus-settings configuration under a custom ID such as `vmc/coding-agent` and call it from apps and agents. Changing the underlying model or settings in AI Gateway takes effect without redeploying apps or reconfiguring agents, and the configurations can enforce provider routing, fallback models and Zero Data Retention, and attach custom reporting tags for spend attribution. Virtual models work with every model type on AI Gateway and can be created on the Virtual Models page or via the Vercel CLI.", "body_md": "[Virtual models](https://vercel.com/docs/ai-gateway/models-and-providers/virtual-models) are now available on [AI Gateway](https://vercel.com/ai-gateway). \n\nA virtual model is a saved configuration that tells AI Gateway which model and settings to use. Your apps and agents call it with a custom model ID, such as `vmc/coding-agent`. You can change the model or settings centrally in AI Gateway without redeploying your apps or reconfiguring your agents.\n\nUse virtual models to:\n\n**Configure coding agents:** Set reasoning effort, fast mode, prompt caching, and other options even when your agent doesn’t expose them.\n\n**Control routing and compliance:** Choose providers, configure fallback models, and enforce requirements such as [Zero Data Retention](https://vercel.com/docs/ai-gateway/security-and-compliance/zdr).\n\n**Attribute spend:** Attach [custom reporting](https://vercel.com/docs/ai-gateway/observability-and-spend/custom-reporting) tags to every request that uses the virtual model.\n\nTo create a virtual model, open the [Virtual Models page](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai-gateway%2Fvirtual-models&title=AI+Gateway+Virtual+Models) and click **Create Virtual Model**. Enter a slug, choose the underlying model, configure the settings you want requests to use, and save.\n\nOr create one with the [Vercel CLI](https://vercel.com/docs/cli/ai-gateway#virtual-models):\n\nTo use a virtual model, replace the provider model ID in your AI SDK or compatible API requests with `vmc/<slug>`, such as `vmc/coding-agent`.\n\nFor [coding agents](https://vercel.com/docs/ai-gateway/coding-agents), connect to AI Gateway with `vercel ai-gateway setup` if needed, then select your virtual model in the agent’s model picker or configuration.\n\nVirtual models work with every model type on AI Gateway. Read the [launch post](https://vercel.com/blog/ai-gateway-virtual-models) for examples or learn more in the [virtual models documentation](https://vercel.com/docs/ai-gateway/models-and-providers/virtual-models).", "url": "https://wpnews.pro/news/virtual-models-now-available-on-ai-gateway", "canonical_source": "https://vercel.com/changelog/virtual-models-now-available-on-ai-gateway", "published_at": "2026-10-28 00:00:00+00:00", "updated_at": "2026-10-28 23:44:41.833924+00:00", "lang": "en", "topics": ["ai-infrastructure", "ai-agents", "developer-tools", "ai-tools", "large-language-models"], "entities": ["Vercel", "AI Gateway", "Vercel CLI", "AI SDK", "Zero Data Retention"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/virtual-models-now-available-on-ai-gateway", "markdown": "https://wpnews.pro/news/virtual-models-now-available-on-ai-gateway.md", "text": "https://wpnews.pro/news/virtual-models-now-available-on-ai-gateway.txt", "jsonld": "https://wpnews.pro/news/virtual-models-now-available-on-ai-gateway.jsonld"}}