Category ranking
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/sdkEditor's pick | 76/100 | 8,555,555 | 2,107 | 9/10/2026 |
| 2 | openai | 76/100 | 8,277,679 | 11,160 | 9/10/2026 |
| 3 | @google/genai | 76/100 | 5,670,772 | 1,677 | 9/10/2026 |
| 4 | ai | 72/100 | 4,442,317 | 26,616 | 9/12/2026 |
| 5 | @google/generative-ai | 41/100 | 3,002,190 | 1,238 | 4/29/2025 |
| 6 | @mistralai/mistralai | 74/100 | 2,418,529 | 157 | 9/9/2026 |
| 7 | @ai-sdk/openai | 72/100 | 2,390,787 | 26,616 | 9/11/2026 |
| 8 | @langchain/core | 72/100 | 965,091 | 18,164 | 9/12/2026 |
| 9 | @langchain/langgraph | 76/100 | 586,809 | 3,253 | 9/12/2026 |
| 10 | langchain | 72/100 | 470,891 | 18,164 | 9/9/2026 |
| 11 | @xenova/transformers | 37/100 | 111,871 | 16,289 | 5/29/2024 |
| 12 | llamaindex | 53/100 | 84,590 | 3,077 | 12/2/2025 |
| 13 | cohere-ai | 64/100 | 76,254 | 171 | 8/26/2026 |