LLM SDKs: rankings compared
Official SDKs from model providers. 11 tools.
· Updated daily
Comparison by dataset
Sorted by GitHub stars. Numbers in parentheses are ranks within this category. A dash (–) means the tool is not in that dataset.
| Tool | GitHub starsStars | PyPI downloadsDownloads, last 7 days | 7-day changePyPI downloads | npm downloadsDownloads, last 7 days | 7-day changenpm downloads |
|---|---|---|---|---|---|
| LiteLLM | 63,774 (#1) | 26.5M (#4) | Increase12.1% | – | – |
| OpenAI Python SDK | 32,224 (#2) | 93.7M (#1) | Increase5.4% | – | – |
| OpenAI SDK | 11,276 (#3) | – | – | 62.5M (#2) | Increase6.3% |
| Anthropic Python SDK | 4,097 (#4) | 51M (#2) | Increase3.1% | – | – |
| Google Gen AI Python SDK | 4,089 (#5) | 40.8M (#3) | Increase2.7% | – | – |
| Anthropic SDK | 2,185 (#6) | – | – | 75M (#1) | Increase6.1% |
| Google Gen AI SDK | 1,717 (#7) | – | – | 34.2M (#3) | Increase12.7% |
| Mistral Python SDK | 778 (#8) | 3.2M (#6) | Increase1.8% | – | – |
| Groq Python SDK | 622 (#9) | 3.7M (#5) | Decrease0.6% | – | – |
| Cohere Python SDK | 407 (#10) | 2.8M (#7) | Increase14.1% | – | – |
| Mistral TypeScript SDK | 162 (#11) | – | – | 6.7M (#4) | Decrease4% |