Category ranking

Best AI / LLM SDKs 2026

Vendor SDKs and framework layers (for example ai, LangChain) solve different jobs — prefer like-with-like comparisons.

#PackageHealth scoreWeekly downloadsStarsLast release
1@anthropic-ai/sdkEditor's pick76/1008,555,5552,1079/10/2026
2openai76/1008,277,67911,1609/10/2026
3@google/genai76/1005,670,7721,6779/10/2026
4ai72/1004,442,31726,6169/12/2026
5@google/generative-ai41/1003,002,1901,2384/29/2025
6@mistralai/mistralai74/1002,418,5291579/9/2026
7@ai-sdk/openai72/1002,390,78726,6169/11/2026
8@langchain/core72/100965,09118,1649/12/2026
9@langchain/langgraph76/100586,8093,2539/12/2026
10langchain72/100470,89118,1649/9/2026
11@xenova/transformers37/100111,87116,2895/29/2024
12llamaindex53/10084,5903,07712/2/2025
13cohere-ai64/10076,2541718/26/2026