openrouter-typescript-sdk

Installation
SKILL.md

OpenRouter TypeScript SDK

A comprehensive TypeScript SDK for interacting with OpenRouter's unified API, providing access to 300+ AI models through a single, type-safe interface. This skill enables AI agents to leverage the callModel pattern for text generation, tool usage, streaming, and multi-turn conversations.


Installation

npm install @openrouter/sdk

Setup

Get your API key from openrouter.ai/settings/keys, then initialize:

import OpenRouter from '@openrouter/sdk';
Installs
1.9K
GitHub Stars
28
First Seen
Jan 19, 2026
openrouter-typescript-sdk — openrouterteam/agent-skills