CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

openrouter

Query 300+ AI models via OpenRouter API from Telegram

Quality

66%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./skills/openrouter/SKILL.md
SKILL.md
Quality
Evals
Security

OpenRouter Skill

Access 300+ AI models via OpenRouter API directly from Telegram.

When to Use This Skill

Use when the user wants to:

  • Query a specific AI model (Claude, GPT, Gemini, etc.)
  • Compare responses from different models
  • Use models not available in OpenClaw's default setup
  • Access cutting-edge or specialized models

Setup

API key is already configured in ~/.openclaw/.env as OPENROUTER_API_KEY.

Usage

Basic Query

Say: openrouter <query>

Example:

openrouter what is the capital of france?

Specify Model

Say: openrouter <model> <query>

Example:

openrouter claude-opus what is quantum computing?
openrouter gpt-4 explain bitcoin
openrouter gemini-pro summarize this text

List Available Models

Say: openrouter list or openrouter models

Model Categories

Common model prefixes:

  • claude-* - Anthropic Claude models
  • gpt-* - OpenAI GPT models
  • gemini-* - Google Gemini models
  • llama-* - Meta Llama models
  • mistral-* - Mistral AI models

How It Works

  1. User sends query in Telegram
  2. Agent detects "openrouter" keyword
  3. Script calls OpenRouter API
  4. Response sent back to Telegram

Commands

CommandAction
openrouter <query>Query with default model (auto)
openrouter <model> <query>Query specific model
openrouter listList popular models
openrouter modelsList all available models

Model Discovery

Models change frequently. Use openrouter list to see current options.

Popular models:

  • openrouter/auto - Automatic best model selection
  • anthropic/claude-opus-4 - Latest Claude Opus
  • anthropic/claude-sonnet-4 - Latest Claude Sonnet
  • openai/gpt-4 - GPT-4
  • google/gemini-pro - Gemini Pro

Technical Details

API Endpoint: https://openrouter.ai/api/v1/chat/completions

Authentication: Bearer token (OPENROUTER_API_KEY)

Rate Limits: Varies by model and account tier

Resources

  • OpenRouter Docs: https://openrouter.ai/docs
  • Browse Models: https://openrouter.ai/models
  • Get API Key: https://openrouter.ai/settings/keys
Repository

teeclaw/phorm-nft

Path

skills/openrouter/SKILL.md

Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.