ONNX Runtime
Fast inference runtime for machine learning models in ONNX format.
ML and data science PyPI MIT License
Used in agent projects
23
0.2% of 12,697 public repos built with AI coding agents
Rank in ml and data science
#24 of 28
by use in those projects
Downloads
20.8M
PyPI, last 7 days, onnxruntime
GitHub stars
22K
last push Oct 10, 2026
How ONNX Runtime is used
ONNX Runtime is a dependency in 23 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #24 of 28 in ml and data science. The most used alternative there is NumPy. Projects that use it most often also use NumPy (78.3%), Requests (73.9%), Pillow (65.2%).
Often used with ONNX Runtime
| NumPy | 78.3% of ONNX Runtime projects · 20.4× more than average |
|---|---|
| Requests | 73.9% of ONNX Runtime projects · 13.9× more than average |
| Pillow | 65.2% of ONNX Runtime projects · 28.4× more than average |
| Pydantic | 60.9% of ONNX Runtime projects · 11.9× more than average |
| tqdm | 60.9% of ONNX Runtime projects · 54.8× more than average |
| Uvicorn | 60.9% of ONNX Runtime projects · 14.2× more than average |
| FastAPI | 56.5% of ONNX Runtime projects · 13.4× more than average |
| Hugging Face Hub | 56.5% of ONNX Runtime projects · 121.6× more than average |
By coding agent
| Claude Code | 0.3% of projects set up for it |
|---|---|
| Cursor | 0.3% of projects set up for it |
| GitHub Copilot | 0.3% of projects set up for it |
Share of public repos configured for each agent that list ONNX Runtime as a dependency.
Install
| Package | pip install onnxruntime |
|---|---|
| Main stacks | Python (19), Next.js (4) |
| Example projects | loblawbob873-svg/posterchanai, ManojINaik/manimAnimationAgent, LennardZuendorf/indexed, dollro/spektr |
Alternatives to ONNX Runtime
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| NumPy pypi Fundamental Python library for numerical computing with arrays and matrices. |
487 (3.8%) | 21M | 33K | — |
| pandas pypi Data manipulation and analysis library with DataFrames for structured data. |
383 (3.0%) | 143M | 50K | — |
| scikit-learn pypi Python machine learning library with classification, regression and clustering algorithms. |
160 (1.3%) | 44.3M | 67.5K | — |
| SciPy pypi Fundamental algorithms for scientific computing with optimized numerical routines. |
141 (1.1%) | 72.2M | 15.1K | — |
| PyTorch pypi Deep learning framework with tensors and dynamic neural networks with GPU support. |
109 (0.9%) | 13.2M | 104K | — |
| Sentence Transformers pypi Pre-trained models for semantic embeddings, retrieval and reranking. |
83 (0.7%) | 5.1M | 19.2K | — |
| Hugging Face Transformers pypi State-of-the-art NLP and multimodal models for inference and training. |
80 (0.6%) | 24.8M | 167K | Apache 2.0 License |
| NetworkX pypi Python package for creating, analyzing and manipulating complex networks and graphs. |
73 (0.6%) | 50.2M | 17.3K | — |