We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

hexgrad: Kokoro 82M

hexgrad/kokoro-82m
SpeechInput: text4KAdded Apr 23, 2026

Try hexgrad: Kokoro 82M now

Runs on your balance at the prices above. New accounts start with free usage.

Sign in to use thisCreate free account
input_references
0/3
reference_transcript

Results will appear here.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign inSession cost $0.00

hexgrad: Kokoro 82M at a glance

  • Input price is 96% lower than the median of 34 Speech models.

About hexgrad: Kokoro 82M

hexgrad: Kokoro 82M is a lightweight, open-weight text-to-speech model from hexgrad. It sits in the speech category, so its job is narrow and clear: turn written text into spoken audio. Because the weights are open, you can reason about deployment and hosting more freely than with a closed hosted voice service, and the 82M parameter count signals a small model rather than a large general purpose one.

The model takes text as its only input and returns speech as its only output. It has a context window of 4096 tokens and a maximum output of 3686, which bounds how much text you can synthesize in a single request. Voice selection is broad: the model ships with a large set of named voices covering American English, British English, Spanish, French, Hindi, Italian, Japanese, Portuguese and Chinese, with both female and male options in most of those languages. Names such as af_heart, am_onyx, bf_emma, em_alex, jf_alpha and zf_xiaoxiao are examples from that list.

Those capabilities point to a fairly specific set of uses. Narration and voiceover for articles, documentation or short videos fit well, since you can pick a voice that matches the target language and audience. Accessibility features such as reading text aloud in an app, or generating audio versions of written content, are natural fits. Localization work benefits from the multi-language voice set, letting you produce the same script in several languages without switching providers. Conversational agents and interactive tools can use it for spoken replies, and because the model is small, it is a reasonable candidate for self-hosted or on-device style deployments where a large hosted TTS service would be overkill.

You call it through api14's OpenAI-compatible API using the model id "hexgrad/kokoro-82m". Because the interface follows the OpenAI format, existing clients and SDKs that already speak that protocol can point at api14 with minimal changes. The model reports no supported request parameters beyond the basics, so plan on sending your text and your chosen voice rather than relying on tuning knobs like temperature or top_p. Check the live price table on the page for current rates.

The main constraint to keep in mind is scope. This is a text-to-speech model, not a chat or reasoning model, so tasks like summarization, translation or question answering belong with a text model instead. The 4096 token context and 3686 token output ceiling also mean long documents need to be split into chunks before synthesis. If you need speech to text rather than text to speech, or a model that handles audio understanding, look elsewhere.

How to call the hexgrad: Kokoro 82M API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "hexgrad/kokoro-82m".
import { writeFile } from "node:fs/promises";
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const audio = await client.audio.speech.create({
  "model": "hexgrad/kokoro-82m",
  "input": "Hello from api14! One API for every model.",
  "voice": "alloy",
  "response_format": "mp3"
});
await writeFile("speech.mp3", Buffer.from(await audio.arrayBuffer()));

Specifications

Context length
4,096
Max output
3,686
Input
text
Output
speech
Voices
54

Requests on api14 · last 7 days

10-1710-1810-1910-2010-2110-2210-23

hexgrad: Kokoro 82M: frequently asked questions

How much does the hexgrad: Kokoro 82M API cost?
hexgrad: Kokoro 82M costs Characters $2.17 / 1M characters. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of hexgrad: Kokoro 82M?
hexgrad: Kokoro 82M reads up to 4,096 tokens per request: prompt, history and documents together. It writes up to 3,686 output tokens per response.
What can hexgrad: Kokoro 82M do?
hexgrad: Kokoro 82M accepts text and returns speech.
How do I call hexgrad: Kokoro 82M from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "hexgrad/kokoro-82m". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to hexgrad: Kokoro 82M?
Comparable Speech models at a similar price: Google: Gemini 3.8 Flash Lite TTS, Google: Gemini 3.8 Flash TTS, Google: Gemini 3.1 Flash TTS Preview. Each runs through the same API key, so switching is one string.

hexgrad: Kokoro 82M community

New topic

This community has no topics yet. Open the first one about hexgrad: Kokoro 82M.