~author/family-latest slugs always resolve to the newest concrete model in a given family, so you can ship code against a stable alias and pick up new releases without redeploying.
When a model author ships a new version (for example Anthropic releasing claude-opus-4.7), OpenRouter automatically starts routing ~anthropic/claude-opus-latest to it. Older code calling the alias keeps working — it just runs on the newest version.
This is ideal for:
Send a chat completion request with a ~author/family-latest slug as the model:
The response’s model field reflects the concrete model that actually served the request, not the alias you sent. This makes it trivial to log or alert on version rollovers:
Each ~author/family-latest slug is mapped to a model family on OpenRouter. When a request comes in:
~ prefix and identifies which family the alias points to (for example ~anthropic/claude-opus-latest → the Claude Opus family).model field reports the concrete model that served the request (for example anthropic/claude-opus-4.7), so you can always tell which version answered any given call.If a family has no eligible model available, the request returns an error rather than silently falling back to something unrelated.
~author/family-latest rows on the models page and in /api/v1/models responses report the pricing, context length, modalities, and supported parameters of the target they currently resolve to — not a frozen snapshot. This way:
When a new model is promoted to “latest”, these fields update automatically.
~anthropic/claude-sonnet-latest and get new releases for free.latest: The router always resolves to the newest eligible model. There is no built-in way to pin to “second newest” or to roll back through the alias — to downgrade, switch to a concrete slug.When you need reproducibility, bypass latest resolution by calling the concrete model slug directly:
You can see the exact slug your last request resolved to in the response’s model field (see above) or in the activity log for the request.
:free, :nitro, :thinking, and other suffixes