Skip to content
Source
Sign inSign up
TanStack/schemas

Serve provider aliases such as claude-opus-4-5 #112

Send to my agent
Closedtombeckenham opened this issue 0 comments
tombeckenhamcommented

Problem

The Anthropic catalog has only dated ids. The undated aliases that callers send are not rows, so a lookup by the alias fails.

Alias a caller sendsRow we have
claude-opus-4-5claude-opus-4-5-20251101
claude-sonnet-4-5dated row only
claude-haiku-4-5dated row only

GET /v1/models/anthropic/claude-opus-4-5 does not return the model.

The same may be true for other providers. These ids are on models.dev and not in our catalog. Some may be retired, so check each one against the provider's listing:

  • mistral: mistral-large-2411, mistral-medium-2508, mistral-small-2506, devstral-latest, devstral-2512, pixtral-large-latest, open-mistral-nemo
  • groq: llama-3.3-70b-versatile, llama-3.1-8b-instant, groq/compound, groq/compound-mini
  • openai: gpt-5.3-codex-spark

Ask

  1. Serve provider-documented aliases. Either add an alias row that points at the dated row, or add aliases: string[] on the dated row and resolve an alias on GET /v1/models/{provider}/{id}.
  2. Use a native source for the alias list (Anthropic's models overview page).
  3. For the Mistral, Groq, and OpenAI ids above: add the ones the provider still lists.

Acceptance

  • GET /v1/models/anthropic/claude-opus-4-5 returns the model, with the dated id it resolves to.
  • The alias carries the same rate card and reasoning as the dated row.
  1. tombeckenham added labelsenhancement

  2. tombeckenham closed this

Sign in to join this conversation.