AI Music Generators · head to head
Google Lyria vs Piper

Google Lyria
AI Music Generators
Google DeepMind music generation models available through the Gemini API
- From
- $0.04/song
- Free plan
- No

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.
| Attribute | Google Lyria | Piper |
|---|---|---|
| Starting price | $0.04/song | Free |
| Pricing model | Usage-based | Open-source |
| Free tier | No | Yes |
| Category | AI Music Generators | AI 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
FreeNo 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.
SourcePiper: Is Piper free?
Yes. It is open source, under GPL-3.0 in the current repository.
SourceGoogle Lyria: What formats does it output?
The API documentation says Lyria models produce 44.1 kHz stereo audio as MP3.
SourcePiper: Does it work offline?
Yes, it is described as a fast and local neural text-to-speech engine.
SourceGoogle 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.
SourcePiper: Why is the original repository archived?
The owner archived it in October 2025 and development moved to OHF-Voice piper1-gpl.
SourcePiper: How do I install it?
Install the Python package with pip install piper-tts.
SourceRelated pages
More on Google Lyria
Other head to heads
- Google Lyria vs ACE-Step
- Google Lyria vs MiniMax Music
- Google Lyria vs Jen
- Google Lyria vs AIVA
- Google Lyria vs CassetteAI
- Google Lyria vs Tad AI
- Google Lyria vs YuE
- Google Lyria vs Mureka
- Google Lyria vs Soundverse
- Google Lyria vs Stable Audio
- Google Lyria vs Beatoven.ai
- Google Lyria vs Musicfy
- Google Lyria vs MusicGPT
- Google Lyria vs Staccato
- Google Lyria vs Treblo
- Google Lyria vs Soundraw
- Google Lyria vs Mubert
- Google Lyria vs Boomy
- Google Lyria vs Amazon Polly
- Google Lyria vs Azure Speech in Foundry Tools
- Google Lyria vs Fish Audio
- Google Lyria vs Google Cloud Text-to-Speech
- Google Lyria vs Kokoro
- Google Lyria vs F5-TTS
- Google Lyria vs IBM Watson Text to Speech
- Google Lyria vs Respeecher
- Google Lyria vs NaturalReader
- Google Lyria vs ReadSpeaker
- Google Lyria vs Speechify
- Google Lyria vs Listnr
- Google Lyria vs Unreal Speech
- Google Lyria vs VocalWare
- Google Lyria vs Voice.ai
- Google Lyria vs Voice Dream Reader
- Google Lyria vs Voicemaker
- Google Lyria vs Voicemod
- Piper vs ACE-Step
- Piper vs MiniMax Music
- Piper vs Jen
- Piper vs AIVA
- Piper vs CassetteAI
- Piper vs Tad AI
- Piper vs YuE
- Piper vs Mureka
- Piper vs Soundverse
- Piper vs Stable Audio
- Piper vs Beatoven.ai
- Piper vs Musicfy
- Piper vs MusicGPT
- Piper vs Staccato
- Piper vs Treblo
- Piper vs Soundraw
- Piper vs Mubert
- Piper vs Boomy
- Piper vs Amazon Polly
- Piper vs Azure Speech in Foundry Tools
- Piper vs Fish Audio
- Piper vs Google Cloud Text-to-Speech
- Piper vs Kokoro
- Piper vs F5-TTS
- Piper vs IBM Watson Text to Speech
- Piper vs Respeecher
- Piper vs NaturalReader
- Piper vs ReadSpeaker
- Piper vs Speechify
- Piper vs Listnr
- Piper vs Unreal Speech
- Piper vs VocalWare
- Piper vs Voice.ai
- Piper vs Voice Dream Reader
- Piper vs Voicemaker
- Piper vs Voicemod
