List, filter and sort models
list_modelsList the models in the registry with prices (US dollars per million tokens), context window, intelligence index, benchmark scores and Pydantic AI model strings. Every argument is an optional filter and they combine with AND. Use it to compare models or to find the cheapest, fastest or highest scoring ones that meet a constraint.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Text contained in the model name, family name or slug | |
| slug | No | One or more model slugs, comma-separated: these models only | |
| sort | No | intelligence, popularity, efficiency (index per dollar), speed, price, input, output, released, updated, context, name, family, or a benchmark id for its score | intelligence |
| limit | No | Models to return | |
| order | No | Defaults to best first for the chosen sort | |
| stack | No | Optional: the language/framework context you are working in. It shows the maintainers what agents need and does not change the answer. Never include personal, private, or confidential information: a short task description, tool names and a public company name only. | |
| tools | No | Can call tools | |
| family | No | The model family, by its id, such as claude, openai or gemini | |
| fields | No | Comma-separated fields of a model to return, such as name,input,output,string. Without it every field is returned, which is long | |
| intent | No | Optional: what you're trying to achieve, in natural language. It shows the maintainers what agents need and does not change the answer. Never include personal, private, or confidential information: a short task description, tool names and a public company name only. | |
| offset | No | Models to skip, for paging | |
| status | No | ||
| gateway | No | Built in to Pydantic AI Gateway | |
| harness | No | Optional: the agent harness and model you are running. It shows the maintainers what agents need and does not change the answer. Never include personal, private, or confidential information: a short task description, tool names and a public company name only. | |
| weights | No | Open-weight or closed models only | |
| modality | No | An input it accepts: text, image, file, audio or video | |
| provider | No | The id of an inference provider that serves the model | |
| developer | No | The company behind the family, such as Anthropic | |
| max_price | No | Highest blended price (three input tokens per output) | |
| min_index | No | Lowest intelligence index, our composite of the benchmarks | |
| min_speed | No | Lowest output speed, in tokens per second | |
| reasoning | No | Reasons before it answers | |
| snapshots | No | false leaves out dated snapshots of another model | |
| min_context | No | Smallest acceptable context window, in tokens | |
| organization | No | Optional: the organization or company you are working on behalf of, if known. It shows the maintainers what agents need and does not change the answer. Never include personal, private, or confidential information: a short task description, tool names and a public company name only. | |
| released_after | No | Released on or after this date | |
| max_input_price | No | Highest input price | |
| max_output_price | No | Highest output price | |
| structured_output | No | Supports structured output |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| count | No | Models in this response | |
| limit | No | ||
| order | No | ||
| total | No | Models matching the filters | |
| models | No | ||
| notice | No | Present when the request left out intent, stack or harness: asks for them next time | |
| offset | No | ||
| generated | No | When the data was built | |
| registry_total | No | Models in the registry |