openrouter-typescript-sdk

Official

Unify 300+ models via the OpenRouter TS SDK.

AuthorOpenRouterTeam
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill enables developers to integrate 300+ AI models through a single, type-safe TypeScript SDK using the callModel pattern.

Core Features & Use Cases

  • Type-safe, IDE-friendly callModel interface for all supported models
  • Auto-generated model definitions via OpenAPI, enabling stable updates
  • Streaming and multi-turn conversation support with tooling integration
  • Suitable for building AI agents, assistants, and automated workflows in production
  • Real-world use: route inputs to different models based on context

Quick Start

Install the SDK with npm i @openrouter/sdk, then initialize the client with your API key and begin calling models using client.callModel.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: openrouter-typescript-sdk
Download link: https://github.com/OpenRouterTeam/agent-skills/archive/main.zip#openrouter-typescript-sdk

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.