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-models

Skill by OpenRouterTeam

Queries OpenRouter for available AI models, pricing, context lengths, capabilities, and per-provider latency and uptime. Aimed at users who want to search, filter, or compare models on OpenRouter.

  • Score 72
  • 333 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install openrouter-models

Built from the published package, never by AI.

git clone --depth 1 https://github.com/OpenRouterTeam/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/openrouter-models ~/.claude/skills/openrouter-models

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

Step-by-step: install openrouter-models in Claude Code

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

About

This agent skill gives an assistant live access to the 300+ AI models listed on OpenRouter. It runs TypeScript scripts that list models by category, sort them by price, context, newest, or throughput, search by name or modality, and resolve informal model names to exact IDs. Other scripts compare models side by side with pricing per million tokens and show per-provider latency, throughput, and uptime.

The scripts are run with npx tsx after an npm install step. An OPENROUTER_API_KEY is optional for most scripts but is required for the provider performance script. The skill is meant for people who ask about OpenRouter models, their pricing, context lengths, supported parameters, or which provider is fastest for a given model.

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

What it can do

  • list-models.tsLists all available models, with category and sort options.
  • search-models.tsSearches models by name or filters them by modality such as image.
  • resolve-model.tsMaps an informal model name to an exact OpenRouter model ID using fuzzy matching.
  • compare-models.tsCompares two or more models with pricing per million tokens.
  • get-endpoints.tsShows per-provider latency, throughput, uptime, and pricing for a model.

What you need

  • OpenRouter API key for provider performance data (get-endpoints.ts)
  • npm and npx to install and run the scripts

Try asking

  • What is the cheapest model on OpenRouter right now?
  • Compare Claude Sonnet 4 and GPT-4o on price and context length.
  • Which provider is fastest for Claude Sonnet 4?

Good to know

  • OPENROUTER_API_KEY is required only for get-endpoints.ts.
  • compare-models.ts uses exact ID matching, so variants like gpt-4o-mini are not matched.
  • Models with an upcoming expiration_date trigger a stderr warning.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

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

Alternatives to openrouter-models

All alternatives →

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

openrouter-models: common questions

Does this skill need an OpenRouter API key?

Not for most scripts. The OPENROUTER_API_KEY is required only for get-endpoints.ts, which provides provider performance data.

How many models can it search?

The source says it covers the 300+ AI models available on OpenRouter, using live data.

What happens if I use an informal model name?

Run resolve-model.ts first. It returns a confidence level and score, and the resolved ID can then be used in other scripts.

How do I install openrouter-models?

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

Is openrouter-models free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is openrouter-models safe to use?

It scores 72 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to openrouter-models?

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

openrouter-models Install

Add to stack

Loading.