Openrouter
v0.2.1OpenRouter Models MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_models
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.
| Parameter | Type | Description |
|---|---|---|
free_only | boolean | If true, only return models whose prompt price is $0 (free tier). |
limit | number | Max models to return (default 25, max 60). |
min_context | number | Minimum context_length in tokens, e.g. 100000 or 200000. |
modality | string | Substring match on architecture.modality, e.g. "image" to find vision/multimodal models, "text->text" for text-only. |
search | string | Case-insensitive substring match against model id, name, and description. e.g. "claude", "gpt-4o", "deepseek". |
get_model
Get full details for one OpenRouter model by id — normalized $/1M pricing (prompt, completion, plus per-request/image/web-search costs), context window, modality, supported parameters, tokenizer, knowledge cutoff. e.g. id "anthropic/claude-sonnet-4.5". Keyless.
| Parameter | Type | Description |
|---|---|---|
id * | string | Exact model id, e.g. "anthropic/claude-sonnet-4.5", "openai/gpt-4o", "google/gemini-2.5-pro". |
compare_models
Side-by-side comparison of pricing ($/1M tokens), context window, and modality for 2-5 OpenRouter models. Answers "is claude-sonnet-4.5 cheaper than gpt-4o". Keyless.
| Parameter | Type | Description |
|---|---|---|
ids * | array | Array of 2-5 exact model ids, e.g. ["anthropic/claude-sonnet-4.5", "openai/gpt-4o"]. |