openrouter-model-catalog
Installation
SKILL.md
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
curlandjqfor the command-line catalog queries —GET /api/v1/modelsitself requires no auth- An OpenRouter API key exported as
OPENROUTER_API_KEYonly for the Special Routers completion example — see theopenrouter-install-authskill for setup - Python 3.8+ with
requestsfor filtering, plus the OpenAI SDK for theopenrouter/autoexample (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=toolsto filter to tool-calling models. - Read Model Object Shape to interpret each entry —
pricing.prompt/pricing.completionare per token (multiply by 1M for readable rates), pluscontext_length,top_provider.max_completion_tokens, andarchitecture.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}/endpointsper List Providers for a Model. - Pick behavior with a suffix per Model Variants (
:free,:nitro,:floor,:extended,:thinking), or delegate selection entirely toopenrouter/autoper Special Routers. - Sanity-check choices against the Popular Model Quick Reference, but always verify live pricing via
/api/v1/models— prices change frequently.