← Back to Leaderboard
MNeywa-Labs

Neywa-Labs/mlx-audio

MLX inference SDK for local speech and audio pipelines on Apple Silicon

Engineering Health (Methodology)
A+ · 95/100
Maintenance Activity
● Updated 3d ago
Latest Release
v0.6.9
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption20/25
Release Cadence20/20
License Clarity20/20
Local AISelf-HostedCLIAPIGPU
Total Stars
★ 8,373
24h Growth
+4
7d Growth
+32
Forks
813

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

Neywa-Labs/mlx-audio Star History (2025-02-27 - 2026-12-03) ALL-TIME STAR HISTORY (2025-02 – 2026-12) +8.4k in 644d · avg +13/day 8.8k 4.4k 0 2025-02-27: ★ 12025-04-12: ★ 4492025-05-24: ★ 2,1842025-07-05: ★ 2,3782025-08-16: ★ 2,4812025-09-27: ★ 2,6362025-11-08: ★ 2,7962025-12-20: ★ 3,0362026-01-31: ★ 5,5392026-03-14: ★ 6,1532026-04-25: ★ 6,7462026-06-06: ★ 7,1712026-07-18: ★ 7,5162026-08-29: ★ 7,7662026-10-10: ★ 8,0002026-12-03: ★ 8,373 ★ 8.4k 2025-02 2026-01 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

MLX-Audio is a Python inference SDK for Apple Silicon, with model implementations organized by task rather than a single model or a remote API backend. The TTS path takes a model ID such as mlx-community/Qwen3-TTS-12Hz-0.6B-CustomVoice-8bit through mlx_audio.tts.utils.load_model; model.generate(...) then yields results containing the waveform as an mx.array. STT has a task-specific entry point, mlx_audio.stt.generate.generate_transcription, whose result exposes .text.

The package requires Python 3.11+ and MLX 0.32.4+, and declares huggingface_hub, miniaudio, NumPy, and SciPy among its dependencies. Implementations live in task-specific model trees such as mlx_audio/tts/models/ and mlx_audio/sts/models/. The CLI is useful for scripting and direct playback, while the OpenAI-compatible REST API gives separate client processes an HTTP integration path. Neither that protocol nor the shared loaders make all model options interchangeable: voice design, reference audio, batching, and streaming depend on the selected implementation.

Key Capabilities & Differentiators

For TTS, Kokoro offers preset voices at several weight precisions, Qwen3-TTS covers multilingual custom voices and voice design, and ZONOS3-Mini combines multilingual voice cloning with 44.1 kHz streaming. The CLI can play output or save it; segmented generations are written as numbered WAV files by default, and --join_audio combines them. With --stream, saving requires --save.

On the recognition side, Distil-Whisper and Qwen3-ASR provide different language coverage, Qwen3-ForcedAligner supplies word-level alignment, and Voxtral Realtime has a 4-bit streaming checkpoint. English Nemotron exposes 80/160/560/1120 ms streaming modes; those settings are not end-to-end latency measurements. STS spans audio processing and interaction: DialogueSidon separates and restores two-speaker dialogue, while Haru-4B supports full-duplex speech dialogue. Music and video-to-audio are separate paths, including 44.1 kHz stereo output from MiniMax Music 3 and 48 kHz video-synchronized effects from HunyuanVideo-Foley.

Trade-offs & Limitations

Compared with ElevenLabs for TTS or a hosted Whisper API for transcription, MLX-Audio gives you local control over recordings, weights, and model selection. The trade-off is that you own checkpoint distribution, service availability, capacity planning, and client compatibility. If you only need transcription, the broader SDK matters only if you plan to use capabilities such as alignment or streaming ASR. The macOS Apple Silicon target also makes it a poor default for teams standardized on Linux/CUDA deployment.

Quantized checkpoints give you room to trade memory against output quality, but there is no single memory or latency figure for the SDK. For a 16 GB Mac, start with a compact checkpoint and measure peak unified-memory use, time to first audio or partial transcript, and throughput at your expected input lengths and concurrency. Include other resident models in the test if STT and TTS run together. The code is MIT-licensed; check weight terms and reference-voice permissions separately.

Hardware & Deployment Guide

Use an Apple Silicon Mac running macOS with Python 3.11+. Install with pip install -U mlx-audio or use uv tool install --force mlx-audio --prerelease=allow for the CLI. For source development or the web interface, use pip install -e ".[dev, server]". Set up the selected checkpoints and auxiliary dependencies ahead of any offline run; Kokoro, for example, uses misaki for text processing, with language extras for Japanese or Mandarin. Start with a CLI smoke test, then validate the REST endpoints and streaming behavior the intended clients need.

Recent releases address specific execution paths: v0.6.7 caches pre-scaled Whisper cross-attention keys and defers STT model-package imports until use; v0.6.8 evaluates Nemotron array caches before moving them across threads; v0.6.9 overlaps Moonshine decoder steps with async_eval and folds DeepFilterNet GRU biases before loading weights. These changes are model-specific. Pin the package version and checkpoint revision, then regression-test the actual combination you plan to ship.

Runtime: Python 3.11+ and MLX 0.32.4+ target local inference on Apple Silicon
Integration: The Python TTS generator returns waveforms as mx.array; a CLI and an OpenAI-compatible REST API serve different integration needs
Streaming TTS: --stream emits audio during generation; add --save to persist it
Streaming ASR: Voxtral Realtime has a 4-bit checkpoint; English Nemotron lists 80/160/560/1120 ms streaming modes
Quantization: Kokoro offers BF16 and 8-, 6-, and 4-bit weights for testing quality against memory use
Media generation: MiniMax Music 3 produces 44.1 kHz stereo, while HunyuanVideo-Foley generates synchronized 48 kHz effects from video
Best For

Apple Silicon teams building local transcription, narration, or interactive voice workflows that need control over audio handling and model choice.

Skip If

Your deployment must run on Linux/CUDA, you want a fully managed API, or your target model mix has not met memory and latency requirements on the Macs you plan to use.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Local AISelf-HostedCLIAPI
pip install -U mlx-audio

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
mlx-audio ★8.4k+32PythonMITMLX inference SDK for local speech and audio pipelines on Apple Silicon
moonshine11.7k+48C++—On-device C++ SDK for live transcription, intent recognition, and speech synthes
whisperX26.5k+677PythonBSD-2-ClauseBatched Whisper with forced alignment for word timings and optional speaker labe
RealtimeSTT10.3k+11PythonApache-2.0Local streaming speech-to-text: a Python SDK and FastAPI service for low-latency

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Neywa-Labs/mlx-audio.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Neywa-Labs/mlx-audio Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about mlx-audio

Should I integrate through Python or REST?

Use mlx_audio.tts.utils.load_model when you need direct access to the generated waveform as an mx.array, or mlx_audio.stt.generate.generate_transcription when you need transcription text in Python. Use the OpenAI-compatible REST API for a separate client process, but validate that client's required endpoints, request fields, and streaming behavior before switching.

How should I size a 16 GB Mac for MLX-Audio?

Start with a compact model such as a quantized Kokoro checkpoint for TTS. On Apple Silicon, size against total unified-memory use, not a separate VRAM figure or the checkpoint download size alone. Measure peak memory and latency with the other models and applications you expect to keep resident. A 16 GB machine is a reasonable test target for compact workloads, not a blanket compatibility guarantee.

Can I self-host it in a commercial product?

MLX-Audio's code is MIT-licensed, but model weights can have separate terms. Review each checkpoint's commercial and redistribution terms, obtain permission for reference voices, and set appropriate recording retention policies. Local inference avoids sending audio to a hosted inference provider; it does not, by itself, make a deployment compliant.

When is it a better fit than ElevenLabs or a hosted Whisper API?

Choose MLX-Audio when control over local processing and the ability to select different checkpoints matter more than outsourcing operations. It can cover TTS workflows you might otherwise send to ElevenLabs and transcription workflows you might send to a hosted Whisper API. Test voice quality, language coverage, transcription accuracy, and API behavior on your workload before treating either migration as a drop-in replacement.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Neywa-Labs/mlx-audio? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Neywa-Labs/mlx-audio on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare