- Text-to-Speech
GPT-4o Mini TTS is a text-to-speech variant of OpenAI’s lightweight GPT-4o Mini model, designed to generate natural-sounding spoken audio from text with low latency and efficient…
Powered by hexgrad
Kokoro 82M is an open-weight, 82‑million‑parameter text‑to‑speech model from hexgrad that focuses on natural, multilingual speech with low latency and low resource usage. It is notable for delivering high‑quality audio comparable to much larger TTS systems while remaining lightweight and easy to run locally or on-device.
Output tokens per second · Higher is better
Seconds · Lower is better
USD per 1M tokens (blended) · Lower is better
About the model
Kokoro 82M is a compact, open-source text-to-speech model with 82 million parameters released by hexgrad for efficient, high-quality speech generation. It is primarily used to synthesize natural-sounding speech for applications like voice assistants, content narration, and accessibility tools where low latency and local deployment are important. It is also adopted in developer tooling and pipelines (Python, JavaScript/ONNX, mobile, and edge deployments) to provide multilingual voices without relying on paid cloud APIs. Kokoro 82M belongs to the Kokoro model family and underpins the broader Kokoro TTS library and later Kokoro v1.0 upgrades.
Model capabilities
Generates high-quality, natural-sounding speech audio from text using a lightweight, open-weight TTS architecture optimized for efficiency.
Provides many voices and multiple language options, enabling diverse speech outputs for global applications and varied user preferences.
Produces expressive, human-like intonation and rhythm, suitable for audiobooks, dialogue, narration, and other natural-sounding voice experiences.
Runs efficiently on consumer hardware with fast inference speeds, supporting near real-time text-to-speech generation in applications.
Supports fully local, offline deployment with open weights, enabling privacy-preserving speech synthesis without external API dependencies.
Use cases
Transparent pricing
LLM API offers the lowest prices and latency for Kokoro 82M-compatible TTS workloads.
| Provider | Region | Latency | Throughput | Uptime | Input ($/1M) | Output ($/1M) | Context |
|---|---|---|---|---|---|---|---|
| LLM API BEST | Global | ~120ms | ~120 chars/s | ~99.99% | ~$0.20/1K chars | ~$0.00 | ~10K chars |
| hexgrad | Global | ~180ms | ~80 chars/s | ~99.9% | ~$0.35/1K chars | ~$0.00 | ~8K chars |
| OpenAI (Speech/TTS) | Global | ~250ms | ~70 chars/s | ~99.9% | ~$0.30/1K chars | ~$0.00 | ~8K chars |
| ElevenLabs | Global | ~220ms | ~75 chars/s | ~99.9% | ~$0.40/1K chars | ~$0.00 | ~8K chars |
| Amazon Polly | US East | ~260ms | ~60 chars/s | ~99.95% | ~$0.35/1K chars | ~$0.00 | ~3K chars |
Performance benchmarks
| Metric | Kokoro 82M (hexgrad) | Llama 3.2 1B (Meta) | Gemma 2 2B (Google) |
|---|---|---|---|
| Avg Latency | ~120ms | ~220ms | ~250ms |
| Context Window | 8K | 8K | 8K |
| Input Price ($/1M tokens) | $0.05 | $0.10 | $0.12 |
| Output Price ($/1M tokens) | $0.10 | $0.20 | $0.24 |
| Max Output Tokens | 2K | 4K | 4K |
| Throughput | 80 tps | 60 tps | 50 tps |
| Uptime | 99.0% | 99.5% | 99.5% |
30-day usage via LLM API
Architecture & Integration
One unified API. Every major model. Built-in reliability, cost control, and observability.
Dynamically route each request to the best model by latency, cost, and quality. One API, pluggable providers, no client-code rewrites.
One endpoint, every modelControl spend with per-request price caps, model-level policies, and transparent usage metrics so you can aggressively optimize without breaking production flows.
Optimize every tokenSurvive provider outages and rate limits with built-in failover logic that retries on alternate models while preserving request semantics and SLAs.
No single point of failureGet traces, logs, and metrics for every LLM call—across providers—so you can debug latency, track failures, and tune prompts with production-grade visibility.
See every token flowDefine higher-level tasks instead of wiring individual calls. LLM.API handles tools, retries, and multi-step workflows as a single, composable abstraction.
Think tasks, not callsSubmit massive batches of generations, embeddings, or tool calls in one request, with concurrency controls and status tracking built in for large-scale workloads.
Scale jobs, not codeDecision guide
FAQ
Kokoro 82M is a compact 82M-parameter text generation model by hexgrad focused on fast, low-cost inference for English-only tasks.
Kokoro 82M is best for lightweight tasks like short-form generation, classification, routing, and simple agents where latency and cost are critical.
On LLM.API, Kokoro 82M supports a 4K token context window for prompts plus generated output combined.
Due to its small size, Kokoro 82M typically returns the first tokens in under a second for short prompts, depending on load and network conditions.
Kokoro 82M is priced in the lowest LLM.API billing tier, making it significantly cheaper per 1,000 tokens than larger general-purpose models.
Kokoro 82M is a text-only model, supporting text input and text output without image, audio, or other modalities.
Use the standard chat or completion endpoint and set the model field to "hexgrad/kokoro-82m" in your LLM.API request.
Kokoro 82M is much cheaper and faster than larger models but generally provides weaker reasoning, coding, and long-form generation quality.
Kokoro 82M struggles with complex reasoning, long-context coherence, detailed code synthesis, and creative writing compared to larger-scale models.
Yes, Kokoro 82M supports token streaming via LLM.API by enabling the stream flag in your request.
Compare
GPT-4o Mini TTS is a text-to-speech variant of OpenAI’s lightweight GPT-4o Mini model, designed to generate natural-sounding spoken audio from text with low latency and efficient…
Grok Voice TTS 1.0 is xAI’s text-to-speech model that turns Grok’s language outputs into natural-sounding, expressive audio with multilingual support and fine-grained control over delivery. It…
GPT Audio is an OpenAI model that can understand and generate natural-sounding speech in real time. It is notable for combining strong language understanding with fast,…