hexgrad logo
hexgrad

hexgrad: Kokoro 82M

Source description (English)

Kokoro 82M is a lightweight, open-weight text-to-speech model from hexgrad. It converts text to speech across 8 languages (American and British English, Spanish, French, Hindi, Italian, Japanese, Portuguese, and Chinese)...

Overview

Model specifications

Context
4,096 tokens
Maximum output
3,686 tokens
Architecture
text->speech
Tokenizer
Other
Knowledge cutoff
Not provided
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Characters
$0.62
per million characters
API

Model configuration

Supported voices

af_alloyaf_aoedeaf_bellaaf_heartaf_jessicaaf_koreaf_nicoleaf_novaaf_riveraf_sarahaf_skyam_adamam_echoam_ericam_fenriram_liamam_michaelam_onyxam_puckam_santabf_alicebf_emmabf_isabellabf_lilybm_danielbm_fablebm_georgebm_lewisef_doraem_alexem_santaff_siwishf_alphahf_betahm_omegahm_psiif_saraim_nicolajf_alphajf_gongitsunejf_nezumijf_tebukurojm_kumopf_dorapm_alexpm_santazf_xiaobeizf_xiaonizf_xiaoxiaozf_xiaoyizm_yunjianzm_yunxizm_yunxiazm_yunyang
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

Choose a supported voice. Replace YOUR_VOICE_ID if no voice is listed.

API documentation

curl --fail-with-body https://openrouter.ai/api/v1/audio/speech \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"hexgrad/kokoro-82m","input":"Hello!","voice":"af_alloy","response_format":"mp3"}' \
  --output speech.mp3
Capabilities

InputOutput

Input
text
Output
speech
API

Supported API parameters

Available providers

2 providers

Checked: September 16, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

DeepInfra

Not provided
Context
4K
Maximum output
4K

Together

Not provided
Context
4K
Maximum output
4K