$npx skillfedfor your agent

kokoro-onnx

TTS with kokoro and onnx runtime

With conditionsPyPI LinguisticReleased Jan 2026550.9K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — kokoro_onnx-0.5.0-py3-none-any.whl
v0.5.0 · released 2026-01-30 · Python <3.14,>=3.10 · 4 runtime deps: espeakng-loader, numpy, onnxruntime, phonemizer-fork

Yes, if you need lightweight multilingual text-to-speech with ONNX inference. The low installation friction, active maintenance, and zero known vulnerabilities make it a practical choice. However, verify the unclear license treatment against your project's requirements, and plan for the separate download of model files before first use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires downloading model files (kokoro-v1.0.onnx and voices-v1.0.bin) separately and placing them in the working directory before first use.
  • Low installation friction with a pure Python wheel and four runtime dependencies.
  • Active maintenance with recent commits.

License · maintenance · safety

(unclear) — License treatment is unclear in the package metadata, though the description notes the package itself is MIT while the underlying Kokoro model uses Apache 2.0. Verify licensing terms before use in proprietary or restricted contexts.

last release 2026-01-30 (196 days) · last repo commit 2026-07-05 · 2,672 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 550,894 downloads/mo, #6,052 on PyPI

Verify before relying

pip install kokoro-onnx

from kokoro_onnx import Kokoro

kokoro = Kokoro(lang="en-us")
kokoro.create(text="Hello world", voice="af_heart", speed=1.0, outfile="audio.wav")
  • Whether the unclear license treatment poses practical restrictions for commercial or closed-source projects.
  • Performance characteristics on hardware other than macOS M1 mentioned in the description.
  • Whether all supported languages and voices are documented outside the external Hugging Face link.
  • Exact size of downloaded model files in typical deployment scenarios.
Same gist for agents: .md · .json

What it is and what it does

Kokoro-onnx is a text-to-speech engine that runs inference using ONNX Runtime, wrapping the Kokoro-TTS model to generate speech from text. It supports multiple languages and offers a selection of voices, with model weights optimized for size while maintaining performance on modern hardware. The package depends on espeakng-loader for phoneme handling, numpy for numerical operations, onnxruntime for model inference, and phonemizer-fork for linguistic processing.

The typical workflow involves installing the package, downloading the model and voice files from the project's releases, then calling the Kokoro class with text, language, voice, and output parameters. It's designed for developers who need embedded speech synthesis without heavy dependencies like full TensorFlow or PyTorch installations, making it suitable for edge deployment or resource-constrained environments.

Use it for

  • Generate speech for accessibility features in applications that need multiple language support.
  • Create audio narration for content in real-time or batch processing pipelines.
  • Build chatbot or voice assistant backends with lightweight inference on consumer hardware.
  • Produce multilingual voiceovers for media or educational content with minimal model overhead.
  • Prototype or deploy TTS features in resource-limited environments like embedded systems or edge devices.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need lightweight multilingual text-to-speech with ONNX inference.

The low installation friction, active maintenance, and zero known vulnerabilities make it a practical choice. However, verify the unclear license treatment against your project's requirements, and plan for the separate download of model files before first use.

Install

kokoro-onnx on PyPI

Before you install

Low installation friction with a pure Python wheel and four runtime dependencies. Active maintenance with recent commits.

Requires downloading model files (kokoro-v1.0.onnx and voices-v1.0.bin) separately and placing them in the working directory before first use.

License in practice

License treatment is unclear in the package metadata, though the description notes the package itself is MIT while the underlying Kokoro model uses Apache 2.0. Verify licensing terms before use in proprietary or restricted contexts.

Quickstart

pip install kokoro-onnx

from kokoro_onnx import Kokoro

kokoro = Kokoro(lang="en-us")
kokoro.create(text="Hello world", voice="af_heart", speed=1.0, outfile="audio.wav")

Verify before relying

  • Whether the unclear license treatment poses practical restrictions for commercial or closed-source projects.
  • Performance characteristics on hardware other than macOS M1 mentioned in the description.
  • Whether all supported languages and voices are documented outside the external Hugging Face link.
  • Exact size of downloaded model files in typical deployment scenarios.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release <3.14,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
espeakng-loadernumpyonnxruntimephonemizer-fork
MaintenanceActively maintained 196 days since the last release
Last repo commit
First released
Downloads550,894 / month, #6,052 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: kokoro_onnx-0.5.0-py3-none-any.whl

Tags

Capabilities
text to speech onnxtts multiple languageskokoro ttsneural speech synthesislightweight tts modelmultilingual voice generationreal-time speech synthesis
Topics
ttsspeech-synthesisonnx

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “text to speech onnx”

  • kokoro-onnxConverts text to speech using ONNX Runtime, supporting multiple…
  • sherpa-onnx-coresherpa-onnx-core provides pre-built ONNX runtime binaries for speech…
  • onnx-asrAutomatic Speech Recognition using ONNX models with minimal…

Give your agent the search over MCP, or paste the wish link into any chat.

More Linguistic packages

charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
tiktoken Worth it
PyPI · Linguistic · released May 2026

tiktoken is a fast BPE tokenizer that converts text into token sequences compatible with OpenAI models, supporting multiple encoding schemes including o200k_base and model-specific encodings.

Install it if you work with OpenAI APIs or need to understand token boundaries in GPT-family models.

permissive licensecompiled wheel · 3.9+
233.0Mdownloads / mo
chardet Worth it
PyPI · Python Modules · released Aug 2026

Detects character encoding and language in byte sequences with high accuracy, supporting 99 encodings and returning confidence scores, language tags, and MIME types.

Install it if you need to detect character encoding or language in byte data; the rewrite makes it substantially faster and more accurate than its predecessors.

0BSDpure Python · 3.10+
199.0Mdownloads / mo
text-unidecode With conditions
PyPI · Python Modules · released Aug 2019

Converts Unicode text to ASCII by transliterating non-ASCII characters into their closest ASCII equivalents, with no runtime dependencies.

However, if transliteration quality or ongoing maintenance matters, consider unidecode instead despite its GPL-only license.

GPL-2.0-or-laterpure Pythonabandoned
89.0Mdownloads / mo
lark Worth it
PyPI · Python Modules · released Oct 2025

Lark is a parsing library that builds abstract syntax trees from context-free grammars, supporting multiple parsing algorithms (Earley, LALR(1), CYK) with automatic line and column tracking.

MITpure Python · 3.8+
79.7Mdownloads / mo
tree-sitter Worth it
PyPI · Linguistic · released Jun 2026

Python bindings to the tree-sitter parsing library, enabling incremental parsing and syntax tree analysis for source code.

MITcompiled wheel · 3.10+
79.0Mdownloads / mo

See also kokoro · piper-tts · pocket-tts · misaki · pyopenjtalk · TTS · pyttsx3 · coqui-tts · chatterbox-tts · nemo-text-processing