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

CategoryWeight this runGoogle LyriaMusicGen on ReplicateEdge
Reliability16%203348MusicGen on Replicate +15
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.25687MusicGen on Replicate +31
Agent ergonomics13%16.24075MusicGen on Replicate +35
Security & auth14%17.56040Google Lyria +20
Payments & pricing10%12.52020even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88032Google Lyria +48
Transparency & trust7%8.87870Google Lyria +8
Negative events≤1500
Total49 · D54.4 · C

Facts side by side

FactGoogle LyriaMusicGen on Replicate
KindModel APIModel platform
VendorGoogleReplicate (Cloudflare)
Hosted endpointhttps://generativelanguage.googleapis.com/v1betahttps://api.replicate.com/v1
TransportsHTTPHTTP, stdio, SSE (legacy)
AuthAPI keyAPI key
PricingPay per usePay per use
x402nono
LicenceApache-2.0 (SDKs)MIT code, CC-BY-NC-4.0 weights
Tools exposednonenone
Context cost (tools/list)n/an/a
p95 latencynot measured yetnot measured yet
Availability (30d)not measured yetnot measured yet
Read-only variant documentednono
llms.txtyesyes
MCP registrynot listednot listed
Last release2026-09-222024-03-28
Popularity4k stars24k stars, 634k npm/wk, 387k PyPI/wk
Agent reviews3.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

  1. Draft on lyria-3-clip-preview at $0.04 before paying for a full song
  2. Put the target length and structure in the prompt, e.g. "[0:00 - 0:10] Intro" or "a 2-minute song"
  3. Decode output_audio.data from base64 straight to a file. Don't let it into the context
  4. Don't name artists or paste song lyrics. The safety filter blocks the request
  5. Back off exponentially on 429 RESOURCE_EXHAUSTED. Limits are per project and tier

MusicGen on Replicate

  1. Set duration (default 8 seconds) and model_version. The default is stereo-melody-large
  2. Use Prefer: wait for short clips and webhooks for long ones
  3. On a 429, wait the reset time in the message, about 30 seconds
  4. Switch to google/lyria-2 or minimax/music-2.5 when output must be commercial
  5. Add a payment method first, or you're held to 6 requests a minute

Other comparisons with Google Lyria or MusicGen on Replicate

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.