--- id: openvino-genai version: "2026.3.0.0" license: Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for… (full text in the JSON record) license_treatment: permissive maintenance: active --- # openvino-genai — Library of the most popular Generative AI model pipelines, optimized execution methods, and samples License: permissive · Maintenance: active · Downloads: 116.0K/mo ## What it is and what it does openvino-genai is a Python library that wraps OpenVINO's inference runtime to simplify running generative AI models locally. It provides a high-level LLMPipeline class that automatically loads tokenizers, detokenizers, and generation configs from a model directory, reducing boilerplate code to a few lines. The library handles the complexity of the generation process—including beam search, streaming output, and custom generation parameters—while targeting CPU and hardware accelerators through OpenVINO's backend. The package is designed for developers who want to run language models without managing low-level inference details. It depends on openvino_tokenizers for tokenization and requires models to be pre-converted to OpenVINO IR format. Version alignment between openvino-genai and its dependencies is critical; mismatched versions can cause ABI incompatibility errors. The library supports both Python and C++ interfaces, though the Python API is the primary entry point for most users. Use it for: - Run a local chat interface or Q&A system using a converted LLM without cloud dependencies. - Integrate text generation into a Python application with minimal setup overhead. - Experiment with different beam search and generation parameters on a single machine. - Deploy generative AI inference on edge devices or servers with Intel hardware acceleration. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. openvino-genai simplifies running inference on generative AI models by wrapping OpenVINO's inference engine with a high-level pipeline API that handles tokenization, model loading, and text generation. Yes, if you need to run generative AI models locally and are willing to pre-convert models to OpenVINO IR format. The library significantly reduces boilerplate compared to raw OpenVINO, and active maintenance plus Apache 2.0 licensing make it low-risk. The main gotcha is strict version pinning of openvino_tokenizers; verify compatibility before updating dependencies. Not recommended if you need out-of-the-box support for Hugging Face model formats or if you prefer cloud-based inference. ## Install pip install openvino-genai uv add openvino-genai poetry add openvino-genai ## Installing openvino-genai Before you install: Medium install friction: prebuilt wheels available for Python 3.10–3.14 across macOS (ARM64), Linux (x86_64 and aarch64), and Windows, but requires version-matched openvino_tokenizers dependency to avoid ABI incompatibility errors. Active maintenance with a release 10 days old. License in practice: Apache License 2.0 permits commercial and private use with minimal restrictions; you must include a copy of the license and note any modifications, but no patent indemnification or trademark restrictions apply to typical use. Quickstart: pip install openvino-genai import openvino_genai as ov_genai pipe = ov_genai.LLMPipeline(models_path, "CPU") print(pipe.generate("The Sun is yellow because", max_new_tokens=100)) Requires a model in OpenVINO IR format; version of openvino_tokenizers must match openvino-genai version to avoid ABI incompatibility. Verify before relying: - Whether GPU acceleration (e.g., Intel Arc, discrete GPU) is supported beyond CPU inference. - Performance characteristics and memory footprint compared to other local inference frameworks. - Supported model architectures and whether custom models can be converted from Hugging Face format. ## Package facts - License: Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for… (full text in the JSON record) (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 116.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags generative AI inference pipeline, LLM text generation, OpenVINO model serving, local language model inference, optimized neural network generation, llm-inference, edge-deployment, model-optimization [View on SkillFed](https://skillfed.io/packages/openvino-genai) · [View on PyPI](https://pypi.org/project/openvino-genai/)