multi-llm-ts and token.js
These are **competitors** — both provide unified TypeScript SDKs that abstract multiple LLM provider APIs behind a single interface, though token.js supports significantly more models (200+) and has achieved greater adoption.
About multi-llm-ts
nbonamy/multi-llm-ts
A Typescript library to use LLM providers APIs in a unified way.
This library helps software developers integrate various Large Language Models (LLMs) into their applications using a single, consistent approach. It takes developer-provided configurations and prompts, then outputs responses, function calls, or structured data from any supported LLM provider. Developers building AI-powered features or applications are the primary users.
About token.js
token-js/token.js
Integrate 200+ LLMs with one TypeScript SDK using OpenAI's format.
This is a TypeScript SDK that helps developers integrate their applications with over 200 large language models (LLMs) from various providers, all using a consistent OpenAI-like format. It allows you to send text or image prompts to an LLM and receive generated text, JSON outputs, or even streaming responses. Developers who build applications that need to leverage multiple LLMs will find this useful.
Scores updated daily from GitHub, PyPI, and npm data. How scores work