正在加载视频...

视频加载失败

Introducing virtual models on AI Gateway. Use a single virtual model ID across agents to: • Centrally manage model strings and configs • Immediately update to new models • Enforce Zero Data Retention Read the blog post →

68,865 次观看 • 12 天前 •via X (Twitter)

22 条评论

Hershal Rao 的头像
Hershal Rao12 天前

now i can break all my agents simultaneously with one click

RobertGotuje 的头像
RobertGotuje12 天前

finally an env var with a blog post

Vini Ensina | Claude Code & IA 的头像
Vini Ensina | Claude Code & IA12 天前

one gotcha before you repoint a virtual model to another lab: provider options are per provider, so an anthropic-only setting just stops applying on openai. create vmc/coding-agent-candidate on the new model, run evals there, then edit the real one

Max Petrusenko 的头像
Max Petrusenko12 天前

an alias that resolves on your side means the model can change under a caller without a deploy. log the resolved model id on every request, or the first sign of a swap is a batch of runs that suddenly read differently. what does the alias return when the target model is down?

ShadowAguy 的头像
ShadowAguy12 天前

beats find and replace every time Anthropic updates a date.

Deep 的头像
Deep12 天前

one central model name beats ten agents with hardcoded strings.

Adrian Castellar 的头像
Adrian Castellar12 天前

Model IDs hardcoded in every agent config was never going to last. A layer that resolves them makes sense.

Mohammed S. 的头像
Mohammed S.12 天前

Can I replay a failed run with the exact model config it used? Otherwise I might be debugging yesterday's failure with today's settings.

one.dyor 的头像
one.dyor12 天前

baking the model string into every agent is the real lock-in. a virtual id is just config you can flip

The SI Maximalist 的头像
The SI Maximalist12 天前

A single model ID across agents is a lovely way to retire the “which config still points at the old model?” scavenger hunt

Aryah Oztanir 的头像
Aryah Oztanir11 天前

gateway is 16x smaller than OR right? and they are the second biggest comp, no? nuts

David T Kramaley 的头像
David T Kramaley12 天前

nice, gives a layer to swap models and enforce retention policies

Véu 👁️ 的头像
Véu 👁️12 天前

The strong part is precedence: virtual model settings win over request settings, so an agent can't disable ZDR or pick its own fallbacks. Model governance moves from code review into the gateway. The candidate-ID pattern for evals before switching production is a nice touch.

Kizuno18 的头像
Kizuno1812 天前

virtual model IDs solve the biggest operational nightmare of fleet-scale agent deployments: configuration coupling. 1. decoupling agent code from upstream lifecycle churn hardcoding specific model strings across dozens of agent services means every model deprecation or version bump requires 30 PRs and redeploys. routing through semantic virtual IDs (e.g. fast-triage, code-orchestrator) moves model selection from code to runtime configuration. 2. dynamic failover without session tear-down if an upstream provider has a regional outage or hits a 429 rate limit mid-task, an agent without a gateway simply crashes. virtual models enable instant circuit-breaking: transparently rerouting the request to an equivalent provider with zero state loss and zero client restarts. 3. centralized zero data retention (ZDR) policy enforcement you can't rely on individual developers or subagents to remember to pass proper privacy flags. enforcing ZDR and token budgets at the gateway boundary guarantees organizational compliance before requests ever leave your VPC. dynamic proxying is mandatory once you move beyond toy scripts to 24/7 autonomous workloads

Ted 的头像
Ted12 天前

what if my users don’t want to pay api prices

Ankesh | Thinking AI 的头像
Ankesh | Thinking AI12 天前

Model aliases fix the most boring real problem in AI teams: someone's prod still pinned to last year's model.

ReignSwords 的头像
ReignSwords12 天前

The useful question is governance, not convenience: can a virtual model be pinned and rolled out gradually, or does 'immediately update' mean every agent silently switches at once? One ID is great until a model change alters behavior with no code diff to blame.

Vlad Gerasimchuk 的头像
Vlad Gerasimchuk12 天前

One virtual model ID across agents is a clean abstraction. Swap models without rewriting code. That is how agent systems stay flexible.

Code With Jerry | AI Tips 的头像
Code With Jerry | AI Tips12 天前

One model ID to manage configs, switch models, and enforce zero data retention makes running multi-agent systems a lot simpler.

Lachy 的头像
Lachy12 天前

for the zero data retention part: if the model a virtual id points at has no zdr route, does the request fail outright or quietly get served somewhere else?

William Lopez-Cordero 的头像
William Lopez-Cordero12 天前

@bot take a look at this

XYO 的头像
XYO11 天前

The upgrade checklist would like to apply for early retirement.

相关视频