openrouter-models

Test free OpenRouter models and select the best for coding tasks.

1|Updated Jul 16, 2025
One-click install
npx skills add https://github.com/ryanmaclean/vibecode-webgui --skill openrouter-models
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openrouter-models
Source: https://github.com/ryanmaclean/vibecode-webgui/tree/main/.claude/skills/openrouter-models
Command: npx skills add https://github.com/ryanmaclean/vibecode-webgui --skill openrouter-models

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps developers minimize cost and maximize coding performance by identifying and testing free OpenRouter models, then selecting the best available option for code generation tasks.

Core Features & Use Cases

  • List Free Models: fetch and enumerate all models with zero pricing from OpenRouter.
  • Test Models: verify a model responds correctly to a simple prompt before use.
  • Auto-Select: pick the best-performing free model for coding tasks.
  • Fallback: gracefully switch to cheap paid models if no free options work.

Quick Start

Use the skill to list free models, test a specific model, and auto-select the best available model for coding tasks.

  • List all free models: python3 scripts/openrouter_free_model_selector.py --list
  • Test a specific model: python3 scripts/openrouter_free_model_selector.py --test "qwen/qwen3-coder:free"
  • Auto-select best model (verbose): python3 scripts/openrouter_free_model_selector.py -v
  • Get model ID only for scripting: MODEL=$(python3 scripts/openrouter_free_model_selector.py); echo "Using: $MODEL"

Frequently Asked Questions about openrouter-models

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

FAQPage Schema
How do I find the best free OpenRouter model for coding tasks?

To find the best free OpenRouter model for coding, you can use a Python script that queries the OpenRouter API, filters for zero-pricing models, and tests their responsiveness to return the top working option.

How do I test if a specific free OpenRouter model responds correctly before using it?

You can test a specific free OpenRouter model by running a Python script with the --test flag and the model ID, which verifies the model responds correctly to a simple prompt before integration.

What happens if no free OpenRouter models are working for my code generation tasks?

If no free OpenRouter models are working, the selection script gracefully falls back to cheap paid models to ensure your code generation tasks can proceed without interruption.

Do I need an OPENROUTER_API_KEY to list and select free models?

Yes, you need an OPENROUTER_API_KEY environment variable configured to query the OpenRouter API for model metadata, perform health checks, and execute the selection script.

Can I get just the model ID from the OpenRouter selector for use in shell scripting?

Yes, you can execute the Python selection script and capture the output to get the model ID only, allowing you to dynamically assign it to a shell variable for automated workflows.

What is the best way to minimize cost and maximize coding performance with OpenRouter?

The best way to minimize cost and maximize coding performance is by identifying, testing, and auto-selecting the best-performing free OpenRouter models before falling back to paid options.