MusicGen Small
MusicGenCC-BY-NC-4.0textaudio

MusicGen Small

Updated Jun 7, 2026
Parameters
0.6B
Context
8,192
License
CC-BY-NC-4.0
Updated
Jun 7, 2026

Will it run on your hardware?

Pick your GPU memory - see which quantizations fit, and the cheapest card for the rest

Runs on your 24 GB - best at Q4_K_M
1 of 1 quantizations fit MusicGen Small with real runtime overhead.
Q4_K_M
0.3 GB
fits tight too big

Need an exact figure for your context length? Use the VRAM calculator.

Run it locally

Copy-paste - running in under a minute

vLLMOpenAI-compatible API
vllm serve facebook/musicgen-small

New to this? Start with Ollama · serve to many users with vLLM.

Deep dive

Notes, sources, and the full write-up

MusicGen Small

MusicGen is Meta's text-to-music generation model. At 600M parameters, it's lightweight yet produces coherent musical pieces from text prompts. Part of Facebook's open AudioCraft suite.

Usage

from transformers import AutoProcessor, MusicgenForConditionalGeneration
 
processor = AutoProcessor.from_pretrained("facebook/musicgen-small")
model = MusicgenForConditionalGeneration.from_pretrained("facebook/musicgen-small")
 
inputs = processor(text=["80s pop track with bass and drums"], padding=True, return_tensors="pt")
audio = model.generate(**inputs, max_new_tokens=256)

When to use

  • Quick music prototyping - generate short music clips
  • Creative inspiration - explore musical ideas
  • Background music - social media content

Frequently asked

Quick answers to common questions

How much VRAM does MusicGen Small need?

MusicGen Small with 0.6B parameters needs significant VRAM depending on quantization. Use our VRAM calculator for an exact estimate.

Is MusicGen Small better than other MusicGen models?

MusicGen Small has 0.6B parameters with 8,192 context - a strong choice for text-to-audio, music-generation.

What license is MusicGen Small under?

MusicGen Small is released under the CC-BY-NC-4.0 license, making it suitable for most commercial and personal projects.

What hardware runs MusicGen Small well?

With 0.6B parameters, MusicGen Small requires adequate VRAM. High-end GPUs like the RTX 4090 (24GB), RTX 5090 (32GB), or Mac Studio with unified memory are good options. Check our hardware directory for specific recommendations.

What is the best quantization for MusicGen Small?

Q4_K_M is the recommended sweet spot - ~98% of FP16 quality at ~27% of the size. Step up to Q5_K_M or Q8_0 only if you have spare VRAM. Use our VRAM calculator to compare.

What models compete with MusicGen Small?

MusicGen Small competes with other models in its class. Browse our model directory for comparisons, benchmarks, and community reviews to find the best fit.

Compare & pair with

Similar models and recommended hardware

Related models

Nearby options

Similar models and compatible hardware by spec

Comments coming soon

Configure NEXT_PUBLIC_GISCUS_REPO_ID and NEXT_PUBLIC_GISCUS_CATEGORY_ID at giscus.app to enable.