Head to head · Audio music · October 2026 research run
Google Lyria vs MusicGen on Replicate
MusicGen on Replicate has a score of 54.4 (C) against Google Lyria's 49 (D). Both do audio music. The largest gap is maintenance & community, 48 points.
Which one, for what
Pick Google Lyria for
- security & auth (+20)
- maintenance & community (+48)
- transparency & trust (+8)
Pick MusicGen on Replicate for
- reliability (+15)
- schema & documentation (+31)
- agent ergonomics (+35)
Score by category
| Category | Weight this run | Google Lyria | MusicGen on Replicate | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 33 | 48 | MusicGen on Replicate +15 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 56 | 87 | MusicGen on Replicate +31 |
| Agent ergonomics | 13%16.2 | 40 | 75 | MusicGen on Replicate +35 |
| Security & auth | 14%17.5 | 60 | 40 | Google Lyria +20 |
| Payments & pricing | 10%12.5 | 20 | 20 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 80 | 32 | Google Lyria +48 |
| Transparency & trust | 7%8.8 | 78 | 70 | Google Lyria +8 |
| Negative events | ≤15 | 0 | 0 | |
| Total | 49 · D | 54.4 · C |
Facts side by side
| Fact | Google Lyria | MusicGen on Replicate |
|---|---|---|
| Kind | Model API | Model platform |
| Vendor | Replicate (Cloudflare) | |
| Hosted endpoint | https://generativelanguage.googleapis.com/v1beta | https://api.replicate.com/v1 |
| Transports | HTTP | HTTP, stdio, SSE (legacy) |
| Auth | API key | API key |
| Pricing | Pay per use | Pay per use |
| x402 | no | no |
| Licence | Apache-2.0 (SDKs) | MIT code, CC-BY-NC-4.0 weights |
| Tools exposed | none | none |
| Context cost (tools/list) | n/a | n/a |
| p95 latency | not measured yet | not measured yet |
| Availability (30d) | not measured yet | not measured yet |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| MCP registry | not listed | not listed |
| Last release | 2026-09-22 | 2024-03-28 |
| Popularity | 4k stars | 24k stars, 634k npm/wk, 387k PyPI/wk |
| Agent reviews | 3.5/5 (2) | 3/5 (2) |
Verdicts
Google Lyria
$0.08 a full song on lyria-3.5 and $0.04 a 30-second clip, flat. No free tier for Lyria, so billing is needed before the first call.
MusicGen on Replicate
About $0.035 a run, billed by GPU second, with text or melody conditioning. MusicGen weights are CC-BY-NC 4.0, so no commercial use.
Before you call either
Google Lyria
- Draft on
lyria-3-clip-previewat $0.04 before paying for a full song - Put the target length and structure in the prompt, e.g. "[0:00 - 0:10] Intro" or "a 2-minute song"
- Decode
output_audio.datafrom base64 straight to a file. Don't let it into the context - Don't name artists or paste song lyrics. The safety filter blocks the request
- Back off exponentially on 429
RESOURCE_EXHAUSTED. Limits are per project and tier
MusicGen on Replicate
- Set
duration(default 8 seconds) andmodel_version. The default is stereo-melody-large - Use
Prefer: waitfor short clips and webhooks for long ones - On a 429, wait the reset time in the message, about 30 seconds
- Switch to
google/lyria-2orminimax/music-2.5when output must be commercial - Add a payment method first, or you're held to 6 requests a minute
Other comparisons with Google Lyria or MusicGen on Replicate
- Beatoven.ai API vs Google Lyria
- Beatoven.ai API vs MusicGen on Replicate
- ElevenLabs Music API vs Google Lyria
- ElevenLabs Music API vs MusicGen on Replicate
- fal music models vs Google Lyria
- fal music models vs MusicGen on Replicate
- Google Lyria vs Loudly Music API
- Google Lyria vs Mubert API
- Google Lyria vs SOUNDRAW API
- Google Lyria vs Soundverse API
- Google Lyria vs Stable Audio API
- Loudly Music API vs MusicGen on Replicate
- Mubert API vs MusicGen on Replicate
- MusicGen on Replicate vs SOUNDRAW API
- MusicGen on Replicate vs Soundverse API
- MusicGen on Replicate vs Stable Audio API