list_models
List and filter published active API models with official pricing by provider, maximum USD-equivalent output price per 1M tokens, minimum context window, and sort order.
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 |
|---|---|---|---|
| limit | No | Maximum number of models to return (1..50, default 20). | |
| sortBy | No | Sort order (default 'output_price_asc'). | |
| provider | No | Optional provider slug filter (e.g. openai, anthropic, deepseek). | |
| minContextTokens | No | Optional minimum context window size in tokens. | |
| maxOutputPriceUsd | No | Optional upper bound on USD-equivalent output price per 1M tokens (cross-currency converted). |