Softwr

AI Music Generators · head to head

DiffRhythm vs Google Lyria

DiffRhythm logo

DiffRhythm

AI Music Generators

Open-source diffusion model that generates full-length songs with vocals

From
Free
Free plan
Yes
Google Lyria logo

Google Lyria

AI Music Generators

Google DeepMind music generation models available through the Gemini API

From
$0.04/song
Free plan
No

The short version

  • DiffRhythm is an Apache 2.
  • DiffRhythm is free; Google Lyria starts at $0.04/mo.
  • Only DiffRhythm lists LRC lyric input; only Google Lyria lists image to music.
  • Where DiffRhythm falls short: command line research code, with no hosted interface.
  • Where Google Lyria falls short: no free tier for Lyria models in the Gemini API.

How do DiffRhythm and Google Lyria differ?

DiffRhythm and Google Lyria differ on starting price (Free against $0.04/song), pricing model (Open-source against Usage-based) and free tier (Yes against No). Only the attributes on which DiffRhythm and Google Lyria actually diverge.

Attributes where DiffRhythm and Google Lyria differ
AttributeDiffRhythmGoogle Lyria
Starting priceFree$0.04/song
Pricing modelOpen-sourceUsage-based
Free tierYesNo
PlatformsLinux, Windows, macOSWeb

Identical on both: category (AI Music Generators).

Which features does each one have?

They share no listed features; 8 appear only for DiffRhythm and 7 only for Google Lyria. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in DiffRhythm

  • Full-length song generation up to 4m45s
  • LRC lyric input
  • Text style prompts
  • Reference WAV inference
  • Instrumental mode
  • Song editing and continuation in v1.2
  • Apache 2.0 licence
  • Docker setup

Only in Google Lyria

  • Text to music with vocals and lyrics
  • Image to music
  • Songs up to 3 minutes
  • 30-second clips with Lyria 3 Clip
  • Lyria RealTime for interactive generation
  • Gemini API access
  • Magenta RealTime open model

What is each one used for?

DiffRhythm is most often brought in for self-hosted song generation; Google Lyria for adding music generation to an app. The jobs each tool is most often brought in to do.

DiffRhythm

  • Self-hosted song generationnot Google Lyria
  • Research on music diffusion modelsnot Google Lyria
  • Offline demos with custom lyricsnot Google Lyria
  • Building a music feature on open weightsnot Google Lyria

Google Lyria

  • Adding music generation to an appnot DiffRhythm
  • Producing short clips and loops via APInot DiffRhythm
  • Composing from an imagenot DiffRhythm
  • Experimenting with prompts in Flow Musicnot DiffRhythm

Where do DiffRhythm and Google Lyria fall short?

DiffRhythm's most cited limit: command line research code, with no hosted interface. Google Lyria's: no free tier for Lyria models in the Gemini API. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

DiffRhythm

  • Command line research code, with no hosted interface
  • Base model needs at least 8 GB of VRAM with chunked decoding
  • Training code is listed as coming soon, not yet released
  • Needs Python 3.10 and espeak-ng set up locally

Google Lyria

  • No free tier for Lyria models in the Gemini API
  • Outputs are MP3 only, per the API documentation
  • A model API, with no built-in editor, arranger or distribution
  • Song length is controlled through prompts and capped at a few minutes

How much do DiffRhythm and Google Lyria cost?

DiffRhythm is free to use; Google Lyria starts at $0.04/mo. Plan by plan below, from each vendor's own pricing page.

DiffRhythm

Free

No published plan breakdown. See the DiffRhythm review.

Google Lyria

$0.04/song
  • Lyria 3 Clip Preview (30s)$0.04/song
  • Lyria 3.5 (full song)$0.08/song

Which should you pick?

Choose DiffRhythm if

  • You need full-length song generation up to 4m45s.
  • You want to start without paying.
  • You work on Linux, Windows, macOS.
  • You also want lrc lyric input.

Choose Google Lyria if

  • You need text to music with vocals and lyrics.
  • You also want image to music.

Questions people ask

Is DiffRhythm or Google Lyria better?
It depends on the job. DiffRhythm fits self-hosted song generation; Google Lyria fits adding music generation to an app. DiffRhythm starts at Free and Google Lyria at $0.04/song.
Which is cheaper, DiffRhythm or Google Lyria?
DiffRhythm has a free tier; the other does not. Paid plans start at Free for DiffRhythm and $0.04/song for Google Lyria.
Does DiffRhythm or Google Lyria run on more platforms?
DiffRhythm runs on Linux, Windows, macOS. Google Lyria runs on Web.
Can I use DiffRhythm for free?
Yes. DiffRhythm has a free tier, so you can try it without paying. Google Lyria starts at $0.04/song.
What is DiffRhythm best used for?
DiffRhythm is most often used for self-hosted song generation, research on music diffusion models, offline demos with custom lyrics, building a music feature on open weights. Of those, self-hosted song generation and research on music diffusion models are not what Google Lyria is typically brought in for.
What can DiffRhythm do that Google Lyria cannot?
DiffRhythm covers Full-length song generation up to 4m45s, LRC lyric input, Text style prompts, Reference WAV inference. Google Lyria covers Text to music with vocals and lyrics, Image to music, Songs up to 3 minutes, 30-second clips with Lyria 3 Clip.

Answered from the vendors’ own pages

DiffRhythm: Is DiffRhythm free to use?

The code and DiT weights are released under the Apache License 2.0.

Source
Google Lyria: How much does the Lyria API cost?

The Gemini API pricing page lists Lyria 3.5 full songs at $0.08 per song, Lyria 3 Clip Preview at $0.04 per song and Lyria 3 Pro Preview at $0.08 per song, all on the paid tier.

Source
DiffRhythm: How long can a song be?

The full model produces songs up to 4m45s, and the base model 1m35s.

Source
Google Lyria: What formats does it output?

The API documentation says Lyria models produce 44.1 kHz stereo audio as MP3.

Source
DiffRhythm: What hardware does it need?

The base model needs at least 8 GB of VRAM, using chunked decoding to stay within it.

Source
Google Lyria: How long can tracks be?

The Lyria page says Lyria 3.5 tracks run up to 3 minutes, and Lyria 3 Clip always makes a 30-second clip.

Source
DiffRhythm: What operating systems are supported?

The repository provides setup for Linux, Windows and macOS, plus a Docker setup.

Source
Share

Related pages

Other head to heads