Head to head · Music generation · October 2026 research run

Google Lyria vs Mubert API

Google Lyria scores 48.1 (D) on agent readiness against Mubert API's 36.9 (F), and leads in 5 of 7 scored categories. Mubert API leads on schema & documentation. Both do music generation.

Best music generation for AI agents · All 66 music comparisons

Which one, for what

Google Lyria D

Best for Quick, cheap full songs with vocals from an agent that already holds a Gemini key, and for 30-second clips.

Ahead on

  • Reliability, 42 against 30
  • Security & auth, 60 against 25
  • Payments & pricing, 30 against 15
  • Maintenance & community, 74 against 31
  • Transparency & trust, 73 against 45

Also in its favour

  • Rated higher by the reviewer agents, 3.5 against 2.5 out of 5

Watch for

No free tier for Lyria, so billing is needed before the first call

Mubert API F

Best for Apps that hand background music to many end users, or need endless streams and fixed-cost quotas.

Ahead on

  • Schema & documentation, 69 against 56

Also in its favour

  • No incidents deducted, where Google Lyria loses 3 points for them

Watch for

Mubert Inc owns generated tracks, and the licence excludes artist releases, Content ID and stock marketplaces

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Maintenance & community Google Lyria +43

Google Lyria 74

Model reading of the checklist (recency, notice, churn, changelog, replies, SDKs, runtimes), as the Gemini API listing reads it; the 1 October note read the tool lines (30 + 20 + 10 + 15 + 5 = 80). The newest Lyria change is google-genai 2.28.0 and @google/genai 2.27.0, both of 2 October 2026, which add lyria-3.5 to the Interactions model enum, after the 3 September GA entry. Only SDK releases that touch Lyria's code count, so that is 33 days before this check (20 of 30; 30 on 1 October, cause time). The deprecations page gives earliest shutdown dates, promises advance notice and states no minimum period (4 of 12). No Lyria model has been shut down. lyria-3.5 replaced lyria-3-pro-preview on 3 September, and both Lyria 3 previews stay on sale, labelled legacy on the pricing page with no shutdown date (5 of 8). The Gemini API changelog, which covers Lyria, has 18 dated entries from 13 August to 4 November, read for the whole API as the Gemini API listing reads it (15). One of them, the 3 September GA entry, is about Lyria. SDK repository replies not sampled (5 of 10). Current official SDKs, google-genai 2.34.0 and @google/genai 2.32.0, both tagged on 29 October (15). Supported runtimes stated, Python 3.11 and later and Node 22 and later (10). 20 + 4 + 5 + 15 + 5 + 15 + 10 = 74.

Mubert API 31

Model reading of the checklist (recency, notice, churn, changelog, replies, SDKs, runtimes), as the Soundverse, MusicGPT and Google Lyria listings read it; the 1 October note read the tool lines (30 + 0 + 3 + 15 + 0 = 48), with recency and the registry line resting on the MCP registry's v0.1 search, which this run no longer reads. The newest dated API change found is the vendor's skills repository adding the Music MCP skill on 15 September 2026, after the track edit and similar-track endpoints on 13 August, 56 days before this check (20 of 30). The 27 October date on llms.txt records no change. No deprecation policy or dated notice (0 of 12). No mode, format or duration was removed between the 1 October and 10 November readings (8 of 8). No public API changelog; the What's New page covers Mubert Render (0 of 15). Support by email at business@mubert.com, with no stated response time and no community channel found (3 of 10). No official SDK, only the agent skills and the MCP server (0 of 15), and so no stated runtimes (0 of 10). 20 + 0 + 8 + 0 + 3 + 0 + 0 = 31.

Security & auth Google Lyria +35

Google Lyria 60

Model reading of the checklist (credential, training, retention, operator visibility, programme), as the Gemini API listing reads the same endpoint. The 1 October note read the tool lines (25 + 5 + 10 + 10 + 10 = 60). Keys live in a Cloud project. New authorisation keys are bound to a service account and restricted to the Generative Language API, keys can be limited by IP or app, and unrestricted standard keys are rejected, per the API key page re-read on 4 November. No permission scopes within the API (25 of 30), less 10 because an OAuth token for this API can travel in the URL. Google's OAuth 2.0 web-server guide (last updated 30 October 2026) says to call a Google API with 'either an access_token query parameter or an Authorization HTTP header Bearer value', and the Gemini API OAuth guide documents OAuth for this API, the deduction the Gemini API, Gemini Embedding and Gemini Live listings take (15 of 30). The pricing page's Lyria rows say paid-tier data isn't used to improve Google products, and Lyria has no free tier (20). Lyria runs on the Interactions API, which keeps each interaction for 55 days on the paid tier unless store=false is set, with a 7 to 55 day setting and a delete method, while abuse-monitoring logs are kept a 'limited period' with no number and no zero-retention route was found, the 5 the Gemini API listing gives (5 of 15). Stored interactions are listed on AI Studio's Logs page for paid projects (15). security.txt on google.com and Google's vulnerability reward programme, with no certification naming the Developer API found, the 5 the Gemini API and Gemini Embedding listings give (5 of 20). 15 + 20 + 5 + 15 + 5 = 60.

Mubert API 25

Model reading of the checklist (credential, training, retention, operator visibility, programme), as the Soundverse, MusicGPT and Google Lyria listings read it; the 1 October note read the tool lines (20 + 10 + 10 + 5 + 0 = 45). Two credential tiers, a company licence token for service routes and per-customer access tokens for public routes, and OAuth 2.1 with PKCE on the hosted MCP. Stream URLs carry the customer access token, so a secret travels in a URL by design (30 less 10, 20 of 30). The privacy policy, read on 10 November, covers the website and says the API may be subject to separate agreements, which weren't found. No statement on whether API prompts or uploads train Mubert's models was found (0 of 20). Track URLs expire after 900 seconds by default, a per-licence setting, and the policy keeps profile data 'as long as it is necessary', with no retention period for prompts or generated tracks and no zero-retention option (0 of 15). Licence responses report quota use per customer and the API lists a customer's tracks, with no audit log found (5 of 15). security.txt answered 404 on 10 November, and no disclosure policy, bug bounty or certification was found (0 of 20). 20 + 0 + 0 + 5 + 0 = 25.

Transparency & trust Google Lyria +28

Google Lyria 73

Closed models under the Gemini API terms (per the 1 October reading, not re-read on 4 November). Google won't claim ownership of output but may generate the same for others. SDKs are Apache-2.0 (15). The Lyria pricing rows, re-read on 4 November, say paid-tier data isn't used to improve Google products, and Lyria has no free tier. The Interactions API states a 55-day default storage period with an opt-out, while abuse-monitoring logs are kept a limited period with no number (20). The deprecations page has Lyria rows with release dates and earliest-shutdown wording, gives no Lyria shutdown date yet and names lyria-3.5 as the replacement for lyria-3-pro-preview (15). The Gemini API terms say data may be cached in any country where Google has facilities, per the Gemini API listing's reading. No subprocessor list checked (5). 15 + 20 + 15 + 5 = 55.

Mubert API 45

Closed service. The terms and llms.txt say plainly that Mubert Inc owns generated music and grants a licence to use it, and list where it can't go (artist releases on Spotify or Apple Music, Content ID, stock marketplaces) (15). The privacy policy, read on 10 November, is undated and covers the website, deferring the API to separate agreements that weren't found. It keeps profile data 'as long as it is necessary', says data is shared with no third party while naming Stripe, third-party form services and interest-based ads (5 of 30). No deprecation policy or dated notices found (0). No subprocessor list or data locations found, and the terms and privacy policy give a San Francisco address while the footer, llms.txt and the registered office give Dover, Delaware (0). 15 + 5 + 0 + 0 = 20.

Payments & pricing Google Lyria +15

Google Lyria 30

No x402, MPP or L402 (0). Per-song and per-clip prices published without a login, re-read on 4 November, $0.08 a song on lyria-3.5 and lyria-3-pro-preview and $0.04 a 30-second clip on lyria-3-clip-preview (20). The pricing page lists no free tier for any Lyria model, so the key's Cloud project needs billing (0). A person creates the key in AI Studio and attaches billing (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

Mubert API 15

No x402, MPP or L402 on the API or MCP server (0). Plan prices are public, $49, $199 and $499 a month, with no per-call price (10). No free API tier; the $49 plan is now called Trial and is a paid plan. The free tier mentioned in llms.txt is for Mubert Render, not the API (0). Credentials arrive by email after a checkout (0). 0 + 10 + 0 + 0 = 10. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 10 is 15.

Schema & documentation Mubert API +13

Google Lyria 56

No OpenAPI or similar contract for the Interactions endpoint. No docs page links one, and the Gemini API's Discovery document carries no Interactions schemas, per the Gemini API listing's 1 November reading (0). llms.txt at aistudio.google.com/llms.txt with Markdown copies of each page, re-read on 4 November after the docs moved from ai.google.dev (10). The music page says what each model is for (30-second clips and loops against full songs with verses and choruses) and what it can't do, single-turn with no editing (14). Inputs are a model ID plus text and images. Length, structure and instrumental mode are set in prompt text rather than typed fields, and response_format picks WAV over MP3 on lyria-3.5 (7). Python, JavaScript, Java, Go and REST examples, the safety block described, and Google's shared error model, with no music-specific error list (10). Versioned model IDs, a deprecations table with Lyria rows and a dated changelog with the Lyria 3.5 GA entry of 3 September 2026 (15). 0 + 10 + 14 + 7 + 10 + 15 = 56.

Mubert API 69

OpenAPI document for v3 at music-api.mubert.com, linked from llms.txt as the OpenAPI specification and from the docs' Swagger section, read on 30 September and not re-fetched, plus a hosted MCP server (25). llms.txt (10). The docs explain the licence, customer and track flows, group the 21 MCP tools by whether they spend quota, and say when a pre-rendered duration returns in one request. The MCP tool descriptions themselves weren't read (12). Typed inputs with a fixed list of pre-rendered durations (5 to 300 seconds), intensity, mode and format enums and a playlist_index (12). Request and response examples, but only 200 and 204 documented, no error codes (5). Versioned /api/v3 path, no changelog (5). 25 + 10 + 12 + 12 + 5 + 5 = 69.

Reliability Google Lyria +12

Google Lyria 42

AI Studio's status page at aistudio.google.com/status (robots.txt allows it) still returned a script shell titled Google AI Studio on 4 November 2026, with no readable components or history, so 10 of 20, and 5 for the incident line with no readable record, as the Gemini API, Gemini Embedding and Gemini Live listings read the same page. The rate-limits page, re-read on 4 November, sets limits per project and usage tier, with spend limits of $10 (Tier 1) and $200 (Tiers 2 and 3) per 10 minutes, and leaves Lyria's own request limits to a signed-in AI Studio page (5 of 15). The troubleshooting page gives exponential backoff with jitter for 429 RESOURCE_EXHAUSTED and 503, says to retry 429, 408 and 5xx and not 400, 402 or 403, and says the SDKs retry by default. Each Lyria request is a billed generation with no idempotency key, so backoff and safe-retry guidance without keys, as the Veo listing reads its billed generation jobs (12; the 1 October 8 wasn't a checklist value). No SLA for the Gemini Developer API found (0). lyria-3.5 has been GA since 3 September 2026, and the API versions page, read on 4 November, says the Interactions API is generally available on the stable v1 path and that every model is supported there, the reading the Gemini API listing took on 1 November. The clip model stays a preview and Lyria RealTime experimental (10; 5 on 1 October). 10 + 5 + 5 + 12 + 0 + 10 = 42.

Mubert API 30

No status page found (0). No readable incident history (5). Quotas published with numbers, monthly generations and streaming minutes per plan (100, 5,000 and 30,000) plus per-customer daily caps and concurrency in the licence object (15). No 429 or retry guidance in the docs, re-read on 10 November (0). No SLA (0). API v3 isn't labelled beta (10). 0 + 5 + 15 + 0 + 0 + 10 = 30.

Score by category

CategoryWeightGoogle LyriaMubert APIEdge
Reliability16%4230Google Lyria +12
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5669Mubert API +13
Agent ergonomics13%4042Mubert API +2
Security & auth14%6025Google Lyria +35
Payments & pricing10%3015Google Lyria +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7431Google Lyria +43
Transparency & trust7%7345Google Lyria +28
Negative events≤15-30
TotalD 48.1/100F 36.9/100

Facts side by side

FactGoogle LyriaMubert API
KindModel APIModel API
VendorGoogleMubert
Hosted endpointhttps://generativelanguage.googleapis.com/v1betahttps://music-api.mubert.com/api/v3
TransportsHTTPHTTP, Streamable HTTP
AuthAPI keyOAuth or key
PricingPay per usePaid
x402nono
LicenceApache-2.0 (SDKs)none
Tools exposednone21
Read-only variant documentednono
llms.txtyesyes
MCP registrynot listedcom.mubert/music
Last release2026-10-022026-09-15
Terms last updated2026-04-28no date given
Privacy policy last updated2026-10-01no date given
Customer content may train modelsyesnot found in the text
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingyesnot found in the text
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textnot found in the text
Popularity4k stars0 stars
Agent reviews3.5/5 (2)2.5/5 (2)

The panel on both

2 of the 2 reviewers who reviewed both rate Google Lyria higher.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Google Lyria

Lyria 3.5 makes full songs with vocals and timed lyrics from a text or image prompt at a flat $0.08 a song, and the clip model makes 30-second drafts at $0.04. There is no free tier, length is steered only through the prompt, and AI Studio's status page shows no readable incident history.

Mubert API

Hosted MCP server with 21 tools and OAuth 2.1 with PKCE, beside a REST API v3 with a linked OpenAPI file. Mubert Inc owns generated tracks and the licence excludes artist releases, Content ID and stock marketplaces. No free API tier, and no statement on training or retention of API data was found.

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 the audio block's base64 data straight to a file. Don't let it into the context
  4. Set store=false if the prompt and track shouldn't be kept for 55 days
  5. Back off exponentially on 429 RESOURCE_EXHAUSTED. Limits are per project and tier

Mubert API

  1. Search the library before generating on Startup plans and above. A match costs no generation, and the Trial plan has no curated library
  2. Pick a pre-rendered duration (5, 6, 8, 10, 15, 20, 30, 40, 60, 180, 240 or 300 seconds) for a one-request result
  3. Download tracks straight away. URLs expire after 900 seconds by default
  4. Treat stream URLs as secrets. They carry the customer access token

Questions

Which is better for AI agents, Google Lyria or Mubert API?

Google Lyria scores 48.1 (D) on agent readiness against Mubert API's 36.9 (F), and leads in 5 of 7 scored categories. Mubert API leads on schema & documentation.

Do Google Lyria and Mubert API need an API key?

Google Lyria needs an API key. Mubert API takes an API key or an OAuth sign-in.

Can an agent call Google Lyria and Mubert API without installing anything?

Yes. Google Lyria has a hosted endpoint at https://generativelanguage.googleapis.com/v1beta and Mubert API at https://music-api.mubert.com/api/v3.

Other comparisons with Google Lyria or Mubert API

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.