lmstudio-ai/lmstudio-js
LM Studio TypeScript SDK
Provides chat completion and text completion APIs, model lifecycle management (load/unload), and agent capabilities with locally-defined tools—all without external API calls. Supports speculative decoding, configurable load parameters like context length and GPU offloading, and model introspection features absent from cloud-focused SDKs. Works across Node.js and browser environments with a TypeScript-first API design.
1,536 stars. Actively maintained with 13 commits in the last 30 days.
Stars
1,536
Forks
237
Language
TypeScript
License
MIT
Category
Last pushed
Mar 13, 2026
Commits (30d)
13
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/lmstudio-ai/lmstudio-js"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Related tools
nbonamy/multi-llm-ts
A Typescript library to use LLM providers APIs in a unified way.
token-js/token.js
Integrate 200+ LLMs with one TypeScript SDK using OpenAI's format.
lmstudio-ai/lms
LM Studio CLI
samestrin/llm-interface
A simple NPM interface for seamlessly interacting with 36 Large Language Model (LLM) providers,...
foundation-interface/graphologue
Use LLM to stream diagrams, instead of tokens, in real-time! (UIST 2023 Paper)