openrouter-models

Fetch live OpenRouter model data for discovery, comparison, and evaluation.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/yardenshoham/onepiece --skill openrouter-models-yardenshoham
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openrouter-models
Source: https://github.com/yardenshoham/onepiece/tree/main/.agents/skills/openrouter-models
Command: npx skills add https://github.com/yardenshoham/onepiece --skill openrouter-models-yardenshoham

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

OpenRouter Models helps developers quickly discover, compare, and evaluate AI models available on OpenRouter, including pricing, capabilities, and provider performance.

Core Features & Use Cases

  • Discover all available OpenRouter models with up-to-date metadata.
  • Compare models by price, context length, and throughput, or filter by category and modality.
  • Resolve informal model names to exact IDs for reliable scripting and automation.

Quick Start

Run the model discovery script to list available OpenRouter models.

Frequently Asked Questions about openrouter-models

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compare OpenRouter AI models by pricing and context length?

You can compare OpenRouter models by fetching live model data to evaluate pricing, context lengths, and modalities. The tool retrieves up-to-date metadata, enabling direct comparison of available models for your specific cost and context requirements.

Can I resolve informal AI model names to exact IDs for automation?

Yes, you can resolve informal model names to exact IDs. This functionality maps common names to the precise identifiers required for reliable scripting and automation within the OpenRouter ecosystem.

Do I need an OpenRouter API key to query model metadata?

You need an OPENROUTER_API_KEY to access provider performance endpoints. Basic model discovery and fetching general metadata like pricing and context lengths do not require this key.

What is the best way to filter OpenRouter models by modality and category?

The best way to filter models by modality and category is to fetch the live model data stream. This provides structured outputs containing capabilities and categories, allowing you to narrow down models for downstream analytics.

How does querying provider performance work on OpenRouter?

Querying provider performance works by requesting live data through specific endpoints. It requires an OPENROUTER_API_KEY to authenticate and retrieve throughput and latency metrics for different providers serving the models.