openrouter-model-availability
Installation
SKILL.md
OpenRouter Model Availability
Overview
OpenRouter's /api/v1/models endpoint is the source of truth for model availability. Models can be temporarily unavailable, have degraded performance, or be permanently removed. This skill covers querying model status, building health probes, tracking availability over time, and automating failover.
Prerequisites
- An OpenRouter API key exported as
OPENROUTER_API_KEYfor live probes (the catalog query itself needs no auth) — see theopenrouter-install-authskill for setup curlandjqfor the catalog status queries and the cron monitoring script- Python 3.8+ with the OpenAI SDK and
requests(pip install openai requests) for the health-check service - A small credit balance — each
max_tokens: 1probe costs roughly $0.0001