The Model object
An upstream model that routeur.ai knows how to route to. Models are read-only — the available set is managed by routeur.ai and reflects which provider keys are configured for your organisation.
Attributes
id
string
Concrete upstream model id, e.g.
gpt-4o-mini.provider
string
Upstream vendor —
openai, gemini, deepseek.aliases
array of string
Aliases callers can use in the request
model field that resolve to this model via the default mapping.context_window
integer
Maximum total tokens (prompt + completion) the upstream accepts.
pricing
object
USD per million tokens for
prompt and completion.configured
boolean
Whether an upstream credential is currently mounted for this provider. Unconfigured models cannot be routed to.