PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Large Language Models Python Packages

Python packages with the GitHub topic large-language-models. Sorted by monthly downloads, with stars and forks.
ray-project
ray

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

14.4M 44K 8K
mlc-ai
xgrammar

Fast, Flexible and Portable Structured Generation

4.6M 2K 231
onnx
onnx-ir

Efficient in-memory representation for ONNX, in Python

2.3M 50 22
redis
redisvl

Redis Vector Library. The AI-native Python client for Redis.

1.8M 431 108
fla-org
fla-core

🚀 Efficient implementations for emerging model architectures

1.2M 6K 752
fla-org
flash-linear-attention

🚀 Efficient implementations for emerging model architectures

873K 6K 752
urchade
gliner

Generalist and Lightweight Model for Named Entity Recognition (Extract any entity types from texts)

716K 4K 318
amazon-science
chronos-forecasting

Chronos: Pretrained Models for Time Series Forecasting

653K 6K 738
deepset-ai
haystack-ai

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.

599K 27K 3K
NVIDIA
megatron-core

Ongoing research training transformer models at scale

435K 18K 5K
google
langextract

A Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization.

393K 39K 3K
vndee
llm-sandbox

Lightweight and portable LLM sandbox runtime (code interpreter) Python library.

371K 1K 107
open-thought
reasoning-gym

[NeurIPS 2025 Spotlight] Reasoning Environments for Reinforcement Learning with Verifiable Rewards

340K 2K 132
AgentOps-AI
tokencost

Easy token price estimates for 400+ LLMs. TokenOps.

161K 2K 107
agentscope-ai
agentscope

Build and run agents you can see, understand and trust.

147K 33K 4K
HKUDS
lightrag-hku

[EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation

130K 40K 6K
activeloopai
deeplake

Deeplake is AI Data Runtime for Agents. It provides serverless postgres with a multimodal datalake, enabling scalable retrieval and training.

113K 9K 724
protectai
llm-guard

The Security Toolkit for LLM Interactions

112K 3K 464
codelion
adaptive-classifier

A flexible, adaptive classification system for dynamic text classification

108K 573 41
evalplus
evalplus

Rigourous evaluation of LLM-synthesized code - NeurIPS 2023 & COLM 2024

72K 2K 209
langflow-ai
langflow-base

Langflow is a powerful tool for building and deploying AI-powered agents and workflows.

65K 156K 10K
camel-ai
camel-ai

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

62K 18K 2K
langflow-ai
langflow

Langflow is a powerful tool for building and deploying AI-powered agents and workflows.

58K 156K 10K
microsoft
multilspy

multilspy is a lsp client library in Python intended to be used to build applications around language servers.

42K 612 112
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology