Model reference · open weights

musicgen-large

musicgen-large is an open-weight audio or speech model from facebook, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.

Licence fee required Audio facebook 1 variants 90k downloads/mo
Request a licence + hosting quote All served models Not on the shared API today — deployed on request.

About

What musicgen-large is

MusicGen - Large - 3.3B MusicGen is a text-to-music model capable of genreating high-quality music samples conditioned on text descriptions or audio prompts. It is a single stage auto-regressive Transformer model trained over a 32kHz EnCodec tokenizer with 4 codebooks sampled at 50 Hz. Unlike existing methods, like MusicLM, MusicGen doesn't require a self-supervised semantic representation, and it generates all 4 codebooks in one pass. By introducing a small delay between the codebooks, we show we can predict them in parallel, thus having only 50 auto-regressive steps per second of audio. MusicGen was published in Simple and Controllable Music Generation by Jade Copet, Felix Kreuk, Itai Gat, Tal Remez, David Kant, Gabriel Synnaeve, Yossi Adi, Alexandre Défossez. Four checkpoints are released: - small - medium - large (this checkpoint) - melody Example Try out MusicGen yourself! Audiocraft Colab: Hugging Face Colab: Hugging Face Demo: 🤗 Transformers Usage You can run MusicGen locally with the 🤗 Transformers library from version 4.31.0 onwards. 1. First install the 🤗 Transformers library and scipy: 2. Run inference via the Text-to-Audio (TTA) pipeline. You can infer the MusicGen model via the TTA pipeline in just a few lines of code! 3. Run inference via the Transformers modelling code. You can use the processor + generate code to convert text into a mono 32 kHz audio waveform for more fine-grained control. 4. Listen to the audio samples either in an ipynb notebook: Or save them as a .wav file using a third-party library, e.g. scipy: For more details on using the MusicGen model for inference using the 🤗 Transformers library, refer to the MusicGen docs. Audiocraft Usage You can also run MusicGen locally through the original Audiocraft library: 1. First install the audiocraft library 2. Make sure to have ffmpeg installed: 3. Run the following Python code: Model details Organization developing the model: The FAIR team of Meta AI. Model date: MusicGen was trained between April 2023 and May 2023. Model version: This is the version 1 of the model. Model type: MusicGen consists of an EnCodec model for audio tokenization, an auto-regressive language model based on the tra

Summarised from the published model card. Read the full card on the HuggingFace links below.

Specifications

What it is

Makerfacebook
TypeAudio & music
Variants1
Runs withtransformers
Released2023-06-08
Popularity90k downloads / month
Likes538
LicenceCommercial licence needed

How it works

How audio & music work

Audio or textinputAudio modelrecognise / synthesiseText or audiooutputSpeech-to-text turns audio into text; text-to-speech and music models turn text into audio.

Variants

Sizes & precisions

Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.

VariantParamsPrecisionVRAMFits 16 GBWeights
musicgen-largeBF16Weights ↗

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys musicgen-large for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (musicgen-large below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/audio/transcriptions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -F model="musicgen-large" -F file=@audio.mp3

Details

Languages, data & research

Tags

transformers pytorch musicgen text-to-audio endpoints_compatible

Papers

Licence

Commercial licence needed

The weights are open but cc-by-nc-4.0 needs a commercial agreement for business use. AxForge can arrange that licence and host the model for you — you pay AxForge, we settle with the model’s maker. Ask us for a quote. Read the licence ↗

Sources

Weights & code

Want musicgen-large on EU-owned hardware?

Request a licence + hosting quote See what’s served now

Explore

More audio & music

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms