| name | openrouter-model-catalog |
| description | Query, filter, and select from OpenRouter's 400+ model catalog. Use when choosing models, comparing pricing, or checking capabilities. Triggers: 'openrouter models', 'list models', 'model catalog', 'compare models', 'available models'.
|
| allowed-tools | Read, Write, Edit, Grep, Bash(python3:*), Bash(curl:*), Bash(jq:*) |
| version | 1.20.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","openrouter","models","catalog"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
OpenRouter Model Catalog
Overview
Query the GET /api/v1/models endpoint to browse 400+ models, filter by capabilities, compare pricing, and check provider endpoints. No API key required for the models endpoint.
Prerequisites
curl and jq for the command-line catalog queries — GET /api/v1/models itself requires no auth
- An OpenRouter API key exported as
OPENROUTER_API_KEY only for the Special Routers completion example — see the openrouter-install-auth skill for setup
- Python 3.8+ with
requests for filtering, plus the OpenAI SDK for the openrouter/auto example (pip install requests openai)
Instructions
- List the catalog per List All Models:
curl -s https://openrouter.ai/api/v1/models | jq '.data | length'; add ?supported_parameters=tools to filter to tool-calling models.
- Read Model Object Shape to interpret each entry —
pricing.prompt/pricing.completion are per token (multiply by 1M for readable rates), plus context_length, top_provider.max_completion_tokens, and architecture.modality.
- Filter programmatically per Python: Query and Filter — free models, tool-calling models, cheapest paid models sorted by prompt price, and 128K+ context models.
- Compare per-provider pricing and quantization for a single model via
GET /api/v1/models/{id}/endpoints per List Providers for a Model.
- Pick behavior with a suffix per Model Variants (
:free, :nitro, :floor, :extended, :thinking), or delegate selection entirely to openrouter/auto per Special Routers.
- Sanity-check choices against the Popular Model Quick Reference, but always verify live pricing via
/api/v1/models — prices change frequently.
List All Models
curl -s https://openrouter.ai/api/v1/models | jq '.data | length'
curl -s "https://openrouter.ai/api/v1/models?supported_parameters=tools" | jq