JavaScript LLM SDKs

Official JavaScript and TypeScript SDKs for connecting to large language model APIs from OpenAI, Anthropic, Google, and more.

Anthropic SDK

LLM SDKs

Official TypeScript SDK for Claude. Build conversational AI, code generation, and analysis tools.

anthropics/anthropic-sdk-typescript

OpenAI Node

LLM SDKs

Official Node.js library for the OpenAI API. GPT, DALL-E, Whisper, and embeddings.

openai/openai-node

Google Gen AI SDK

LLM SDKs

Official JavaScript and TypeScript SDK for Gemini. Use the maintained @google/genai package.

googleapis/js-genai

Mistral JS Client

LLM SDKs

TypeScript client for Mistral AI models. Fast, efficient open-weight model access.

mistralai/client-js

Cohere Node SDK

LLM SDKs

Official TypeScript SDK for Cohere. Embeddings, reranking, and RAG-optimized models.

cohere-ai/cohere-typescript

More JavaScript AI tools