OpenRouter gives you a single API to call 200+ language models from OpenAI, Anthropic, Google, Meta, and others without managing separate integrations. It's OpenAI SDK compatible, so you can swap it in as a drop-in replacement by just changing the base URL. The real value is in production scenarios where you want model fallbacks, cost optimization across providers, or the ability to A/B test different models without rewriting code. Streaming works as expected, pricing is pay-per-token with no subscriptions, and you avoid vendor lock-in since switching between GPT-4, Claude, or Gemini is just a model parameter change. Solid choice if you're building multi-model applications or want insurance against rate limits and outages from single providers.

skills.sh installs
413
GitHub stars
79
last updated
Aug 21, 2026

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill openrouter --agent claude-code

Installs into .claude/skills of the current project.

Files

OpenRouter - Unified AI API Gateway

Overview

OpenRouter provides a single API to access 200+ language models from OpenAI, Anthropic, Google, Meta, Mistral, and more. It offers intelligent routing, streaming, cost optimization, and standardized OpenAI-compatible interface.

Key Features:

  • Access 200+ models through one API
  • OpenAI-compatible interface (drop-in replacement)
  • Intelligent model routing and fallbacks
  • Real-time streaming responses
  • Cost tracking and optimization
  • Model performance analytics
  • Function calling support
  • Vision model support

Pricing Model:

  • Pay-per-token (no subscriptions)
  • Volume discounts available
  • Free tier with credits
  • Per-model pricing varies

Installation:

npm install openai  # Use OpenAI SDK
# or
pip install openai  # Python

Quick Start

1. Get API Key

# Sign up at https://openrouter.ai/keys
export OPENROUTER_API_KEY="sk-or-v1-..."

2. Basic Chat Completion

import OpenAI from 'openai';

Sponsors

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Category
Backend & APIs
First seen
Jun 3, 2026

More from bobmatnyc/claude-mpm-skills

All 158
1dpearson2699 avatarmetrickit-diagnosticsdpearson2699/swift-ios-skillsCollect and analyze on-device performance metrics and crash diagnostics using MetricKit. Use when setting up MXMetricManager, handling MXMetricPayload or MXDiag409skills.sh installs
2dpearson2699 avatarmusickit-audiodpearson2699/swift-ios-skillsIntegrate Apple Music playback, catalog search, and Now Playing metadata using MusicKit and MediaPlayer. Use when adding music search, Apple Music subscription 409skills.sh installs
3mblode avatarblog-postmblode/agent-skillsGenerates engaging long-form blog posts from source materials or a topic brief. Supports listicles, editorial tutorials, how-to articles, narrative essays, and 404skills.sh installs
4davila7 avatartelegram-bot-builderdavila7/claude-code-templatesExpert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, us403skills.sh installs
5jwynia avatarsleep-storyjwynia/agent-skillsWrite stories designed to help listeners fall asleep. Use for bedtime podcasts, meditation content, calming narratives, or any content where the goal is gentle 403skills.sh installs
6pproenca avatarreact-optimisepproenca/dot-skillsApplication-level React performance optimization covering React Compiler mastery, bundle optimization, rendering performance, data fetching, Core Web Vitals, st403skills.sh installs