OpenRouter provides a unified API to access hundreds of LLM models from different providers (OpenAI, Anthropic, Google, Meta, and more) with automatic routing, cost tracking, and performance monitoring. Use this skill to make API calls to any OpenRouter model, compare responses across models, track costs and latency, and optimize model selection.
The scripts/callopenrouter.sh script provides a flexible CLI interface:
Example: If a model costs $0.0000025/token for prompts and $0.000002/token for completions, and uses 14 prompt + 277 completion tokens:
Используйте этот навык, когда пользователь хочет вызывать различные модели LLM через унифицированный API OpenRouter, сравнивать ответы моделей, отслеживать затраты и время ответа или находить лучшую модель для задачи. Триггеры включают запросы на тестирование моделей, тестирование производительности, использование конкретных поставщиков (OpenAI, Anthropic, Google и т. д.) или оптимизацию по скорости/стоимости. Источник: rawwerks/raygent-skills.