Best AI / LLM SDKs 2026
Vendor SDKs and framework layers (for example ai, LangChain) solve different jobs — prefer like-with-like comparisons.
| # | Package | Health score | Weekly downloads | Stars | Last release |
|---|---|---|---|---|---|
| 1 | @anthropic-ai/sdkHealthiest | 96/100 | 68,632,182 | 2,169 | 11/10/2026 |
| 2 | openai | 96/100 | 55,875,313 | 11,258 | 11/12/2026 |
| 3 | ai | 92/100 | 43,113,719 | 27,827 | 11/13/2026 |
| 4 | @google/genai | 96/100 | 30,013,474 | 1,706 | 11/12/2026 |
| 5 | @ai-sdk/openai | 92/100 | 22,823,582 | 27,827 | 11/13/2026 |
| 6 | @langchain/core | 92/100 | 8,520,769 | 18,333 | 11/11/2026 |
| 7 | @mistralai/mistralai | 94/100 | 6,965,105 | 162 | 11/1/2026 |
| 8 | @langchain/langgraph | 96/100 | 4,906,654 | 3,411 | 11/12/2026 |
| 9 | @google/generative-ai | 41/100 | 4,820,077 | 1,231 | 4/29/2025 |
| 10 | langchain | 92/100 | 3,966,598 | 18,333 | 11/11/2026 |
| 11 | cohere-ai | 90/100 | 647,940 | 171 | 11/4/2026 |
| 12 | @xenova/transformers | 37/100 | 599,816 | 16,407 | 5/29/2024 |
| 13 | llamaindex | 53/100 | 182,715 | 3,081 | 12/2/2025 |