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/sdkHealthiest96/10068,632,1822,16911/10/2026
2openai96/10055,875,31311,25811/12/2026
3ai92/10043,113,71927,82711/13/2026
4@google/genai96/10030,013,4741,70611/12/2026
5@ai-sdk/openai92/10022,823,58227,82711/13/2026
6@langchain/core92/1008,520,76918,33311/11/2026
7@mistralai/mistralai94/1006,965,10516211/1/2026
8@langchain/langgraph96/1004,906,6543,41111/12/2026
9@google/generative-ai41/1004,820,0771,2314/29/2025
10langchain92/1003,966,59818,33311/11/2026
11cohere-ai90/100647,94017111/4/2026
12@xenova/transformers37/100599,81616,4075/29/2024
13llamaindex53/100182,7153,08112/2/2025

Compare the top AI / LLM SDKs