Skip to content
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.

16.4M 44K 8K
mlc-ai
xgrammar

Fast, Flexible and Portable Structured Generation

6.1M 2K 286
onnx
onnx-ir

Efficient in-memory representation for ONNX, in Python

4.4M 54 26
redis
redisvl

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

2.3M 435 119
fla-org
fla-core

🚀 Efficient implementations for emerging model architectures

2M 6K 841
fla-org
flash-linear-attention

🚀 Efficient implementations for emerging model architectures

1.1M 6K 841
amazon-science
chronos-forecasting

Chronos: Pretrained Models for Time Series Forecasting

941K 6K 776
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.

751K 27K 4K
NVIDIA
megatron-core

Ongoing research training transformer models at scale

740K 19K 5K
urchade
gliner

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

724K 4K 331
vndee
llm-sandbox

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

693K 1K 108
google
langextract

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

480K 39K 3K
agentscope-ai
agentscope

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

423K 37K 4K
open-thought
reasoning-gym

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

309K 2K 166
future-agi
fi-instrumentation-otel

Open Source AI Tracing Framework built on Opentelemetry for AI Applications and Frameworks

216K 269 56
HKUDS
lightrag-hku

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

178K 41K 6K
future-agi
traceai-openai

Open Source AI Tracing Framework built on Opentelemetry for AI Applications and Frameworks

166K 269 56
future-agi
traceai-anthropic

Open Source AI Tracing Framework built on Opentelemetry for AI Applications and Frameworks

160K 269 56
future-agi
traceai-bedrock

Open Source AI Tracing Framework built on Opentelemetry for AI Applications and Frameworks

157K 269 56
future-agi
traceai-litellm

Open Source AI Tracing Framework built on Opentelemetry for AI Applications and Frameworks

157K 269 56
future-agi
traceai-google-genai

Open Source AI Tracing Framework built on Opentelemetry for AI Applications and Frameworks

157K 269 56
AgentOps-AI
tokencost

Easy token price estimates for 400+ LLMs. TokenOps.

134K 2K 110
future-agi
traceai-vertexai

Open Source AI Tracing Framework built on Opentelemetry for AI Applications and Frameworks

132K 269 56
protectai
llm-guard

The Security Toolkit for LLM Interactions

124K 3K 477
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology