AI model info
model_infoPrice per million tokens, context window, max output and retirement date of AI models (OpenRouter catalog). Use before writing a model ID in code or estimating costs. With model_id returns one model; with provider or query returns a list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| model_id | No | Exact ID in provider/model form, e.g. "anthropic/claude-x" | |
| provider | No |