Agent skill · marketing growth · jeremylongshore

openrouter-multi-provider

Use multiple AI providers (OpenAI, Anthropic, Google, Meta) through

Why this skill is useful

Provides domain-specific knowledge on using OpenRouter's unified API for multi-provider AI model comparisons and workflows.

What it needs

Requires curl, jq, python3 installed locally. Requires openrouter account access. About 5k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

OpenRouter Multi-Provider Overview OpenRouter's unified API lets you access models from OpenAI, Anthropic, Google, Meta, Mistral, and others with a single API key and endpoint. Model IDs use provider/model-name format. The same OpenAI SDK code works for any provider by simply changing the model ID. This skill covers provider comparison, cross-provider routing, feature normalization, and BYOK (Bring Your Own Key). Prerequisites A single OpenRouter API key exported as OPENROUTERAPIKEY — it covers every provider (OpenAI, Anthropic, Google, Meta, Mistral); see the openrouter-install-auth skill for setup curl and jq for the provider-landscape query Python 3.8+ with the OpenAI SDK (pip install openai) For BYOK only: your own provider API key (e.g. an OpenAI key) added in the OpenRouter dashboard under Settings > Integrations > Add Provider Key Instructions 1. Survey what's on offer per Provider Landscape: curl -s https://openrouter.ai/api/v1/models jq ... groups model IDs by their provider/ prefix and sorts by model count. 2. Benchmark candidates with comparemodels() from Cross-Provider Comparison — the same prompt at temperature=0 across Anthropic, OpenAI, Google, and Meta, capturing latency, tokens, and the actual serving endpoint (response.model). 3. Shortlist by task using the Provider Strength Matrix — Anthropic for analysis/long context, OpenAI for code and tool calling, Google for multimodal and 1M context, Meta for budget work, Mistral for European data residency. 4. Pin or fail over per Provider-Specific Routing: provider.order with allowfallbacks: False forces one provider (e.g. for regulated data); allowfallbacks: True fails across providers such as Anthropic → AWS Bedrock. 5. For high-volume production, configure BYOK — requests route to your own provider key with the first 1M requests/month free, then 5% of normal provider cost. 6. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/openrouter-multi-provider

View the source on GitHub

Browse the @skills marketplace