typescript-sdk is by OpenRouterTeam — not by us.
We indexed this project so people can find it. We are not selling it, we host no copy of the code, and we are not affiliated with or endorsed by its authors — get it from them.
Indexed Oct 19, 2026 · 264 stars at index time. Maintainers: claiming verifies your identity and unlocks a higher assurance tier. Removal requests are honored.
Component · for humans & their agents
typescript-sdk
unclaimed listingactively maintainedFreeApache-2.0
typescript-sdk, an open-source project.
by Open Source Community · New publisher
typescript-sdk, an open-source project.
OpenRouterTeam/typescript-sdk is an open-source project by OpenRouterTeam. Indexed here so it can be found — not resold.
It is free. Get it from the upstream repository: https://github.com/OpenRouterTeam/typescript-sdk
From the project's own README (excerpt, reproduced for discovery under its Apache-2.0 license):
OpenRouter TypeScript SDK
The OpenRouter TypeScript SDK is the official type-safe toolkit designed to build AI-powered features and solutions in any JS or TS runtime. It provides seamless access to 400+ leading AI models across providers combined with first-class TypeScript support.
To learn more about how to use the OpenRouter SDK, check out our API Reference and Documentation.
SDK Installation
The SDK can be installed with either npm, pnpm, bun or yarn package managers.
NPM
PNPM
Bun
Yarn
> This package is published as an ES Module (ESM) only. For applications using > CommonJS, use await import("@openrouter/sdk") to import and use this package.
Migrating callModel to @openrouter/agent
> callModel and its associated types have moved to the @openrouter/agent package. If you are using callModel, tool definitions, or related types from @openrouter/sdk, you should migrate to @openrouter/agent. > > To assist with the migration, run: > >
Requirements
For supported JavaScript runtimes, please consult RUNTIMES.md.
SDK Usage
Pagination
Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the returned response object will also be an async iterable that can be consumed using the [for await...of][for-await-of] syntax.
[for-await-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of
Here's an example of one such pagination call:
File uploads
Certain SDK methods accept files as part of a multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with…
01Capabilities
Does
- No capabilities recorded
Doesn’t
- No exclusions declared
02Requirements & stack
Depends on
No declared dependencies
Credentials needed
None declared
Stack
03Community
No endorsements yetNo verified confirmations yet — be the first.
Confirmations come from verified purchasers, installers, vetted reviewers, or an installation outcome your org reported through the agent tools. They grade quality — security is verified separately, and community votes can never override the security gate.
Sign in to confirm — weight comes from verified usage, not vote count.
Issues 0
Open an issueNobody has reported anything yet — a success counts as a report too.
04Trust Passport
Full passport →0/0 automated components pass. An automated score is never a security guarantee.
This listing is unclaimed, so publisher identity cannot be verified and it stays below the “verified” tier by design — that is a statement about the listing, not about the project’s quality. Our automated scans still ran; a maintainer who claims it unlocks identity verification.
05Versions
Full history →| Version | Channel | Released | Notes |
|---|---|---|---|
| 0.0.0 | stable | Oct 19, 2026 | Indexed listing — see the upstream repository for real release history. |