Model reference · open weights
Kokoro-ONNX is an open-weight audio or speech model from onnx-community, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.
About
Kokoro TTS Kokoro is a frontier TTS model for its size of 82 million parameters (text in/audio out). Table of contents - Usage - JavaScript - Python - Voices/Samples - Quantizations Usage JavaScript First, install the kokoro-js library from NPM using: You can then generate speech as follows: Python Optionally, save the audio to a file: Voices/Samples Life is like a box of chocolates. You never know what you're gonna get. Quantizations The model is resilient to quantization, enabling efficient high-quality speech synthesis at a fraction of the original model size. How could I know? It's an unanswerable question. Like asking an unborn child if they'll lead a good life. They haven't even been born.
Summarised from the published model card. Read the full card on the HuggingFace links below.
Specifications
| Maker | onnx-community |
|---|---|
| Type | Audio & music |
| Variants | 1 |
| Runs with | transformers.js |
| Based on | hexgrad/Kokoro-82M |
| Released | 2025-02-07 |
| Popularity | 1.1M downloads / month |
| Likes | 253 |
| Licence | Open weights |
How it works
Variants
Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.
| Variant | Params | Precision | VRAM | Fits 16 GB | Weights |
|---|---|---|---|---|---|
| Kokoro-82M-v1.0-ONNX | — | BF16 | — | — | Weights ↗ |
Using it via the API
Once AxForge deploys kokoro-onnx for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (kokoro-onnx below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/audio/transcriptions \ -H "Authorization: Bearer $AXFORGE_API_KEY" \ -F model="kokoro-onnx" -F file=@audio.mp3
Details
Languages
Tags
Licence
Open weights under apache-2.0 — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗