Tools/Audio & Speech/WavTokenizer

WavTokenizer

Discrete acoustic codec representing audio with 40 to 75 tokens per second for language modeling.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

Compressing a second of 24 kHz audio into as few as 40 discrete tokens, WavTokenizer pushes neural codec efficiency to roughly 0.48 kbps, or 0.9 kbps at 75 tokens per second, using a single quantizer where EnCodec and DAC stack several. Fewer, richer tokens matter because downstream audio language models spend context length on every token, and the ICLR 2025 paper argues this extreme compression still preserves enough semantic information for modeling while reporting strong reconstruction quality on UTMOS. Released checkpoints span small speech models trained on LibriTTS, a medium model trained on 10,000 hours, and large variants trained on 80,000 hours covering speech, music, and general audio, all downloadable from Hugging Face with encoder, decoder, and training scripts in the repository. Setup is a conda environment with pip-installed requirements, and the small models run without data center hardware. Everything is MIT licensed, permitting commercial use. Researchers building speech LLMs use it as a reference single-codebook codec and as a baseline for token-efficient audio representation work.

Should you use WavTokenizer?

Pick it when

Pick WavTokenizer when you research speech or audio language models and context length is the bottleneck: a single codebook at 40 to 75 tokens per second, with large checkpoints covering speech, music, and general audio, all MIT.

Look elsewhere when

Skip it if you want the quickest integration, since setup is a conda environment where SNAC is one pip install, or if reconstruction fidelity matters more than token count, where DAC at 8 kbps fits better.

Alternatives to WavTokenizer

  • SNAC

    One pip install with multi-scale tokens used by Orpheus TTS, but several codebooks at different rates instead of one stream to model.

  • DAC (Descript Audio Codec)

    Much higher bitrate aimed at fidelity at 44.1 kHz, with a CLI and Docker images, but far more tokens per second for a language model to handle.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
MIT
Added
Jul 29, 2026

Tags