MusicGen

MetaAudioReleased June 2023Open weights
MusicRuns locally

Meta's open text-to-music model that makes short instrumental clips from a text description or a melody. Still the most downloaded open music model for experiments.

Overview

Best for
instrumental clips, music experiments, melody-guided music, research
Input
text, audio
Output
audio
Context window
Not listed
Access
Open weights
License
CC BY-NC 4.0 (weights), MIT (code)
Company
Meta
Hugging Face
facebook/musicgen-medium, 1,964,913 downloads in the last 30 days (as of November 25, 2026)

Strengths and limitations

Good at

  • Generates music from a text prompt or an audio melody
  • Comes in 300M, 1.5B and 3.3B sizes plus a melody-guided version
  • Trained on licensed music from Meta, Shutterstock and Pond5
  • Runs locally through Hugging Face Transformers or Meta's Audiocraft library

Watch out for

  • Cannot generate realistic vocals
  • Weights are non-commercial (CC BY-NC 4.0)
  • From 2023, so quality trails newer music models

Where to use it

Hugging FaceAudiocraft (GitHub)Hugging Face Transformers

Pricing

Apps and plans
Free to self-host
API
Not listed
Good to know
Non-commercial license on the weights.

Checked November 25, 2026. Prices change often; confirm on the official site before you pay.