Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

openrouter-model-availability

Skill by jeremylongshore

Monitors whether specific OpenRouter models are online and still listed in the catalog. Built for developers whose systems depend on particular models, with catalog checks, live health probes and a cron monitoring script.

  • Score 76
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install openrouter-model-availability

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/openrouter-model-availability ~/.claude/skills/openrouter-model-availability

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install openrouter-model-availability in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill checks the availability of OpenRouter models. It queries the public /api/v1/models catalog to confirm that a model exists and to read its context length and per-million pricing, without spending tokens. If a model is missing, it suggests same-provider model IDs as possible replacements.

For live status, it sends a minimal request with max_tokens set to 1 and records whether the model answered, the latency and a timestamp. A sweep function checks a list of critical models, and a bash script can run on a five-minute cron schedule and append status lines to a log file. The source recommends requiring two or three consecutive failures before marking a model down. It is intended for developers whose systems depend on specific models being online.

Written from the project's SKILL.md and checked against it.

What it can do

  • Catalog status queriesUses curl and jq to check listed models' context length and per-million pricing.
  • check_model_exists()Checks whether a model ID is in the catalog without making an API call.
  • find_similar()Suggests same-provider model IDs when a model is missing from the catalog.
  • probe_model()Sends a max_tokens 1 request and returns a HealthStatus with latency and timestamp.
  • check_critical_models()Probes a list of critical models and logs OK or FAIL with latency for each.
  • Availability monitoring scriptBash script for cron that appends timestamped status lines to a log file.

What you need

  • OpenRouter API key for live probes
  • curl and jq
  • Python 3.8+ with openai and requests
  • Small OpenRouter credit balance

Try asking

  • Is anthropic/claude-3.5-sonnet still in the OpenRouter catalog?
  • Run a health check on my critical OpenRouter models.
  • Suggest replacement models if openai/gpt-4o is removed.

Good to know

  • Live probes cost credits, roughly $0.0001 each according to the source.
  • Health checks can fail with a 402 error when credits are exhausted.
  • The catalog query needs no API key, but live probes do.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/.curated/openrouter-model-availability/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEditGrepBash(python3:*)Bash(curl:*)Bash(jq:*)

Alternatives to openrouter-model-availability

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

openrouter-model-availability: common questions

Does checking the model catalog cost anything?

The source says the catalog query uses no tokens and needs no auth. Only live probes spend credits.

How much does each health probe cost?

The source estimates roughly $0.0001 per probe when using max_tokens 1.

How can I avoid false down alerts?

The source advises requiring two or three consecutive failures before marking a model as down.

How do I install openrouter-model-availability?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is openrouter-model-availability free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is openrouter-model-availability safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.

What are alternatives to openrouter-model-availability?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

openrouter-model-availability Install

Add to stack

Loading.