ONNX Runtime
Cross-platform inference (and training) engine for ONNX models, with pluggable execution providers for CPUs, GPUs and NPUs.
ONNX Runtime runs models exported to the open ONNX format from PyTorch, TensorFlow, scikit-learn and others. Execution providers target hardware such as CUDA, TensorRT, DirectML, CoreML and OpenVINO, so one model file can be deployed across servers, desktops, mobile and the web. A generative-AI extension adds optimised loops for language models. Maintained by Microsoft.
- Type
- AI framework
- Category
- AI & ML
- Maintainer
- Microsoft
- First released
- 2018
- License
- Open source (MIT)
- Pricing
- Open source
- Level
- Intermediate
- Technologies
- python, cpp, csharp, javascript, java, machine-learning
- Weekly downloads
- 41,535,438 (pypi)
- Last verified
- 26 Nov 2026
What ONNX Runtime is used for
- Framework-independent model deployment
- Edge and in-browser inference
- Speeding up CPU inference
Strengths
- Many hardware back-ends
- Bindings for many languages
- Graph optimisations and quantisation tooling
Limitations
- Export to ONNX can fail on dynamic or custom ops
- Execution-provider feature coverage varies
ONNX Runtime alternatives
How it relates to other tools
- ONNX Runtime works with PyTorch
- ONNX Runtime works with TensorFlow
- ONNX Runtime works with scikit-learn
- Works with ONNX Runtime: OpenCV
Built with the same technologies
Learn ONNX Runtime
Official links
- Official website
- Documentation
- pypi: onnxruntime
- npm: onnxruntime-web
- npm: onnxruntime-node