Lightlines
By openrouterarchived

openrouter-typescript-sdk

openrouterarchived2k installs

Build type-safe AI integrations through OpenRouter.

What it does

Guides TypeScript integrations that use OpenRouter for text generation, tools, streaming, and multi-turn conversations.

When to use it

Use when integrating AI models through the OpenRouter TypeScript SDK and its callModel pattern.

How to use it

It changes how the agent implements OpenRouter integrations in a TypeScript project by applying the callModel reference and examples.

What you provide

  • An existing project

Uses

Good to know

  • cannot be undone: OpenRouter API

Security reviews

Not yet reviewed.


What you need · 3

The OpenRouter TypeScript SDK package must be installed in the project.

API-key authentication requires an OpenRouter account from which a key can be created.


Access · 2

This skill

OpenRouter API

Write

Sends prompts to OpenRouter (irreversible)

@openrouter/sdk

Execute

Installs the OpenRouter SDK