Marketplace · Text-to-speech

kokoro

Call kokoro through one OpenAI-compatible API. It's served by 2 hosts on the Inpherio grid, each at a price it sets — your request goes to the cheapest healthy one, and fails over to the next if it's down.

From
£0.18
per hour of audio
£1 buys about 5.6 hours of audio
Hosts
2
Loaded now
0

At a glance.

  • Type: Text-to-speech
  • Hosts serving it now: 2 (0 with it loaded in memory)
  • Engines: kokoro
python · openai sdk
from openai import OpenAI
client = OpenAI(base_url="https://inpherio.co.uk/v1",
                api_key=INPHERIO_API_KEY)
audio = client.audio.speech.create(
    model="kokoro",
    input="Hello from the grid.",
)

kokoro in detail.

**Kokoro** is an open-weight TTS model with 82 million parameters. Despite its lightweight architecture, it delivers comparable quality to larger models while being significantly faster and more cost-efficient. With Apache-licensed weights, Kokoro can be deployed anywhere from production environments to personal projects.

Published by
hexgrad
Download size
355 MB (weights on Hugging Face)
Licence
Apache 2.0
Based on
yl4579/StyleTTS2-LJSpeech
Task
text to speech
Languages
en
First published
26 Dec 2024
Last updated
10 Apr 2025
Downloads (30 days)
13.5 million on Hugging Face
Likes
7,503

text-to-speech en

The model card

Published by the model's authors on Hugging Face — shown as they wrote it, unedited by Inpherio.

Kokoro is an open-weight TTS model with 82 million parameters. Despite its lightweight architecture, it delivers comparable quality to larger models while being significantly faster and more cost-efficient. With Apache-licensed weights, Kokoro can be deployed anywhere from production environments to personal projects.

🐈 GitHub: https://github.com/hexgrad/kokoro

🚀 Demo: https://hf.co/spaces/hexgrad/Kokoro-TTS

[!NOTE] As of April 2025, the market rate of Kokoro served over API is under $1 per million characters of text input, or under $0.06 per hour of audio output. (On average, 1000 characters of input is about 1 minute of output.) Sources: ArtificialAnalysis/Replicate at 65 cents per M chars and DeepInfra at 80 cents per M chars. This is an Apache-licensed model, and Kokoro has been deployed in numerous projects and commercial APIs. We welcome the deployment of the model in real use cases.
[!CAUTION] Fake websites like kokorottsai_com (snapshot: https://archive.ph/nRRnk) and kokorotts_net (snapshot: https://archive.ph/60opa) are likely scams masquerading under the banner of a popular model. Any website containing "kokoro" in its root domain (e.g. kokorottsai_com, kokorotts_net) is NOT owned by and NOT affiliated with this model page or its author, and attempts to imply otherwise are red flags.
  • Releases
  • Usage
  • EVAL.md ↗️
  • SAMPLES.md ↗️
  • VOICES.md ↗️
  • Model Facts
  • Training Details
  • Creative Commons Attribution
  • Acknowledgements

Releases

ModelPublishedTraining DataLangs & VoicesSHA256
v1.02025 Jan 27Few hundred hrs8 & 54496dba11
v0.192024 Dec 25<100 hrs1 & 103b0c392f
Training Costsv0.19v1.0Total
in A100 80GB GPU hours5005001000
average hourly rate$0.80/h$1.20/h$1/h
in USD$400$600$1000

Usage

You can run this basic cell on Google Colab. Listen to samples. For more languages and details, see Advanced Usage.

!pip install -q kokoro>=0.9.2 soundfile
!apt-get -qq -y install espeak-ng > /dev/null 2>&1
from kokoro import KPipeline
from IPython.display import display, Audio
import soundfile as sf
import torch
pipeline = KPipeline(lang_code='a')
text = '''
[Kokoro](/kˈOkəɹO/) is an open-weight TTS model with 82 million parameters. Despite its lightweight architecture, it delivers comparable quality to larger models while being significantly faster and more cost-efficient. With Apache-licensed weights, [Kokoro](/kˈOkəɹO/) can be deployed anywhere from production environments to personal projects.
'''
generator = pipeline(text, voice='af_heart')
for i, (gs, ps, audio) in enumerate(generator):
    print(i, gs, ps)
    display(Audio(data=audio, rate=24000, autoplay=i==0))
    sf.write(f'{i}.wav', audio, 24000)

Under the hood, kokoro uses misaki, a G2P library at https://github.com/hexgrad/misaki

Read the rest of the model card

Model Facts

Architecture:

  • StyleTTS 2: https://arxiv.org/abs/2306.07691
  • ISTFTNet: https://arxiv.org/abs/2203.02395
  • Decoder only: no diffusion, no encoder release

Architected by: Li et al @ https://github.com/yl4579/StyleTTS2

Trained by: @rzvzn on Discord

Languages: Multiple

Model SHA256 Hash: 496dba118d1a58f5f3db2efc88dbdc216e0483fc89fe6e47ee1f2c53f18ad1e4

Training Details

Data: Kokoro was trained exclusively on permissive/non-copyrighted audio data and IPA phoneme labels. Examples of permissive/non-copyrighted audio include:

  • Public domain audio
  • Audio licensed under Apache, MIT, etc
  • Synthetic audio[1] generated by closed[2] TTS models from large providers

[1] https://copyright.gov/ai/ai_policy_guidance.pdf

[2] No synthetic audio from open TTS models or "custom voice clones"

Total Dataset Size: A few hundred hours of audio

Total Training Cost: About $1000 for 1000 hours of A100 80GB vRAM

Creative Commons Attribution

The following CC BY audio was part of the dataset used to train Kokoro v1.0.

Audio DataDuration UsedLicenseAdded to Training Set After
Koniwa tnc<1hCC BY 3.0v0.19 / 22 Nov 2024
SIWIS<11hCC BY 4.0v0.19 / 22 Nov 2024

Acknowledgements

  • 🛠️ @yl4579 for architecting StyleTTS 2.
  • 🏆 @Pendrokar for adding Kokoro as a contender in the TTS Spaces Arena.
  • 📊 Thank you to everyone who contributed synthetic training data.
  • ❤️ Special thanks to all compute sponsors.
  • 👾 Discord server: https://discord.gg/QuGxSWBfQy
  • 🪽 Kokoro is a Japanese word that translates to "heart" or "spirit". It is also the name of an AI in the Terminator franchise.

Sources: hexgrad/Kokoro-82M on Hugging Face. Collected from public sources on 24 Nov 2026; the host serving it may run a different build or quantisation — the marketplace shows each host's own measurements.

Who's serving it.

Every host benchmarked this model on its own hardware before serving it. Prices are set by each host; health is scored by the platform from what it observes.

Hosts serving kokoro right now
HostTierPriceMeasured speedHealthStateRent
Mac mini M4 (Live Market)L1£0.18 /h audio33 chars/s80loads on request—
iPad Pro M1 · Inpherio+L1£0.18 /h audio23 chars/s59loads on request—

Live data, refreshed on every visit. How billing works.

Room on the grid for your machine.

2 machines serve kokoro today. Every extra host is somewhere a request can fail over to when one drops, and spare capacity when demand spikes. The router weighs price, measured speed, health and whether the model is already loaded — so a host with a sharper price or quicker hardware wins the next call.

Hosts now
2
0 loaded in memory
Price to beat
£0.18
per hour of audio

Set your own price — you keep 85% of what it earns, and new hosts start with 12 months fee-free (up to £250 of earnings). A payout fee of £2 + 1% per payout to a UK bank account, £2 + 2% to any other country applies when you're paid. Install the connector, load kokoro, and the platform benchmarks it on your hardware before your first request.