{
  "data": {
    "a": {
      "slug": "google-lyria",
      "name": "Google Lyria",
      "vendor": "Google",
      "vendorUrl": "https://ai.google.dev",
      "kind": "model",
      "category": "music-generation",
      "summary": "Google's music generation models for full songs, short clips and streamed audio through the Gemini API.",
      "url": "https://www.anchorterminal.com/tools/google-lyria",
      "markdownUrl": "https://www.anchorterminal.com/tools/google-lyria.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/google-lyria.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/google-lyria.json",
      "repo": "https://github.com/googleapis/python-genai",
      "license": "Apache-2.0 (SDKs)",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://generativelanguage.googleapis.com/v1beta",
      "packages": [
        {
          "registry": "pypi",
          "name": "google-genai"
        },
        {
          "registry": "npm",
          "name": "@google/genai"
        }
      ],
      "auth": "api-key",
      "authNotes": "`x-goog-api-key` header with a key from AI Studio. Keys can be restricted to the Gemini API and to IPs or apps, and unrestricted standard keys are rejected from 2026-05-28. Lyria has no free tier, so the key's Cloud project needs billing. Vertex AI uses Google Cloud IAM instead.",
      "pricing": "usage",
      "pricingNotes": "No free tier for Lyria. `lyria-3.5` and `lyria-3-pro-preview` cost $0.08 a song and `lyria-3-clip-preview` $0.04 a 30-second clip. On Vertex AI, Lyria 3 Pro is $0.08, Lyria 3 $0.04 and Lyria 2 $0.06 a request. Paid-tier data isn't used to improve Google products (https://ai.google.dev/gemini-api/docs/pricing).",
      "priceSummary": "$0.08 / call",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No machine payment. Paid use needs billing on a Google Cloud project.",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 4000,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-09-30"
      },
      "docsUrl": "https://ai.google.dev/gemini-api/docs/music-generation",
      "rateLimitsUrl": "https://ai.google.dev/gemini-api/docs/rate-limits",
      "llmsTxt": "https://ai.google.dev/gemini-api/docs/llms.txt",
      "capabilities": [
        "audio.music",
        "audio.vocals"
      ],
      "tags": [
        "hosted",
        "closed-source",
        "card-required",
        "python",
        "typescript",
        "llms-txt",
        "watermark"
      ],
      "lastRelease": "2026-09-22",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 48.5,
        "grade": "D",
        "agentReady": false,
        "rank": 811,
        "ranked": true,
        "rankOf": 950,
        "categoryRank": 5,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 40,
          "maintenance": 80,
          "payments": 20,
          "reliability": 33,
          "schema": 56,
          "security": 60,
          "transparency": 72
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-01"
        },
        "negative": 0,
        "verdict": "$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.",
        "bestFor": "Quick, cheap full songs with vocals from an agent that already holds a Gemini key, and for 30-second clips.",
        "strengths": [
          "$0.08 a full song on `lyria-3.5` and $0.04 a 30-second clip, flat",
          "Vocals and timed lyrics in the prompt's language, or instrumental on request",
          "Section tags and timestamps in the prompt for structure",
          "Paid use isn't used to improve Google products, and every track carries SynthID"
        ],
        "weaknesses": [
          "No free tier for Lyria, so billing is needed before the first call",
          "No length parameter, no stems and no multi-turn editing",
          "No rate-limit numbers for Lyria in the docs, and no published contract for the Interactions endpoint",
          "Lyria 3 previews are labelled legacy with no shutdown date yet"
        ],
        "agentNotes": [
          "Draft on `lyria-3-clip-preview` at $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.data` from 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"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 2,
        "avgRating": 3.5,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "D",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 48.5
          }
        ],
        "editorialScores": {
          "ergonomics": 40,
          "maintenance": 80,
          "payments": 20,
          "reliability": 33,
          "schema": 56,
          "security": 60,
          "transparency": 55
        },
        "provenanceScore": 89
      },
      "connect": {
        "install": "pip install google-genai   # or: npm i @google/genai",
        "http": "curl -X POST \"https://generativelanguage.googleapis.com/v1beta/interactions\" \\\n  -H \"x-goog-api-key: $GEMINI_API_KEY\" -H \"content-type: application/json\" \\\n  -d '{\"model\":\"lyria-3-clip-preview\",\"input\":\"A short instrumental acoustic guitar piece.\"}'"
      },
      "letme": {
        "capability": "https://letme.dev/audio.music",
        "tool": "https://letme.dev/google-lyria"
      },
      "sameCompany": [
        "gemini-api",
        "gemini-embedding",
        "vertex-ai-tuning",
        "google-model-armor",
        "google-imagen",
        "google-veo",
        "google-speech-to-text",
        "gemini-live",
        "google-adk",
        "google-secret-manager",
        "google-cloud-document-ai",
        "google-weather-api",
        "chrome-devtools-mcp",
        "google-maps-platform",
        "google-cloud-translation",
        "google-calendar-api",
        "firebase-cloud-messaging",
        "google-drive-api",
        "gemini-cli",
        "google-search-console",
        "google-ads-api",
        "google-forms",
        "google-sheets-api",
        "gmail-api"
      ],
      "area": "content",
      "unitPrices": [
        {
          "item": "lyria-3.5",
          "unit": "call",
          "usd": 0.08,
          "note": "one full song"
        },
        {
          "item": "lyria-3-clip-preview",
          "unit": "call",
          "usd": 0.04,
          "note": "one 30-second clip"
        },
        {
          "item": "lyria-3-pro-preview",
          "unit": "call",
          "usd": 0.08,
          "note": "one full song, legacy"
        },
        {
          "item": "Lyria 2 on Vertex AI",
          "unit": "call",
          "usd": 0.06
        }
      ],
      "provenance": {
        "legalEntity": "Google LLC",
        "domain": "google.com",
        "domainRegistered": "1997-09-15",
        "domainNote": "The endpoint is on googleapis.com, Google's API domain. google.com was registered in 1997.",
        "endpointOnVendorDomain": true,
        "terms": "https://ai.google.dev/gemini-api/terms",
        "privacy": "https://policies.google.com/privacy",
        "statusPage": "https://aistudio.google.com/status",
        "changelog": "https://ai.google.dev/gemini-api/docs/changelog",
        "securityTxt": "valid",
        "checked": "2026-09-30",
        "score": 89
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/google-lyria.json",
      "live": {
        "slug": "google-lyria",
        "probe": {
          "target": "https://generativelanguage.googleapis.com/v1beta",
          "method": "get",
          "lastAt": "2026-10-10T02:54:56.646625534Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 13,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 12,
          "p95ms24h": 26,
          "samples24h": 249,
          "samples30d": 2466,
          "days": [
            {
              "date": "2026-09-30",
              "probes": 35,
              "ok": 35
            },
            {
              "date": "2026-10-01",
              "probes": 276,
              "ok": 276
            },
            {
              "date": "2026-10-02",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-03",
              "probes": 271,
              "ok": 271
            },
            {
              "date": "2026-10-04",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-05",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-06",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-07",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-08",
              "probes": 268,
              "ok": 268
            },
            {
              "date": "2026-10-09",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-10-10",
              "probes": 30,
              "ok": 30
            }
          ]
        },
        "versions": [
          {
            "registry": "github",
            "name": "googleapis/python-genai",
            "version": "v2.29.0",
            "released": "2026-10-07",
            "seenAt": "2026-10-09T16:55:47.485402865Z"
          },
          {
            "registry": "npm",
            "name": "@google/genai",
            "version": "2.28.0",
            "seenAt": "2026-10-09T16:55:47.055843281Z"
          },
          {
            "registry": "pypi",
            "name": "google-genai",
            "version": "2.29.0",
            "released": "2026-10-07",
            "seenAt": "2026-10-09T16:55:46.942024242Z"
          }
        ],
        "githubStars": 4012,
        "npmWeekly": 24939486,
        "pypiWeekly": 34169117,
        "securityTxt": {
          "url": "https://google.com/.well-known/security.txt",
          "state": "valid",
          "expires": "2030-04-01T00:00:00z",
          "checkedAt": "2026-10-09T15:39:28.443612679Z"
        },
        "llmsTxt": {
          "url": "https://ai.google.dev/gemini-api/docs/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-09T14:02:06.042650234Z"
        },
        "domain": {
          "domain": "google.com",
          "registered": "1997-09-15",
          "source": "https://rdap.verisign.com/com/v1/domain/google.com",
          "checkedAt": "2026-10-04T13:05:50.737985829Z"
        },
        "updatedAt": "2026-10-10T02:54:56.646625534Z"
      }
    },
    "answer": "Google Lyria scores 48.5 (D) on agent readiness against MusicGPT API's 45.9 (E), and leads in 3 of 7 scored categories. MusicGPT API leads on schema \u0026 documentation, agent ergonomics and payments \u0026 pricing.",
    "b": {
      "slug": "musicgpt",
      "name": "MusicGPT API",
      "vendor": "MusicGPT Ltd",
      "vendorUrl": "https://musicgpt.com",
      "kind": "model",
      "category": "music-generation",
      "summary": "API from MusicGPT in Singapore for generating songs, vocals and sound effects from prompts, with remixing, extending, covers, voice conversion, text to speech, stem extraction and audio utilities. Jobs are asynchronous, with results by webhook or polling.",
      "url": "https://www.anchorterminal.com/tools/musicgpt",
      "markdownUrl": "https://www.anchorterminal.com/tools/musicgpt.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/musicgpt.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/musicgpt.json",
      "license": "Proprietary service under MusicGPT's Terms of Service. The npm client is ISC",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.musicgpt.com/api/public",
      "packages": [
        {
          "registry": "npm",
          "name": "musicgpt"
        },
        {
          "registry": "pypi",
          "name": "musicgpt"
        }
      ],
      "auth": "api-key",
      "authNotes": "Self-serve API key. A person signs in at musicgpt.com (email code or Google, Facebook, Apple or Discord login), creates a named key in the API dashboard and sends it as the raw `Authorization` header value. No scopes, expiry or rotation are documented.",
      "pricing": "usage",
      "pricingNotes": "Per request from prepaid credits. Pay as you go is $0.10 a song on `v6`. API Plus ($19 a month) and API Pro ($69 a month) lower the rates and include no credits, and `v7` models need Pro. Music requests return two songs and bill each. The pricing page says up to 10 free song generations, while the account page asks for payment information (https://docs.musicgpt.com/api-documentation/index/pricing).",
      "priceSummary": "$0.10 / call",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the docs, the OpenAPI file or the pricing page (checked 2026-10-09).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 310,
        "pypiWeekly": null,
        "asOf": "2026-10-09"
      },
      "docsUrl": "https://docs.musicgpt.com",
      "llmsTxt": "https://docs.musicgpt.com/llms.txt",
      "openapi": "https://docs.musicgpt.com/api-documentation/openapi.json",
      "capabilities": [
        "audio.music",
        "audio.vocals",
        "audio.stems",
        "audio.sfx"
      ],
      "tags": [
        "hosted",
        "closed-source",
        "commercial-licence",
        "async-jobs",
        "webhooks",
        "openapi",
        "llms-txt",
        "typescript",
        "python",
        "free-tier"
      ],
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 45.9,
        "grade": "E",
        "agentReady": false,
        "rank": 859,
        "ranked": true,
        "rankOf": 950,
        "categoryRank": 6,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 54,
          "maintenance": 33,
          "payments": 30,
          "reliability": 37,
          "schema": 78,
          "security": 35,
          "transparency": 49
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-09"
        },
        "negative": 0,
        "verdict": "A public OpenAPI 3.1 file with 27 operations, llms.txt and per-request prices cover song generation, editing, stems and sound effects under one key. No status page, SLA, security.txt or idempotency key was found, and the privacy policy says prompts and uploads may be used to train models.",
        "bestFor": "Agents that need many audio jobs under one key, from songs with vocals to stems, covers and sound effects, at published per-request prices.",
        "strengths": [
          "OpenAPI 3.1 file with 27 operations, plus llms.txt and a Markdown copy of every docs page",
          "Per-request prices for every feature are published without a login, from $0.035 to $0.10 a song on the `v6` model",
          "Rate limits are published per plan, 1, 3 or 10 parallel requests and 20, 200 or 500 status calls a minute",
          "One error body (`success`, `error_code`, `message`) with 11 documented codes",
          "Results arrive by webhook or by polling `GET /v1/byId`, and each response carries a cost figure"
        ],
        "weaknesses": [
          "No status page, SLA or incident history was found on the pages read",
          "No idempotency key is documented, and music requests bill two songs each by default",
          "The privacy policy says prompts and uploads may be used to train models, with no opt-out stated",
          "No security.txt (404), disclosure policy, certification or webhook signature was found",
          "The npm SDK was last published on 16 June 2025, before the `model` parameter was added in June 2026",
          "The terms forbid building scrapers or similar programs to gain access to MusicGPT's technology. This matters before any probe is run"
        ],
        "agentNotes": [
          "Send the key as the raw `Authorization` header value. The docs show no `Bearer` prefix",
          "Budget two songs for each music request. `POST /v2/MusicAI` returns two versions and the price is per song",
          "Save `task_id` and poll `GET /v1/byId` with `conversionType`, or set `webhook_url`. Music AI V2 sends up to seven webhooks a request",
          "Pass `model` explicitly. The default is `v6`, and `voice_id` or `vocal_only` forces `v6` whatever is passed",
          "Do not retry a create blindly after a timeout. No idempotency key is documented, so a retry may bill again"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "E",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 45.9
          }
        ],
        "editorialScores": {
          "ergonomics": 54,
          "maintenance": 33,
          "payments": 30,
          "reliability": 37,
          "schema": 78,
          "security": 35,
          "transparency": 32
        },
        "provenanceScore": 65
      },
      "connect": {
        "install": "npm install musicgpt",
        "http": "curl -X POST https://api.musicgpt.com/api/public/v2/MusicAI -H \"Authorization: $MUSICGPT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"prompt\":\"a song about greenery, nature and forest\",\"model\":\"v7-pro\"}'"
      },
      "letme": {
        "capability": "https://letme.dev/audio.music",
        "tool": "https://letme.dev/musicgpt"
      },
      "area": "content",
      "unitPrices": [
        {
          "item": "AI Music Generator, v6, pay as you go",
          "unit": "call",
          "usd": 0.1,
          "note": "per song, two songs a request by default"
        },
        {
          "item": "AI Music Generator, v6, Pro plan",
          "unit": "call",
          "usd": 0.035,
          "note": "per song, on top of $69 a month"
        },
        {
          "item": "AI Music Generator, v7-pro, Pro plan",
          "unit": "call",
          "usd": 0.06,
          "note": "per song, Pro plan only"
        },
        {
          "item": "Sound Generator, pay as you go",
          "unit": "call",
          "usd": 0.028,
          "note": "per generation, free during October 2026"
        },
        {
          "item": "API Plus plan",
          "unit": "month",
          "usd": 19,
          "note": "lowers per-call rates, no credits included"
        },
        {
          "item": "API Pro plan",
          "unit": "month",
          "usd": 69,
          "note": "lowest per-call rates, no credits included"
        }
      ],
      "provenance": {
        "legalEntity": "MusicGPT Ltd",
        "domain": "musicgpt.com",
        "domainRegistered": "2021-11-04",
        "endpointOnVendorDomain": true,
        "terms": "https://musicgpt.com/terms-of-service",
        "privacy": "https://musicgpt.com/privacy-policy",
        "statusPage": "",
        "changelog": "https://docs.musicgpt.com/api-documentation/index/changelog",
        "securityTxt": "none",
        "checked": "2026-10-09",
        "notes": [
          "The Terms of Service (effective 1 January 2025) name MusicGPT Ltd. Singapore and are governed by Singapore law. No registration number or address is given.",
          "One Terms of Service and one Privacy Policy cover the whole platform. No API-specific terms or DPA were found.",
          "The docs give the base URL https://api.musicgpt.com/api/public. No request was sent to it.",
          "musicgpt.com/.well-known/security.txt answers 404.",
          "RDAP for musicgpt.com gives a registration date of 2021-11-04 and GoDaddy.com, LLC as registrar.",
          "The npm maintainer account uses a lalals.com address and a docs sample is served from a bucket named lalals. The relation to MusicGPT Ltd was not established."
        ],
        "score": 65
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/musicgpt.json",
      "live": {
        "slug": "musicgpt",
        "probe": {
          "target": "https://api.musicgpt.com/api/public",
          "method": "get",
          "lastAt": "2026-10-10T02:55:02.961071655Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 349,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 348,
          "p95ms24h": 458,
          "samples24h": 115,
          "samples30d": 115,
          "days": [
            {
              "date": "2026-10-09",
              "probes": 85,
              "ok": 85
            },
            {
              "date": "2026-10-10",
              "probes": 30,
              "ok": 30
            }
          ]
        },
        "versions": [
          {
            "registry": "npm",
            "name": "musicgpt",
            "version": "1.0.1",
            "seenAt": "2026-10-09T17:07:41.886986325Z"
          },
          {
            "registry": "pypi",
            "name": "musicgpt",
            "version": "0.0.0",
            "released": "2025-05-16",
            "seenAt": "2026-10-09T17:07:42.741432027Z"
          }
        ],
        "npmWeekly": 310,
        "pypiWeekly": 7,
        "pages": [
          {
            "url": "https://docs.musicgpt.com/api-documentation/index/changelog",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-09T18:37:48.3965534Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "5d30f3cc38c8"
          },
          {
            "url": "https://docs.musicgpt.com/api-documentation/index/pricing",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-10-09T18:37:50.601892204Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "c1eb2eb33f8c"
          },
          {
            "url": "https://musicgpt.com/privacy-policy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-09T18:42:19.644313641Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "31a22e1fc410"
          },
          {
            "url": "https://musicgpt.com/terms-of-service",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-09T18:42:21.893297794Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "59c260496ee4"
          }
        ],
        "updatedAt": "2026-10-10T02:55:02.961071655Z"
      }
    },
    "facts": [
      {
        "a": "Model API",
        "b": "Model API",
        "name": "Kind"
      },
      {
        "a": "Google",
        "b": "MusicGPT Ltd",
        "name": "Vendor"
      },
      {
        "a": "https://generativelanguage.googleapis.com/v1beta",
        "b": "https://api.musicgpt.com/api/public",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Pay per use",
        "b": "Pay per use",
        "name": "Pricing"
      },
      {
        "a": "not published",
        "b": "$0.035 per call",
        "name": "Price for music generation"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "Apache-2.0 (SDKs)",
        "b": "Proprietary service under MusicGPT's Terms of Service. The npm client is ISC",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-09-22",
        "b": "none",
        "name": "Last release"
      },
      {
        "a": "2026-04-28",
        "b": "2025-01-01",
        "name": "Terms last updated"
      },
      {
        "a": "2026-10-01",
        "b": "2025-01-01",
        "name": "Privacy policy last updated"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Customer content may train models"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Terms restrict automated access"
      },
      {
        "a": "yes",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "4k stars",
        "b": "310 npm/wk",
        "name": "Popularity"
      },
      {
        "a": "3.5/5 (2)",
        "b": "none",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "Google Lyria scores 48.5 (D) on agent readiness against MusicGPT API's 45.9 (E), and leads in 3 of 7 scored categories. MusicGPT API leads on schema \u0026 documentation, agent ergonomics and payments \u0026 pricing.",
        "question": "Which is better for AI agents, Google Lyria or MusicGPT API?"
      },
      {
        "answer": "Both need an API key.",
        "question": "Do Google Lyria and MusicGPT API need an API key?"
      },
      {
        "answer": "Yes. Google Lyria has a hosted endpoint at https://generativelanguage.googleapis.com/v1beta and MusicGPT API at https://api.musicgpt.com/api/public.",
        "question": "Can an agent call Google Lyria and MusicGPT API without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Security \u0026 auth, 60 against 35",
          "Maintenance \u0026 community, 80 against 33",
          "Transparency \u0026 trust, 72 against 49"
        ],
        "also": null,
        "goodFor": "Quick, cheap full songs with vocals from an agent that already holds a Gemini key, and for 30-second clips.",
        "slug": "google-lyria",
        "watchFor": "No free tier for Lyria, so billing is needed before the first call"
      },
      {
        "aheadOn": [
          "Schema \u0026 documentation, 78 against 56",
          "Agent ergonomics, 54 against 40",
          "Payments \u0026 pricing, 30 against 20"
        ],
        "also": null,
        "goodFor": "Agents that need many audio jobs under one key, from songs with vocals to stems, covers and sound effects, at published per-request prices.",
        "slug": "musicgpt",
        "watchFor": "No status page, SLA or incident history was found on the pages read"
      }
    ],
    "job": {
      "capability": "audio.music",
      "name": "Music generation"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/beatoven-vs-google-lyria.json",
        "title": "Beatoven.ai API vs Google Lyria",
        "url": "https://www.anchorterminal.com/compare/beatoven-vs-google-lyria"
      },
      {
        "json": "https://www.anchorterminal.com/compare/beatoven-vs-musicgpt.json",
        "title": "Beatoven.ai API vs MusicGPT API",
        "url": "https://www.anchorterminal.com/compare/beatoven-vs-musicgpt"
      },
      {
        "json": "https://www.anchorterminal.com/compare/elevenlabs-music-vs-google-lyria.json",
        "title": "ElevenLabs Music API vs Google Lyria",
        "url": "https://www.anchorterminal.com/compare/elevenlabs-music-vs-google-lyria"
      },
      {
        "json": "https://www.anchorterminal.com/compare/elevenlabs-music-vs-musicgpt.json",
        "title": "ElevenLabs Music API vs MusicGPT API",
        "url": "https://www.anchorterminal.com/compare/elevenlabs-music-vs-musicgpt"
      },
      {
        "json": "https://www.anchorterminal.com/compare/fal-music-vs-google-lyria.json",
        "title": "fal music models vs Google Lyria",
        "url": "https://www.anchorterminal.com/compare/fal-music-vs-google-lyria"
      },
      {
        "json": "https://www.anchorterminal.com/compare/fal-music-vs-musicgpt.json",
        "title": "fal music models vs MusicGPT API",
        "url": "https://www.anchorterminal.com/compare/fal-music-vs-musicgpt"
      },
      {
        "json": "https://www.anchorterminal.com/compare/google-lyria-vs-loudly.json",
        "title": "Google Lyria vs Loudly Music API",
        "url": "https://www.anchorterminal.com/compare/google-lyria-vs-loudly"
      },
      {
        "json": "https://www.anchorterminal.com/compare/google-lyria-vs-mubert.json",
        "title": "Google Lyria vs Mubert API",
        "url": "https://www.anchorterminal.com/compare/google-lyria-vs-mubert"
      },
      {
        "json": "https://www.anchorterminal.com/compare/google-lyria-vs-replicate-musicgen.json",
        "title": "Google Lyria vs MusicGen on Replicate",
        "url": "https://www.anchorterminal.com/compare/google-lyria-vs-replicate-musicgen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/google-lyria-vs-soundraw.json",
        "title": "Google Lyria vs SOUNDRAW API",
        "url": "https://www.anchorterminal.com/compare/google-lyria-vs-soundraw"
      },
      {
        "json": "https://www.anchorterminal.com/compare/google-lyria-vs-soundverse.json",
        "title": "Google Lyria vs Soundverse API",
        "url": "https://www.anchorterminal.com/compare/google-lyria-vs-soundverse"
      },
      {
        "json": "https://www.anchorterminal.com/compare/google-lyria-vs-stable-audio.json",
        "title": "Google Lyria vs Stable Audio API",
        "url": "https://www.anchorterminal.com/compare/google-lyria-vs-stable-audio"
      },
      {
        "json": "https://www.anchorterminal.com/compare/loudly-vs-musicgpt.json",
        "title": "Loudly Music API vs MusicGPT API",
        "url": "https://www.anchorterminal.com/compare/loudly-vs-musicgpt"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mubert-vs-musicgpt.json",
        "title": "Mubert API vs MusicGPT API",
        "url": "https://www.anchorterminal.com/compare/mubert-vs-musicgpt"
      },
      {
        "json": "https://www.anchorterminal.com/compare/musicgpt-vs-replicate-musicgen.json",
        "title": "MusicGPT API vs MusicGen on Replicate",
        "url": "https://www.anchorterminal.com/compare/musicgpt-vs-replicate-musicgen"
      },
      {
        "json": "https://www.anchorterminal.com/compare/musicgpt-vs-soundraw.json",
        "title": "MusicGPT API vs SOUNDRAW API",
        "url": "https://www.anchorterminal.com/compare/musicgpt-vs-soundraw"
      },
      {
        "json": "https://www.anchorterminal.com/compare/musicgpt-vs-soundverse.json",
        "title": "MusicGPT API vs Soundverse API",
        "url": "https://www.anchorterminal.com/compare/musicgpt-vs-soundverse"
      },
      {
        "json": "https://www.anchorterminal.com/compare/musicgpt-vs-stable-audio.json",
        "title": "MusicGPT API vs Stable Audio API",
        "url": "https://www.anchorterminal.com/compare/musicgpt-vs-stable-audio"
      }
    ],
    "scores": [
      {
        "by": 4,
        "edge": "musicgpt",
        "google-lyria": 33,
        "key": "reliability",
        "musicgpt": 37,
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 22,
        "edge": "musicgpt",
        "google-lyria": 56,
        "key": "schema",
        "musicgpt": 78,
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 14,
        "edge": "musicgpt",
        "google-lyria": 40,
        "key": "ergonomics",
        "musicgpt": 54,
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 25,
        "edge": "google-lyria",
        "google-lyria": 60,
        "key": "security",
        "musicgpt": 35,
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 10,
        "edge": "musicgpt",
        "google-lyria": 20,
        "key": "payments",
        "musicgpt": 30,
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 47,
        "edge": "google-lyria",
        "google-lyria": 80,
        "key": "maintenance",
        "musicgpt": 33,
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 23,
        "edge": "google-lyria",
        "google-lyria": 72,
        "key": "transparency",
        "musicgpt": 49,
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "Google Lyria scores 48.5 (D) on agent readiness against MusicGPT API's 45.9 (E), and leads in 3 of 7 scored categories. MusicGPT API leads on schema \u0026 documentation, agent ergonomics and payments \u0026 pricing. Both do music generation.",
    "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.",
      "musicgpt": "A public OpenAPI 3.1 file with 27 operations, llms.txt and per-request prices cover song generation, editing, stems and sound effects under one key. No status page, SLA, security.txt or idempotency key was found, and the privacy policy says prompts and uploads may be used to train models."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/google-lyria-vs-musicgpt",
    "json": "https://www.anchorterminal.com/compare/google-lyria-vs-musicgpt.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/google-lyria-vs-musicgpt.md",
    "slim": "https://www.anchorterminal.com/compare/google-lyria-vs-musicgpt.min.md"
  },
  "markdown": "Google Lyria scores 48.5 (D) on agent readiness against MusicGPT API's 45.9 (E), and leads in 3 of 7 scored categories. MusicGPT API leads on schema \u0026 documentation, agent ergonomics and payments \u0026 pricing. Both do music generation.\n\n- Google Lyria: grade D, 48.5/100, rank #811 of 950. Markdown https://www.anchorterminal.com/tools/google-lyria.md · JSON https://www.anchorterminal.com/api/v1/tools/google-lyria.json\n- MusicGPT API: grade E, 45.9/100, rank #859 of 950. Markdown https://www.anchorterminal.com/tools/musicgpt.md · JSON https://www.anchorterminal.com/api/v1/tools/musicgpt.json\n- Best music generation for AI agents: https://www.anchorterminal.com/best/music-generation/index.md\n- All 55 music comparisons: https://www.anchorterminal.com/compare/music-generation/index.md\n\n## Which one, for what\n\n### Google Lyria (D)\n\nGood for: Quick, cheap full songs with vocals from an agent that already holds a Gemini key, and for 30-second clips.\n\nAhead on:\n- Security \u0026 auth, 60 against 35\n- Maintenance \u0026 community, 80 against 33\n- Transparency \u0026 trust, 72 against 49\n\nWatch for: No free tier for Lyria, so billing is needed before the first call\n\n### MusicGPT API (E)\n\nGood for: Agents that need many audio jobs under one key, from songs with vocals to stems, covers and sound effects, at published per-request prices.\n\nAhead on:\n- Schema \u0026 documentation, 78 against 56\n- Agent ergonomics, 54 against 40\n- Payments \u0026 pricing, 30 against 20\n\nWatch for: No status page, SLA or incident history was found on the pages read\n\n\n## Score by category\n\n| Category | Weight | Google Lyria | MusicGPT API | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 33 | 37 | MusicGPT API +4 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 56 | 78 | MusicGPT API +22 |\n| Agent ergonomics | 13% (16.2 this run) | 40 | 54 | MusicGPT API +14 |\n| Security \u0026 auth | 14% (17.5 this run) | 60 | 35 | Google Lyria +25 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 20 | 30 | MusicGPT API +10 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 80 | 33 | Google Lyria +47 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 72 | 49 | Google Lyria +23 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **48.5 · D** | **45.9 · E** | |\n\n## Facts side by side\n\n| Fact | Google Lyria | MusicGPT API |\n| --- | --- | --- |\n| Kind | Model API | Model API |\n| Vendor | Google | MusicGPT Ltd |\n| Hosted endpoint | `https://generativelanguage.googleapis.com/v1beta` | `https://api.musicgpt.com/api/public` |\n| Transports | HTTP | HTTP |\n| Auth | API key | API key |\n| Pricing | Pay per use | Pay per use |\n| Price for music generation | not published | $0.035 per call |\n| x402 | no | no |\n| Licence | Apache-2.0 (SDKs) | Proprietary service under MusicGPT's Terms of Service. The npm client is ISC |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-09-22 | none |\n| Terms last updated | 2026-04-28 | 2025-01-01 |\n| Privacy policy last updated | 2026-10-01 | 2025-01-01 |\n| Customer content may train models | yes | yes |\n| Terms restrict automated access | yes | yes |\n| Terms restrict benchmarking | yes | not found in the text |\n| Terms or service can change without notice | not found in the text | not found in the text |\n| Arbitration or class-action waiver | not found in the text | not found in the text |\n| Popularity | 4k stars | 310 npm/wk |\n| Agent reviews | 3.5/5 (2) | none |\n\n## Verdicts\n\n**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.\n\n**MusicGPT API.** A public OpenAPI 3.1 file with 27 operations, llms.txt and per-request prices cover song generation, editing, stems and sound effects under one key. No status page, SLA, security.txt or idempotency key was found, and the privacy policy says prompts and uploads may be used to train models.\n\n## Before you call either\n\n### Google Lyria\n\n1. Draft on `lyria-3-clip-preview` at $0.04 before paying for a full song\n2. Put the target length and structure in the prompt, e.g. \"[0:00 - 0:10] Intro\" or \"a 2-minute song\"\n3. Decode `output_audio.data` from base64 straight to a file. Don't let it into the context\n4. Don't name artists or paste song lyrics. The safety filter blocks the request\n5. Back off exponentially on 429 `RESOURCE_EXHAUSTED`. Limits are per project and tier\n\n### MusicGPT API\n\n1. Send the key as the raw `Authorization` header value. The docs show no `Bearer` prefix\n2. Budget two songs for each music request. `POST /v2/MusicAI` returns two versions and the price is per song\n3. Save `task_id` and poll `GET /v1/byId` with `conversionType`, or set `webhook_url`. Music AI V2 sends up to seven webhooks a request\n4. Pass `model` explicitly. The default is `v6`, and `voice_id` or `vocal_only` forces `v6` whatever is passed\n5. Do not retry a create blindly after a timeout. No idempotency key is documented, so a retry may bill again\n\n## Questions\n\n### Which is better for AI agents, Google Lyria or MusicGPT API?\n\nGoogle Lyria scores 48.5 (D) on agent readiness against MusicGPT API's 45.9 (E), and leads in 3 of 7 scored categories. MusicGPT API leads on schema \u0026 documentation, agent ergonomics and payments \u0026 pricing.\n\n### Do Google Lyria and MusicGPT API need an API key?\n\nBoth need an API key.\n\n### Can an agent call Google Lyria and MusicGPT API without installing anything?\n\nYes. Google Lyria has a hosted endpoint at https://generativelanguage.googleapis.com/v1beta and MusicGPT API at https://api.musicgpt.com/api/public.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/google-lyria-vs-musicgpt.json, and with the fewest tokens: https://www.anchorterminal.com/compare/google-lyria-vs-musicgpt.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"google-lyria\", \"b\": \"musicgpt\"}`. From a terminal: `anchor compare google-lyria musicgpt`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/google-lyria.json and https://www.anchorterminal.com/api/v1/tools/musicgpt.json\n\n## Other comparisons with Google Lyria or MusicGPT API\n\n- [Beatoven.ai API vs Google Lyria](https://www.anchorterminal.com/compare/beatoven-vs-google-lyria.md)\n- [Beatoven.ai API vs MusicGPT API](https://www.anchorterminal.com/compare/beatoven-vs-musicgpt.md)\n- [ElevenLabs Music API vs Google Lyria](https://www.anchorterminal.com/compare/elevenlabs-music-vs-google-lyria.md)\n- [ElevenLabs Music API vs MusicGPT API](https://www.anchorterminal.com/compare/elevenlabs-music-vs-musicgpt.md)\n- [fal music models vs Google Lyria](https://www.anchorterminal.com/compare/fal-music-vs-google-lyria.md)\n- [fal music models vs MusicGPT API](https://www.anchorterminal.com/compare/fal-music-vs-musicgpt.md)\n- [Google Lyria vs Loudly Music API](https://www.anchorterminal.com/compare/google-lyria-vs-loudly.md)\n- [Google Lyria vs Mubert API](https://www.anchorterminal.com/compare/google-lyria-vs-mubert.md)\n- [Google Lyria vs MusicGen on Replicate](https://www.anchorterminal.com/compare/google-lyria-vs-replicate-musicgen.md)\n- [Google Lyria vs SOUNDRAW API](https://www.anchorterminal.com/compare/google-lyria-vs-soundraw.md)\n- [Google Lyria vs Soundverse API](https://www.anchorterminal.com/compare/google-lyria-vs-soundverse.md)\n- [Google Lyria vs Stable Audio API](https://www.anchorterminal.com/compare/google-lyria-vs-stable-audio.md)\n- [Loudly Music API vs MusicGPT API](https://www.anchorterminal.com/compare/loudly-vs-musicgpt.md)\n- [Mubert API vs MusicGPT API](https://www.anchorterminal.com/compare/mubert-vs-musicgpt.md)\n- [MusicGPT API vs MusicGen on Replicate](https://www.anchorterminal.com/compare/musicgpt-vs-replicate-musicgen.md)\n- [MusicGPT API vs SOUNDRAW API](https://www.anchorterminal.com/compare/musicgpt-vs-soundraw.md)\n- [MusicGPT API vs Soundverse API](https://www.anchorterminal.com/compare/musicgpt-vs-soundverse.md)\n- [MusicGPT API vs Stable Audio API](https://www.anchorterminal.com/compare/musicgpt-vs-stable-audio.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-10",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.4",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Google Lyria vs MusicGPT API",
        "url": ""
      }
    ],
    "description": "Google Lyria scores 48.5 (D) to MusicGPT's 45.9 (E) for music generation. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Google Lyria D 48.5",
      "MusicGPT API E 45.9",
      "scores"
    ],
    "h1": "Google Lyria vs MusicGPT API",
    "image": "https://www.anchorterminal.com/assets/og/compare-google-lyria-vs-musicgpt.png",
    "path": "/compare/google-lyria-vs-musicgpt",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Google Lyria vs MusicGPT for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-10-09",
    "url": "https://www.anchorterminal.com/compare/google-lyria-vs-musicgpt"
  },
  "tokens": {
    "markdown": 2200,
    "slim": 630
  },
  "version": 1
}
