Softwr

AI Music Generators · head to head

Google Lyria vs Piper

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
Piper logo

Piper

AI Voice Generators

Fast, local, open-source neural text-to-speech engine

From
Free
Free plan
Yes

The short version

  • Piper is a free GPL-3.
  • Piper is free; Google Lyria starts at $0.04/mo.
  • Only Google Lyria lists image to music; only Piper lists embedded espeak-ng phonemisation.
  • Where Google Lyria falls short: no free tier for Lyria models in the Gemini API.
  • Where Piper falls short: seeking new maintainers, so future development is uncertain.

How do Google Lyria and Piper differ?

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

Attributes where Google Lyria and Piper differ
AttributeGoogle LyriaPiper
Starting price$0.04/songFree
Pricing modelUsage-basedOpen-source
Free tierNoYes
CategoryAI Music GeneratorsAI Voice Generators

Identical on both: platforms (Web).

Which features does each one have?

They share no listed features; 7 appear only for Google Lyria and 7 only for Piper. 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 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

Only in Piper

  • Local neural text-to-speech
  • Embedded espeak-ng phonemisation
  • Python package via pip
  • C and C++ library
  • Downloadable voice models
  • Docker support
  • Java binding

What is each one used for?

Google Lyria is most often brought in for adding music generation to an app; Piper for offline text-to-speech in home automation. The jobs each tool is most often brought in to do.

Google Lyria

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

Piper

  • Offline text-to-speech in home automationnot Google Lyria
  • Screen reader voicesnot Google Lyria
  • Embedding speech in applicationsnot Google Lyria
  • Private on-device narrationnot Google Lyria
  • Self-hosted speech pipelinesnot Google Lyria

Where do Google Lyria and Piper fall short?

Google Lyria's most cited limit: no free tier for Lyria models in the Gemini API. Piper's: seeking new maintainers, so future development is uncertain. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

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

Piper

  • Seeking new maintainers, so future development is uncertain
  • No graphical editor or hosted service is provided
  • Original repository is archived and the active one is GPL-3.0
  • Voice licences vary and must be checked per voice

How much do Google Lyria and Piper cost?

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

Google Lyria

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

Piper

Free

No published plan breakdown. See the Piper review.

Which should you pick?

Choose Google Lyria if

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

Choose Piper if

  • You need local neural text-to-speech.
  • You want to start without paying.
  • You also want embedded espeak-ng phonemisation.

Questions people ask

Is Google Lyria or Piper better?
It depends on the job. Google Lyria fits adding music generation to an app; Piper fits offline text-to-speech in home automation. Google Lyria starts at $0.04/song and Piper at Free.
Which is cheaper, Google Lyria or Piper?
Piper has a free tier; the other does not. Paid plans start at $0.04/song for Google Lyria and Free for Piper.
Does Google Lyria or Piper run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Piper for free?
Yes. Piper has a free tier, so you can try it without paying. Google Lyria starts at $0.04/song.
What is Google Lyria best used for?
Google Lyria is most often used for adding music generation to an app, producing short clips and loops via api, composing from an image, experimenting with prompts in flow music. Of those, adding music generation to an app and producing short clips and loops via api are not what Piper is typically brought in for.
What can Google Lyria do that Piper cannot?
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. Piper covers Local neural text-to-speech, Embedded espeak-ng phonemisation, Python package via pip, C and C++ library.

Answered from the vendors’ own pages

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
Piper: Is Piper free?

Yes. It is open source, under GPL-3.0 in the current repository.

Source
Google Lyria: What formats does it output?

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

Source
Piper: Does it work offline?

Yes, it is described as a fast and local neural text-to-speech engine.

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
Piper: Why is the original repository archived?

The owner archived it in October 2025 and development moved to OHF-Voice piper1-gpl.

Source
Piper: How do I install it?

Install the Python package with pip install piper-tts.

Source
Share

Related pages

Other head to heads