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.
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-modelsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/OpenRouterTeam/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/openrouter-models ~/.gemini/antigravity-cli/skills/openrouter-modelsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
