Instructions to use moonbox-dev/MiniMax-Music3-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use moonbox-dev/MiniMax-Music3-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download moonbox-dev/MiniMax-Music3-MLX --local-dir MiniMax-Music3-MLX
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
MiniMax Music 3 MLX
MLX builds of MiniMax Music 3, made by Moonbox for Apple Silicon Macs. Each precision is a folder; keep a folder's files together. Only the parts listed below are converted: the rest of the pipeline comes from the original repository unless the section below says otherwise.
Files
The last column is how far each build is from the original PyTorch model on the same inputs (see the section below for what was measured).
| Precision | File | Size | sha256 | Checked against the original |
|---|---|---|---|---|
| 8bit | 8bit/condition_encoder.safetensors |
100.7 MB | 52dee5f83235 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/config.json |
1.6 kB | ff84c436ca2e |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/depth.safetensors |
757.3 MB | 20f8c44ee0bd |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-00.safetensors |
205.0 MB | 7b8263318ada |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-01.safetensors |
205.0 MB | 3e8848aa0674 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-02.safetensors |
205.0 MB | 347cf08ad415 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-03.safetensors |
205.0 MB | 92402a00a221 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-04.safetensors |
205.0 MB | c1f4e31ed2b7 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-05.safetensors |
205.0 MB | d54c900abb1f |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-06.safetensors |
205.0 MB | 39743b2388c8 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-07.safetensors |
205.0 MB | 0775eb20c447 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-08.safetensors |
205.0 MB | e0cecd3e8470 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-09.safetensors |
205.0 MB | a2cc46788e3e |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-10.safetensors |
205.0 MB | 58ca968cfb49 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-11.safetensors |
205.0 MB | 379fbaeae2c3 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-12.safetensors |
205.0 MB | e1d49b751399 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-13.safetensors |
205.0 MB | b3adfcdc4390 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-14.safetensors |
205.0 MB | a8c2ddffc522 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-15.safetensors |
205.0 MB | ebcd65beef83 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-16.safetensors |
205.0 MB | e512c948b74b |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-17.safetensors |
205.0 MB | 7d0a3bec900b |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-18.safetensors |
205.0 MB | 065984ba3dc2 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-19.safetensors |
205.0 MB | 2be4eb765743 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-20.safetensors |
205.0 MB | 77a10e8a3659 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-21.safetensors |
205.0 MB | c4c9822517b4 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-22.safetensors |
205.0 MB | a2e8e085625a |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-23.safetensors |
205.0 MB | 0ca27af75310 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-24.safetensors |
205.0 MB | 6b46dc36049c |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-25.safetensors |
205.0 MB | 1477ea9d8541 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-26.safetensors |
205.0 MB | 048ddbe19ff0 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-27.safetensors |
205.0 MB | 11ae7f0979fd |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-28.safetensors |
205.0 MB | 85b54aa23d66 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-29.safetensors |
205.0 MB | 0a6e8df81f51 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-30.safetensors |
205.0 MB | 9ca462d6b28f |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-31.safetensors |
205.0 MB | d29c7d35cd41 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-32.safetensors |
205.0 MB | 15deba1de808 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-33.safetensors |
205.0 MB | 159b5a246c0d |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-34.safetensors |
205.0 MB | fd67c894f9f4 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/layer-35.safetensors |
205.0 MB | 90607d7f6d7c |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm/norm.safetensors |
8.3 kB | 67adb5910b5f |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm_embed.safetensors |
1.64 GB | 6007c901ad9d |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/lm_head.safetensors |
134.2 MB | 13899997cc4a |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/mlx_model.py |
44.1 kB | 1972ae115e00 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/tokenizer/tokenizer.json |
11.4 MB | b1537fa9e59a |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/tokenizer/tokenizer_config.json |
0.4 kB | 1689852cc9c4 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/transformer.safetensors |
2.60 GB | 2f68eb0724c2 |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 8bit | 8bit/vocoder.safetensors |
216.6 MB | 0d27a8ab35bd |
weights 0.75 % from the source (worst tensor 1.1 %); the reference for the other builds |
| 6bit | 6bit/condition_encoder.safetensors |
100.7 MB | 52dee5f83235 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/config.json |
1.6 kB | 4f6ad579a696 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/depth.safetensors |
614.7 MB | d080ca00ae8e |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-00.safetensors |
156.8 MB | 83c972c4c2c3 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-01.safetensors |
156.8 MB | 5a59f334116f |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-02.safetensors |
156.8 MB | c58697f57759 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-03.safetensors |
156.8 MB | f8120d9d61ca |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-04.safetensors |
156.8 MB | 6e3166afb706 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-05.safetensors |
156.8 MB | 38f487f491a0 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-06.safetensors |
156.8 MB | 469bffcf0277 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-07.safetensors |
156.8 MB | 216237bbd094 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-08.safetensors |
156.8 MB | 4606bb680b4a |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-09.safetensors |
156.8 MB | f8311383717a |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-10.safetensors |
156.8 MB | 84a3d5a82548 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-11.safetensors |
156.8 MB | dd8ab591b922 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-12.safetensors |
156.8 MB | cddba53c4cb5 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-13.safetensors |
156.8 MB | 14ac213bd1f4 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-14.safetensors |
156.8 MB | 1d47b24dc147 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-15.safetensors |
156.8 MB | 8254c80c1a99 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-16.safetensors |
156.8 MB | 53c7fd9cd20d |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-17.safetensors |
156.8 MB | 23306cce563c |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-18.safetensors |
156.8 MB | 03d2639b74c5 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-19.safetensors |
156.8 MB | 6bd5725d8c5b |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-20.safetensors |
156.8 MB | c5a2dd680166 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-21.safetensors |
156.8 MB | 3523b0821c71 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-22.safetensors |
156.8 MB | bee3244849f6 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-23.safetensors |
156.8 MB | 9a8e09f976fb |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-24.safetensors |
156.8 MB | 2f4d90adcdd2 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-25.safetensors |
156.8 MB | 223ad71c43ba |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-26.safetensors |
156.8 MB | ce665a3f0975 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-27.safetensors |
156.8 MB | 708ab11fc4a8 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-28.safetensors |
156.8 MB | 20edd04a82bb |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-29.safetensors |
156.8 MB | 80d6a7b9a0c2 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-30.safetensors |
156.8 MB | 572053b305be |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-31.safetensors |
156.8 MB | 3e8b814b656e |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-32.safetensors |
156.8 MB | 701769b86182 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-33.safetensors |
156.8 MB | 6ecc5c504f03 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-34.safetensors |
156.8 MB | 0e0f8f4b0e11 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/layer-35.safetensors |
156.8 MB | ea298282ba90 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm/norm.safetensors |
8.3 kB | 67adb5910b5f |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm_embed.safetensors |
1.64 GB | 6007c901ad9d |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/lm_head.safetensors |
134.2 MB | 13899997cc4a |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/mlx_model.py |
44.1 kB | 1972ae115e00 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/tokenizer/tokenizer.json |
11.4 MB | b1537fa9e59a |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/tokenizer/tokenizer_config.json |
0.4 kB | 1689852cc9c4 |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/transformer.safetensors |
2.00 GB | 538ca4872e0f |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 6bit | 6bit/vocoder.safetensors |
216.6 MB | 0d27a8ab35bd |
below the KL mark: weights 2.3 % (3.0 %); language model KL 0.023 nats (p95 0.045), top-1 agreement 90.3 % (codebook 0: 91.3 %) vs 8bit; renderer 0.25 dB log-mel, SNR 19-28 dB vs 8bit |
| 4bit | 4bit/condition_encoder.safetensors |
100.7 MB | 52dee5f83235 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/config.json |
1.6 kB | a321a6f1cc78 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/depth.safetensors |
472.1 MB | c665c14ba273 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-00.safetensors |
108.5 MB | 18c1a65d2d4e |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-01.safetensors |
108.5 MB | 8f20ad9301cb |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-02.safetensors |
108.5 MB | 1e940f5d4589 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-03.safetensors |
108.5 MB | b3c159e496c3 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-04.safetensors |
108.5 MB | 4c394e4c6e72 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-05.safetensors |
108.5 MB | b3a9932369bb |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-06.safetensors |
108.5 MB | dd42e0865438 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-07.safetensors |
108.5 MB | 93cb8a5ffd54 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-08.safetensors |
108.5 MB | 13d4024c15da |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-09.safetensors |
108.5 MB | 9ac37a72d7e1 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-10.safetensors |
108.5 MB | 0bcc69a17136 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-11.safetensors |
108.5 MB | 85be2e29cdc3 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-12.safetensors |
108.5 MB | bee1bcba195a |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-13.safetensors |
108.5 MB | e29cc5a3f678 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-14.safetensors |
108.5 MB | 36b8e66bf7f7 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-15.safetensors |
108.5 MB | 24a2b212c473 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-16.safetensors |
108.5 MB | 4b36f4ec3f3c |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-17.safetensors |
108.5 MB | 38a2107f52c4 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-18.safetensors |
108.5 MB | 4e61db1bdb82 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-19.safetensors |
108.5 MB | 53a65b943170 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-20.safetensors |
108.5 MB | 6bb03d508e12 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-21.safetensors |
108.5 MB | 014cb6499743 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-22.safetensors |
108.5 MB | cb0a59a14a62 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-23.safetensors |
108.5 MB | 6a7c930a26da |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-24.safetensors |
108.5 MB | 73144ae3c530 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-25.safetensors |
108.5 MB | 0cc3eaceb568 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-26.safetensors |
108.5 MB | 3f8d47e64509 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-27.safetensors |
108.5 MB | 7e3abbe8946e |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-28.safetensors |
108.5 MB | 6bf55c8a7be6 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-29.safetensors |
108.5 MB | 5db3c145e1f7 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-30.safetensors |
108.5 MB | c5ba9d41d14e |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-31.safetensors |
108.5 MB | da3cf6facae6 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-32.safetensors |
108.5 MB | dc3eafafc4f6 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-33.safetensors |
108.5 MB | 65735fea03a1 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-34.safetensors |
108.5 MB | 3b43546f6f5d |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/layer-35.safetensors |
108.5 MB | 70c2e47c4ce8 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm/norm.safetensors |
8.3 kB | 67adb5910b5f |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm_embed.safetensors |
1.64 GB | 6007c901ad9d |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/lm_head.safetensors |
134.2 MB | 13899997cc4a |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/mlx_model.py |
44.1 kB | 1972ae115e00 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/tokenizer/tokenizer.json |
11.4 MB | b1537fa9e59a |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/tokenizer/tokenizer_config.json |
0.4 kB | 1689852cc9c4 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/transformer.safetensors |
1.39 GB | 2850e0616232 |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
| 4bit | 4bit/vocoder.safetensors |
216.6 MB | 0d27a8ab35bd |
below threshold (experimental): weights 9.3 % (11.4 %); language model KL 0.118 nats (p95 0.271), top-1 agreement 76.6 % (codebook 0: 81.7 %) vs 8bit; renderer 0.80 dB log-mel, SNR 12-17 dB vs 8bit |
How to run
MiniMax Music 3 makes a whole song, with vocals, from lyrics and a description of the music: 44.1 kHz stereo, up to six minutes. These folders are MLX builds for Apple Silicon. They were converted and quantized by Moonbox and are not an official MiniMax release.
Each folder is a whole pipeline for mlx_model.py, the one-file runtime that sits in it (mlx, mlx-lm, numpy,
tokenizers; no PyTorch):
| File | What |
|---|---|
lm/layer-NN.safetensors, lm/norm.safetensors |
the 8 B global language model's 36 layers, linear layers MLX affine-quantized (group size 64) |
lm_embed.safetensors, lm_head.safetensors |
its token embeddings, and the 16,385 rows of its output head that sampling uses (bfloat16; the same files in every folder) |
depth.safetensors |
the depth decoder (the 7 residual codebooks of each frame), layers quantized |
transformer.safetensors |
the 2.4 B flow-matching transformer, blocks quantized |
condition_encoder.safetensors, vocoder.safetensors, tokenizer/ |
float32; the same files in every folder |
config.json, mlx_model.py |
sizes and quantization; the runtime |
pip install mlx mlx-lm numpy tokenizers soundfile
hf download moonbox-dev/MiniMax-Music3-MLX --include "6bit/*" --local-dir mm3
import sys, soundfile as sf
sys.path.insert(0, "mm3/6bit")
from mlx_model import Pipeline
pipe = Pipeline("mm3/6bit")
audio, info = pipe.generate(
style="Warm acoustic pop, 96 BPM, intimate female vocal, fingerpicked guitar, soft piano",
lyrics="[verse]\nMorning light across the room\n[chorus]\nSing with me", # empty lyrics: an instrumental
seconds=60, seed=7) # the longest the song may be
sf.write("song.wav", audio.T, pipe.sample_rate)
The runtime works in two stages with one in memory at a time: the language model and depth decoder write the song's
frames, then the transformer and the vocoder render them. On an Apple M5 MacBook Air (24 GB, fanless) it is slow:
4 to 10 frames per second composing (music is 25 per second) and 6 to 15 seconds of rendering per second of music, so
a one-minute song takes 10 to 20 minutes. Peak memory (MLX's own count) is about 10 GB for 8bit/, 8 GB for 6bit/
and 6.5 GB for 4bit/.
The network code is mlx-audio's minimax_music3 (MIT) with
mlx-lm's Qwen3 layers. The same seed does not give the song mlx-audio makes:
the output head here holds only the rows sampling can pick, so the random draw differs.
How they were checked. The original is 28.5 GB in bfloat16 and float32 and does not run on a 24 GB Mac, so there is no comparison with the unquantized model or with PyTorch. What was measured:
- Weights, against the original, while converting: relative RMS error, mean over the quantized layers.
- Language model, against
8bit/: each build predicts the 8-bit build's own song (2 songs, 400 frames of 8 codebooks each) given the true earlier frames. KL is the distance between the predicted distributions, top-1 how often the most likely code is the same. Pass: KL at most 0.01 nats and top-1 at least 90 %. - Renderer, against
8bit/: the same frames and the same noise through each build's transformer; log-mel distance of the audio. For scale, the 8-bit build with other noise is 2.7-2.9 dB from itself.
| Precision | Size | Weights vs original | Language model vs 8bit: KL, top-1 | Renderer vs 8bit | Status |
|---|---|---|---|---|---|
8bit/ |
12.84 GB | 0.75 % | reference | reference | the reference for the others |
6bit/ |
10.36 GB | 2.3 % | 0.023 nats, 90.3 % | 0.25 dB | just under the KL mark |
4bit/ |
7.87 GB | 9.3 % | 0.118 nats, 76.6 % | 0.80 dB | below threshold, experimental |
Each size includes the 2.09 GB of files every folder shares. A 12-second song from 4bit/ scores 0.52 with its
prompt on CLAP (laion/clap-htsat-unfused; 0.31 with a wrong genre, 0.08 with "white noise"). Nobody listened.
How these were made
From MiniMax Music 3 at revision 1b525ccb68: the original weights loaded in MLX and stored as bf16 or fp16, or
quantized with MLX's affine quantization (8bit, 6bit, 4bit, group size 64; layers MLX can't quantize, such as
convolutions and norms, stay bf16). Every build was checked against the original before upload; the sha256 column
above is what the files must hash to.
License
MiniMax Music3 Community License (custom). These files are a derivative of the original model and carry its license: it is copied in this repository, and it governs your use of these files. The original model card follows unchanged.
Original model card
MiniMax Music 3
MiniMax Music 3 is a high-performance music generation model for creating complete songs up to five minutes long. Conditioned on lyrics and a detailed music description, it generates structurally coherent songs with expressive vocals, evolving arrangements, and stable long-form audio quality.
MiniMax Music 3 combines an 8B Global LLM for long-range musical structure, a 0.6B Local LLM for frame-level acoustic detail, and a continuous hidden-state synthesis system based on Flow Matching and Flow-VAE. The model produces 32 kHz, 16-bit stereo WAV audio.
Demo
Explore music generation examples on the MiniMax Music 3 Demo.
Complete Songs with Long-Range Coherence
MiniMax Music 3 natively supports full-song generation up to five minutes. The model maintains musical themes, rhythm, vocal identity, and arrangement progression across long sequences, enabling complete structures such as intro, verse, pre-chorus, chorus, bridge, instrumental break, and outro.
Fine-Grained Music Control
The model accepts two complementary inputs:
- Lyrics define the words to be sung and may include explicit section tags such as
[Intro],[Verse],[Pre-Chorus],[Chorus],[Post-Chorus],[Bridge],[Instrumental],[Solo], and[Outro]. - Music description defines the musical style, emotional progression, vocal performance, instrumentation, arrangement, and production profile.
For precise control, we recommend using a Structured Caption with three sections:
- Global Metadata: genre, subgenre, BPM, key, scale, emotional progression, listening scenario, and production profile.
- Vocal Details: vocal gender, timbre, performance style, harmony, backing vocals, and vocal effects.
- Arrangement: primary and secondary instruments, section-level instrument evolution, groove, bass, percussion, textures, and spatial effects.
This representation allows the model to follow not only a global style, but also the musical development of the song over time.
Hybrid-LM
MiniMax Music 3 uses a hierarchical autoregressive architecture that separates global musical modeling from local acoustic modeling.
- The Global LLM (8B) predicts the first RVQ codebook frame by frame and models the song's long-range semantic and structural progression.
- The Local LLM (0.6B) predicts the remaining acoustic codebooks within each frame and restores fine-grained acoustic information.
The Global LLM is initialized from Qwen3-8B. During training, its embedding and output layers are first adapted to semantic music tokens. The Global and Local LLMs are then jointly trained to model all RVQ codebooks.
Continuous Hidden-State Synthesis
Instead of decoding only from discrete RVQ tokens, the synthesis module fuses the final hidden states of the Global and Local LLMs. These continuous representations preserve richer acoustic information for vocal articulation, instrumental texture, and temporal continuity.
The synthesis path is:
Global and Local LLM hidden states
โ
Hidden-state fusion
โ
Flow Matching (2.4B)
โ
Flow-VAE latent
โ
Flow-VAE Decoder (123M)
โ
32 kHz stereo audio
The Flow-VAE architecture is adapted from MiniMax Speech and retrained for the dynamic range and spectral characteristics of music.
Music Tokenizer
The training tokenizer uses eight layers of Residual Vector Quantization (RVQ):
- The first semantic codebook contains 16,384 entries and captures the core musical semantics and structure.
- The remaining seven acoustic codebooks contain 1,024 entries each and represent residual acoustic details.
Training first optimizes the semantic codebook, then jointly trains all eight codebooks. At inference time, waveform synthesis uses the fused LLM hidden states and does not require the discrete tokenizer decoder.
How to Use
MiniMax Music 3 is supported by SGLang-Omni. Follow the official installation guide to prepare the runtime environment.
Download the Model
hf download MiniMaxAI/MiniMax-Music3 --local-dir /path/to/minimax_ttm
We recommend the following inference frameworks to serve the model:
diffusers - see diffusers docs
Serve with SGLang-Omni
sgl-omni serve --model-path MiniMaxAI/MiniMax-Music3 --port 8000
Generate Music
The service uses the shared speech API. Put the lyrics in input and the music description in instructions. Put lyric structure tags such as [Verse] and [Chorus] on their own lines.
curl http://127.0.0.1:8000/v1/audio/speech \
-H 'Content-Type: application/json' \
-d '{
"model": "MiniMaxAI/MiniMax-Music3",
"input": "[Verse]\nMorning light filtering through the pine\n[Chorus]\nSoftly the world begins to breathe",
"instructions": "A warm acoustic pop song with intimate female vocals, fingerpicked guitar, soft piano, and a gradual emotional build into a wide final chorus.",
"response_format": "wav",
"seed": 7,
"max_new_tokens": 750,
"stream": false
}' \
--output minimax_music3.wav
max_new_tokens sets the maximum number of audio frames at 25 frames per second. Generation may finish before this limit when the model emits an end-of-audio token. The response is a 32 kHz, 16-bit stereo WAV file.
Reproducible Example
The following end-to-end example contains the complete lyrics, music description, and generation parameters used to produce the reference audio.
| Use case | Request | Result |
|---|---|---|
| Text-to-music | View script | minimax_ttm.wav |
๐งจ Diffusers
MiniMax Music 3 is available as a diffusers modular pipeline. Until huggingface/diffusers#14456 is merged, install diffusers from the PR commit:
The snippet below fits 24GB+ VRAM GPUs
pip install git+https://github.com/huggingface/diffusers@dafe3733fcfdbf3c48915fe77be3aef65b5d6a2d transformers accelerate soundfile
import soundfile as sf
import torch
from diffusers import ModularPipeline
pipe = ModularPipeline.from_pretrained("MiniMaxAI/MiniMax-Music3")
pipe.load_components(dtype=torch.bfloat16)
pipe.to("cuda")
lyrics = """[verse]
Morning light filtering through the pine
Every quiet street is yours and mine
[chorus]
Softly the world begins to breathe"""
prompt = (
"Genre: acoustic pop. BPM: 96. Key: C major. Warm and intimate, building gently into the chorus. "
"Vocals: soft female lead, close and breathy, light stacked harmonies in the chorus. "
"Arrangement: fingerpicked guitar and soft piano; brushed drums and upright bass enter in the chorus."
)
audio = pipe(
prompt=prompt,
lyrics=lyrics,
audio_duration=60.0,
generator=torch.Generator("cuda").manual_seed(7),
output="audios",
)[0]
sf.write("song.wav", audio.T.float().cpu().numpy(), pipe.sampling_rate)
Low VRAM
The full precision fits under 24GB of VRAM. With automatic CPU offloading, generation takes in ~22 GB; additionally streaming the language model layer by layer makes it fit even 8 GB video cards:
import torch
from diffusers import ComponentsManager, ModularPipeline
from diffusers.hooks import apply_group_offloading
manager = ComponentsManager()
manager.enable_auto_cpu_offload(device="cuda")
pipe = ModularPipeline.from_pretrained("MiniMaxAI/MiniMax-Music3", components_manager=manager)
pipe.load_components(dtype=torch.bfloat16)
# Only needed below ~22 GB of VRAM โ slower, but fits in 8 GB.
apply_group_offloading(
pipe.language_model, onload_device=torch.device("cuda"), offload_type="leaf_level", use_stream=True
)
Prompt Enhancement
A concise natural-language description can be used directly. For richer prompts and more precise control, use the provided music-caption-rewriter skill to expand it into a Structured Caption containing Global Metadata, Vocal Details, and Arrangement. The skill preserves musical instructions attached to lyric section tags in the arrangement description while keeping the lyric text in the lyrics input.
npx skills add MiniMax-AI/MiniMax-Music3 --skill music-caption-rewriter
Limitations
- Inference requires CUDA.
- Only non-streaming generation is currently supported.
- The tokenized text prompt is limited to 5,000 tokens.
- Audio generation is limited to 9,000 acoustic frames.
- Section tags and music descriptions provide generative control rather than strict symbolic guarantees. The generated tempo, key, instrumentation, lyrics, and song structure may not always match every requested detail exactly.
Contact Us
Contact us at model@minimax.io.
Quantized
Model tree for moonbox-dev/MiniMax-Music3-MLX
Base model
MiniMaxAI/MiniMax-Music3