Liquid AI Releases LiquidCodec, a 74M-Parameter Streaming Audio Codec
https://ift.tt/afQXtDb
Liquid AI has introduced LiquidCodec, the audio codec used by its LFM3-Audio-2B and LFM3-Omni-2B models. LiquidCodec is a streaming speech tokenizer with roughly 74 million parameters. It converts speech into tokens that a language model can predict, then reconstructs audio from those tokens. Liquid AI designed it with two priorities: producing tokens that are easy to predict and converting them back into speech quickly. The model weights are available on Hugging Face.
TL;DR
- Size: About 74M parameters (73.6M according to the model card); supports 24 kHz audio, 12.5 Hz frames and 12 codebooks.
- Runs on: One CPU thread (tested in FP32 on an Apple M4 Max laptop); CUDA GPUs through Transformers; and Q4_0, Q4_K_M and Q8_0 GGUF versions for llama.cpp.
- Performance: Achieved the top ViSQOL scores and lowest mel distances across all 8 test sets, compared with X-Codec 2, NanoCodec and Mimi.
- Best: Encodes at about 361x real time on one CPU thread (encode RTF of 0.0028, compared with 0.0361 for Mimi).
What is LiquidCodec?
LiquidCodec is Liquid AI’s speech codec for converting 24 kHz audio into 12 streams of tokens. According to the LFM3-Audio-2B model card, every 80 ms frame is represented by 12 discrete tokens. The codec takes the place of Kyutai’s Mimi, which Liquid AI used for LFM2-Audio-1.5B. Mimi contains 96.2M parameters.
How does LiquidCodec work?
LiquidCodec processes audio through encoding, quantization and decoding. Its encoder and decoder both use blocks from the LFM3 architecture. The two sides have a symmetric design, and the encoder is fully causal, making it suitable for streaming.
For quantization, LiquidCodec uses grouped finite scalar quantization (GFSQ) rather than residual vector quantization (RVQ). With RVQ, each codebook represents information that earlier codebooks did not capture. GFSQ groups operate independently, allowing MaskGIT-style transformers to predict all 12 codebooks in parallel.
Instead of relying on learned transposed-convolution upsampling, which is often computationally expensive in waveform decoders, the decoder predicts spectral coefficients directly.
How was it trained?
The model was trained in two stages. First, it learned from 264,000 hours of speech in 107 languages, using waveform and spectral losses but no adversarial losses. Next, it was fine-tuned on 55,000 hours of full-band speech at 24 kHz or above, with adversarial critics. Liquid AI says this second stage eliminated metallic artifacts that remained after the first. The final step was decoder-only quantization-aware training (QAT), intended to improve edge inference.
How fast is LiquidCodec?
Liquid AI tested the codec in FP32 using one CPU thread on an Apple M4 Max MacBook Pro. It reports encoding speeds of about 361x real time and decoding speeds of roughly 87x real time.
Real-time factor (RTF) measures processing time relative to audio duration; a smaller number is better. LiquidCodec’s encode RTF is 0.0028, compared with 0.0361 for Mimi, 0.2145 for NanoCodec and 0.7359 for X-Codec 2. For decoding, the figures are 0.0115, 0.0329, 0.2543 and 0.0379, respectively. Compared with Mimi, LiquidCodec’s encode RTF is about 13 times lower and its decode RTF is about 2.9 times lower.
How does LiquidCodec compare on quality benchmarks?
Liquid AI evaluated LiquidCodec on 8 test sets: LibriSpeech test-clean, Seed-TTS in English and Mandarin, and five FLEURS languages—German, French, Mandarin, Japanese and Korean. The comparison models were X-Codec 2, NanoCodec and Mimi configured with 12 codebooks.
- Reconstruction: LiquidCodec delivered the highest ViSQOL and lowest mel distance on all 8 test sets. On LibriSpeech, its ViSQOL score was 4.319, versus 4.219 for NanoCodec, 4.119 for X-Codec 2 and 4.031 for Mimi.
- Text-to-speech: Liquid AI trained matching TTS models using the tokens from each codec, keeping the data (101,000 hours across 6 languages), model architecture, compute and batch order consistent. LiquidCodec achieved the highest UTMOSv2 scores on all 8 sets and the best WER/CER results on 4 of them. Its LibriSpeech WER was 3.15%, compared with Mimi’s 6.27%. The results were similar with both an LFM3-1.7B and a Qwen3-1.7B backbone.
- Where it trails: NanoCodec achieved a higher PESQ (WB) score on 7 of the 8 sets. It also performed better on LibriSpeech speaker similarity, with an SECS score of 0.836 compared with 0.785.
LiquidCodec vs Mimi vs NanoCodec vs X-Codec 2
| Feature | LiquidCodec | Mimi | NanoCodec 1.78 kbps | X-Codec 2 |
|---|---|---|---|---|
| Developer | Liquid AI | Kyutai | NVIDIA | HKUST Audio |
| Parameters | 73.6M | 96.2M | 62M | 0.8B |
| Sample rate | 24 kHz | 24 kHz (repository) | 22.05 kHz | 16 kHz |
| Frame rate | 12.5 Hz | 12.5 Hz | 12.5 fps | 50 tokens/s |
| Codebooks | 12 | 8 at 1.1 kbps (blog) | 13 | 1 (documentation) |
| Quantizer | GFSQ | RVQ (documentation) | FSQ | Single-layer FSQ (documentation) |
| Bitrate | Not disclosed | 1.1 kbps | 1.78 kbps | Not disclosed |
| Causality | Causal encoder; decoder details not disclosed | Fully causal (Kyutai) | Non-causal encoder, causal decoder | Not disclosed |
| License | “other” on HF; blog refers to LFM License | CC-BY 4.0 | NVIDIA Open Model License | CC-BY-NC 4.0 |
| Encode / decode RTF, M4 Max CPU* | 0.0028 / 0.0115 | 0.0361 / 0.0329 | 0.2145 / 0.2543 | 0.7359 / 0.0379 |
| LibriSpeech mel distance* (lower is better) | 0.120 | 0.160 | 0.122 | 0.123 |
| LibriSpeech PESQ (WB)* | 2.640 | 2.615 | 2.942 | 2.434 |
| LibriSpeech TTS UTMOSv2* | 3.31 | 2.89 | 3.19 | 3.27 |
*Figures were measured by Liquid AI in its LiquidCodec blog. Mimi was tested with 12 codebooks.
How can developers deploy LiquidCodec?
Developers can load the codec using Hugging Face Transformers and trust_remote_code=True. The encode() function produces audio codes, while decode() reconstructs a waveform. The model card also describes a built-in LiquidCodecStreamingCache for decoding audio chunk by chunk. Its examples run on CUDA with bfloat16.
For edge deployments, Liquid AI offers Q4_0, Q4_K_M and Q8_0 GGUF builds for llama.cpp. The GGUF repositories are packaged with LFM3-Audio-2B and LFM3-Omni-2B. Using Q4_0 with decoder-only QAT cuts the decoder footprint by 3.5x. On LibriSpeech, ViSQOL decreases only slightly, from 4.319 to 4.292.
Key Takeaways
- A streaming codec with about 74M parameters, 12.5 Hz frames, 12 codebooks and 24 kHz audio.
- On one CPU thread, it encodes at roughly 361x real time and decodes at about 87x.
- It led all 8 test sets in ViSQOL, mel distance and TTS UTMOSv2.
- NanoCodec recorded higher PESQ (WB) scores on 7 of the 8 sets.
- The Q4_0 decoder is 3.5x smaller, with only a minor reduction in quality.
Read the technical blog, access the model weights on Hugging Face, or explore LFM3-Audio-2B and LFM3-Omni-2B. You can also follow us on Twitter, join our 150k+ ML SubReddit, and subscribe to our Newsletter. On Telegram? Join us there, too.
Interested in partnering with us to promote your GitHub repository, Hugging Face page, product launch, webinar or other project? Get in touch
The post Liquid AI Releases LiquidCodec, a 74M-Parameter Streaming Audio Codec appeared first on MarkTechPost.
HI-FI News
via MarkTechPost https://ift.tt/KFrsqj7
November 12, 2026 at 11:51PM
-
Product on sale
Audiophile Vinyl Records Cleaning BundleOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Product on sale
Easy Start Vinyl Records Cleaning KitOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Vinyl Records Cleaner Easy Groove Concentrate€34.95 incl. VAT -
Easy Groove Super Set€199.00 incl. VAT -
Easy Groove Enzycaster – vinyl records prewash cleaner€34.95 incl. VAT -
Easy Groove Extreme MK. II- vinyl records prewash cleaner€45.00 incl. VAT -
Vinyl Records Cleaner – Easy Groove Virgin Concentrate€35.00 incl. VAT -
Easy Groove Spray&Wipe vinyl records cleaner€34.95 incl. VAT








