list_models
Pack: openrouter · Endpoint: https://gateway.pipeworx.io/openrouter/mcp
List LLMs from the OpenRouter catalog (~340 models across all major providers) with normalized $/1M-token pricing, context windows, and modality. Filter by search, free-only, minimum context, or modality (e.g. “image” for vision models). Sorted cheapest-first by completion price. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
search | string | no | Case-insensitive substring match against model id, name, and description. e.g. “claude”, “gpt-4o”, “deepseek”. |
free_only | boolean | no | If true, only return models whose prompt price is $0 (free tier). |
min_context | number | no | Minimum context_length in tokens, e.g. 100000 or 200000. |
modality | string | no | Substring match on architecture.modality, e.g. “image” to find vision/multimodal models, “text->text” for text-only. |
limit | number | no | Max models to return (default 25, max 60). |
Example call
curl -X POST https://gateway.pipeworx.io/openrouter/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_models","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"openrouter": {
"url": "https://gateway.pipeworx.io/openrouter/mcp"
}
}
}
See Getting Started for client-specific install steps.