AI

Agents Can Now Manage AI Gateway Through Vercel MCP

Developers can now instruct their agents to configure virtual models, routing rules, and spending budgets for AI Gateway using plain-language commands.

2 min readSource: Vercel Blog

Curated by Kandala Guruprasad. Drafted with AI and checked against the source.

Agents Can Now Manage AI Gateway Through Vercel MCP

TL;DR

  • Agents connected to Vercel MCP can now manage AI Gateway features including virtual model creation, routing rule configuration, and budget management through plain-language requests.
  • Virtual models allow you to create reusable model IDs with saved settings that can be updated independently without redeploying applications or updating client code.
  • Access requires team-level permissions and AI Gateway permissions, with existing Vercel team permissions still applying to agent actions.
  • Agents can inspect, update, restore virtual models, view and add routing rules, and configure spending budgets at team, project, and member levels.
Feature
AI Gateway management through
Capabilities
Virtual models, routing rules
Access Level
Team-level with AI Gateway

What happened

Vercel announced that agents connected to Vercel MCP can now manage AI Gateway through plain-language instructions. This integration lets developers ask their agents to handle model configuration, routing, and spending controls without manually toggling settings or writing deployment scripts.

What agents can now do

Agents can create virtual models—reusable model IDs that store configuration settings. For example, you can instruct an agent to create a virtual model named coding-agent that uses anthropic/claude-opus-5.5 with Zero Data Retention enabled. Once created, your applications and coding agents can reference that model using the virtual ID, such as vmc/coding-agent, instead of the full model name. The key advantage is that you can later change the underlying model or settings without updating client code or redeploying your application.

Beyond model creation, agents can list, inspect, update, and restore virtual models, giving you full lifecycle management through natural language. They can also manage routing rules—viewing, adding, and updating team-wide rules that redirect requests to another model or block them entirely. Additionally, agents can handle spending budgets by viewing and setting budget limits for your team, projects, and individual members, and they can configure default budget levels.

How to get started

To use this feature, connect your agent to Vercel MCP with team-level access and ensure it has the required AI Gateway permissions. Your existing Vercel team permissions continue to apply, so access control remains consistent with your organization's setup. Once connected, you can ask your agent to perform these operations using straightforward requests. For instance, asking your agent to 'Create a virtual model named coding-agent that uses anthropic/claude-opus-5.5 with Zero Data Retention enabled' will set it up immediately, ready for use across your applications.

Why this matters

This capability shifts AI Gateway management from manual dashboards and direct API calls to agentic workflows. It reduces friction for teams using agents in their development process, allowing a single agent to handle infrastructure concerns alongside code generation or analysis tasks. The virtual model pattern is particularly valuable because it decouples client code from specific model choices, making it easier to experiment with different models, swap providers, or adjust settings in response to cost or performance changes without triggering redeployments. For teams managing multiple projects or members, centralized budget configuration through an agent can simplify governance and spending oversight.

Source

Vercel Bloghttps://vercel.com/changelog/agents-can-now-manage-ai-gateway-through-vercel-mcp

AI-assisted, verified against the source. This post was drafted with AI from the primary source linked above and checked automatically against it. For anything you depend on, read the original.

  • #vercel
  • #aigateway
  • #agents
  • #mcp
  • #modelmanagement

More in AI