Local runtime · Embedded library

ONNX Runtime GenAI

Microsoft’s embedded generation library for ONNX models. It handles tokenization, inference, search, sampling, and KV-cache management in a host application. Evidence refreshed by automation under ADR 055. Human spot-check pending. Reviewed by automation under ADR 055 with human spot-checks; verify against the cited evidence.

Maintainer
Microsoft
Accelerators
CPU · NVIDIA CUDA · DirectML · NPU
Model formats
ONNX
Source model
Open source
Licenses
MIT License
Boundary
Represents the generate() API layer published as onnxruntime-genai, not ONNX Runtime itself, which is the general-purpose ONNX inference engine and execution-provider framework underneath it. Products that embed this library, including Foundry Local, Windows ML, and the Visual Studio Code AI Toolkit, are separate boundaries. The library has no server, no network endpoint, and no graphical interface; it is exercised through host application code, which places it on the runtime side of the ADR 015 runtime-versus-assistant test as an embedded library rather than an assistant.

Open in the directory → Open official documentation ↗ Repository ↗

Editorial ratings appear in the directory beside the profile they belong to and are never compared across collections.