{
  "data": {
    "a": {
      "slug": "replicate-musicgen",
      "name": "MusicGen on Replicate",
      "vendor": "Replicate (Cloudflare)",
      "vendorUrl": "https://replicate.com",
      "kind": "platform",
      "category": "music-generation",
      "summary": "Replicate's hosted copy of Meta's open-weights MusicGen (stereo-melody-large, stereo-large, melody-large, large), prompted with text or a melody clip.",
      "url": "https://www.anchorterminal.com/tools/replicate-musicgen",
      "markdownUrl": "https://www.anchorterminal.com/tools/replicate-musicgen.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/replicate-musicgen.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/replicate-musicgen.json",
      "repo": "https://github.com/facebookresearch/audiocraft",
      "license": "MIT code, CC-BY-NC-4.0 weights",
      "transports": [
        "http",
        "stdio",
        "sse"
      ],
      "remoteUrl": "https://api.replicate.com/v1",
      "packages": [
        {
          "registry": "npm",
          "name": "replicate"
        },
        {
          "registry": "pypi",
          "name": "replicate"
        },
        {
          "registry": "npm",
          "name": "replicate-mcp"
        }
      ],
      "auth": "api-key",
      "authNotes": "`Authorization: Bearer $REPLICATE_API_TOKEN`. The hosted MCP server takes the same token.",
      "pricing": "usage",
      "pricingNotes": "Prepaid credit. MusicGen runs on an A100 80GB at $0.0014 a second, about $0.035 a typical run. Official models are priced per output. Lyria 2 $2 per 1,000 seconds of audio, ElevenLabs Music $8.30 per 1,000 seconds, MiniMax Music 2.5 $0.15 a file, Stable Audio 2.5 $0.20 a file. Community models bill GPU time (https://replicate.com/pricing).",
      "priceSummary": "$0.035 / call",
      "where": "both",
      "x402": {
        "level": "no",
        "evidence": "No x402 in the API docs or pricing (checked 2026-09-30).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 23657,
        "npmWeekly": 634116,
        "pypiWeekly": 386704,
        "asOf": "2026-09-30"
      },
      "docsUrl": "https://replicate.com/meta/musicgen/api",
      "llmsTxt": "https://replicate.com/docs/llms.txt",
      "openapi": "https://api.replicate.com/openapi.json",
      "capabilities": [
        "audio.music"
      ],
      "tags": [
        "hosted",
        "model-platform",
        "open-weights",
        "async-jobs",
        "webhooks",
        "python",
        "typescript",
        "mcp",
        "llms-txt",
        "openapi",
        "card-required"
      ],
      "lastRelease": "2024-03-28",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 54.4,
        "grade": "C",
        "agentReady": false,
        "rank": 323,
        "ranked": true,
        "rankOf": 452,
        "categoryRank": 3,
        "methodology": "0.3",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 75,
          "maintenance": 32,
          "payments": 20,
          "reliability": 48,
          "schema": 87,
          "security": 40,
          "transparency": 70
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-01"
        },
        "negative": 0,
        "verdict": "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.",
        "strengths": [
          "About $0.035 a run, billed by GPU second, with text or melody conditioning",
          "Published rate limits (600 creates a minute) and a 429 that says when to retry",
          "API inputs, outputs and logs deleted after an hour by default",
          "Webhooks, `Prefer: wait`, OpenAPI and official clients on the same account as commercial music models"
        ],
        "weaknesses": [
          "MusicGen weights are CC-BY-NC 4.0, so no commercial use",
          "Instrumental only, and the model version dates from 2024-03-28",
          "No API token scopes and no security.txt",
          "No platform changelog entries since 2026-04-21, and the npm client is from 2025-11-17"
        ],
        "agentNotes": [
          "Set `duration` (default 8 seconds) and `model_version`. The default is stereo-melody-large",
          "Use `Prefer: wait` for short clips and webhooks for long ones",
          "On a 429, wait the reset time in the message, about 30 seconds",
          "Switch to `google/lyria-2` or `minimax/music-2.5` when output must be commercial",
          "Add a payment method first, or you're held to 6 requests a minute"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 2,
        "avgRating": 3,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "C",
            "methodology": "0.3",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 54.4
          }
        ],
        "editorialScores": {
          "ergonomics": 75,
          "maintenance": 32,
          "payments": 20,
          "reliability": 48,
          "schema": 87,
          "security": 40,
          "transparency": 50
        },
        "provenanceScore": 90
      },
      "connect": {
        "http": "curl -X POST https://api.replicate.com/v1/models/meta/musicgen/predictions -H \"Authorization: Bearer $REPLICATE_API_TOKEN\" \\\n  -H \"Content-Type: application/json\" -H \"Prefer: wait\" \\\n  -d '{\"input\":{\"prompt\":\"upbeat synthwave with driving bass\",\"duration\":8}}'",
        "claudeCode": "claude mcp add replicate https://mcp.replicate.com/sse --transport sse"
      },
      "letme": {
        "capability": "https://letme.dev/audio.music",
        "tool": "https://letme.dev/replicate-musicgen"
      },
      "sameCompany": [
        "replicate-deploy",
        "replicate-image"
      ],
      "area": "content",
      "unitPrices": [
        {
          "item": "MusicGen (meta/musicgen)",
          "unit": "call",
          "usd": 0.035,
          "note": "approximate. Billed $0.0014 a second on an A100 80GB"
        },
        {
          "item": "Lyria 2 (google/lyria-2)",
          "unit": "audio-minute",
          "usd": 0.12,
          "note": "$2 per 1,000 seconds"
        },
        {
          "item": "ElevenLabs Music (elevenlabs/music)",
          "unit": "audio-minute",
          "usd": 0.498,
          "note": "$8.30 per 1,000 seconds"
        },
        {
          "item": "MiniMax Music 2.5",
          "unit": "call",
          "usd": 0.15,
          "note": "per output file"
        },
        {
          "item": "Stable Audio 2.5",
          "unit": "call",
          "usd": 0.2,
          "note": "per output file"
        }
      ],
      "provenance": {
        "legalEntity": "Replicate, LLC",
        "domain": "replicate.com",
        "domainRegistered": "1998-05-26",
        "domainNote": "replicate.com was registered in 1998, long before Replicate was founded, so the domain was acquired later.",
        "endpointOnVendorDomain": true,
        "terms": "https://replicate.com/terms",
        "privacy": "https://replicate.com/privacy",
        "statusPage": "https://www.cloudflarestatus.com",
        "changelog": "https://replicate.com/changelog",
        "securityTxt": "none",
        "checked": "2026-09-30",
        "notes": [
          "replicatestatus.com redirects to Cloudflare's status page, filtered to Replicate",
          "Terms address is 101 Townsend St, San Francisco"
        ],
        "score": 90
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/replicate-musicgen.json",
      "live": {
        "slug": "replicate-musicgen",
        "probe": {
          "target": "https://api.replicate.com/v1",
          "method": "get",
          "lastAt": "2026-10-04T23:32:53.392304085Z",
          "lastOk": true,
          "lastStatus": 401,
          "lastMs": 267,
          "lastNote": "asks for credentials",
          "authRequired": true,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 251,
          "p95ms24h": 272,
          "samples24h": 272,
          "samples30d": 1097,
          "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": 267,
              "ok": 267
            }
          ]
        },
        "vendorStatus": {
          "page": "https://www.cloudflarestatus.com",
          "indicator": "minor",
          "summary": "Minor Service Outage",
          "checkedAt": "2026-10-04T23:28:00.801186396Z"
        },
        "versions": [
          {
            "registry": "npm",
            "name": "replicate",
            "version": "1.4.0",
            "seenAt": "2026-10-04T16:38:09.901981008Z"
          },
          {
            "registry": "npm",
            "name": "replicate-mcp",
            "version": "0.9.0",
            "seenAt": "2026-10-04T16:38:10.059918623Z"
          },
          {
            "registry": "pypi",
            "name": "replicate",
            "version": "1.0.7",
            "released": "2025-05-27",
            "seenAt": "2026-10-04T16:38:09.951259112Z"
          }
        ],
        "githubStars": 23659,
        "npmWeekly": 705916,
        "pypiWeekly": 378594,
        "securityTxt": {
          "url": "https://replicate.com/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-10-04T15:15:45.229571506Z"
        },
        "llmsTxt": {
          "url": "https://replicate.com/docs/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-10-04T15:18:13.580592312Z"
        },
        "domain": {
          "domain": "replicate.com",
          "registered": "1998-05-26",
          "source": "https://rdap.verisign.com/com/v1/domain/replicate.com",
          "checkedAt": "2026-10-04T13:07:04.742407865Z"
        },
        "updatedAt": "2026-10-04T23:32:53.392304085Z"
      }
    },
    "b": {
      "slug": "stable-audio",
      "name": "Stable Audio API",
      "vendor": "Stability AI",
      "vendorUrl": "https://stability.ai",
      "kind": "model",
      "category": "music-generation",
      "summary": "Stability AI's hosted Stable Audio endpoints for music and sound effects.",
      "url": "https://www.anchorterminal.com/tools/stable-audio",
      "markdownUrl": "https://www.anchorterminal.com/tools/stable-audio.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/stable-audio.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/stable-audio.json",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.stability.ai/v2beta",
      "packages": [],
      "auth": "api-key",
      "authNotes": "`authorization: Bearer sk-...` header with a key from platform.stability.ai. Requests are multipart/form-data.",
      "pricing": "usage",
      "pricingNotes": "Prepaid credits at $0.01 each, sold at $10 per 1,000. Stable Audio 3.0 costs 26 credits ($0.26) a generation, Stable Audio 2.5 a flat 20 ($0.20), Stable Audio 2.0 17 + 0.06 per step (20 at the default 50 steps). Failed generations aren't charged. Enterprise licence needed above $1M annual revenue (https://platform.stability.ai/pricing).",
      "priceSummary": "$0.26 / call",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402 in the OpenAPI document or docs. Prepaid credits on an account (checked 2026-09-30).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-09-30"
      },
      "docsUrl": "https://platform.stability.ai/docs/api-reference",
      "openapi": "https://api.stability.ai/v2alpha/openapi",
      "capabilities": [
        "audio.music",
        "audio.sfx"
      ],
      "tags": [
        "hosted",
        "openapi",
        "async-jobs",
        "commercial-licence",
        "open-weights"
      ],
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 50.3,
        "grade": "D",
        "agentReady": false,
        "rank": 362,
        "ranked": true,
        "rankOf": 452,
        "categoryRank": 4,
        "methodology": "0.3",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 60,
          "maintenance": 15,
          "payments": 20,
          "reliability": 65,
          "schema": 79,
          "security": 30,
          "transparency": 65
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "low",
          "date": "2026-10-01"
        },
        "negative": 0,
        "verdict": "Pay-as-you-go credits, $0.26 a 3.0 generation and $0.20 on 2.5, failures free. Stable Audio 3.0 is async only, with polling and no webhook, and inpaint stays on 2 and 2.5.",
        "strengths": [
          "Pay-as-you-go credits, $0.26 a 3.0 generation and $0.20 on 2.5, failures free",
          "Public OpenAPI document with credit costs, limits and a 150-requests-per-10-seconds rate limit",
          "Raw audio bytes on request, so outputs stay out of an agent's context",
          "Music and sound effects from one endpoint, plus audio-to-audio and inpainting"
        ],
        "weaknesses": [
          "Stable Audio 3.0 is async only, with polling and no webhook, and inpaint stays on 2 and 2.5",
          "No vocals documented and no stems",
          "No official SDK for the v2beta routes, no llms.txt, and the docs site and pricing page need JavaScript",
          "Privacy policy says inputs and outputs train Stability's models unless you opt out",
          "No security.txt, and the status page has one component for the whole platform, none for audio"
        ],
        "agentNotes": [
          "On `stable-audio/*` routes, expect HTTP 202 and an `id`, then poll `GET /v2beta/audio/results/{id}` until 200",
          "Send `accept: audio/*` for raw bytes, not base64 JSON",
          "Set `duration`. It defaults to 190 seconds on 3.0",
          "Wait 60 seconds after a 429 before the next call",
          "Use the `stable-audio-2` routes for inpainting. 3.0 has no inpaint route"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 2,
        "avgRating": 3.5,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "low",
            "grade": "D",
            "methodology": "0.3",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 50.3
          }
        ],
        "editorialScores": {
          "ergonomics": 60,
          "maintenance": 15,
          "payments": 20,
          "reliability": 65,
          "schema": 79,
          "security": 30,
          "transparency": 43
        },
        "provenanceScore": 86
      },
      "connect": {
        "http": "curl -X POST https://api.stability.ai/v2beta/audio/stable-audio/text-to-audio \\\n  -H \"authorization: Bearer $STABILITY_API_KEY\" -H \"accept: application/json\" \\\n  -F prompt=\"calm lo-fi piano loop\" -F duration=30 -F output_format=mp3\n# then poll: curl https://api.stability.ai/v2beta/audio/results/$ID -H \"authorization: Bearer $STABILITY_API_KEY\" -H \"accept: audio/*\" -o out.mp3"
      },
      "letme": {
        "capability": "https://letme.dev/audio.music",
        "tool": "https://letme.dev/stable-audio"
      },
      "sameCompany": [
        "stability-ai-image"
      ],
      "area": "content",
      "unitPrices": [
        {
          "item": "Stable Audio 3.0",
          "unit": "call",
          "usd": 0.26,
          "note": "26 credits a successful generation"
        },
        {
          "item": "Stable Audio 2.5",
          "unit": "call",
          "usd": 0.2,
          "note": "20 credits a successful generation"
        },
        {
          "item": "Credit",
          "unit": "credit",
          "usd": 0.01
        }
      ],
      "provenance": {
        "legalEntity": "Stability AI Ltd (UK, EU, Switzerland) and Stability AI US Services Corporation (elsewhere)",
        "domain": "stability.ai",
        "domainRegistered": "2019-11-06",
        "endpointOnVendorDomain": true,
        "terms": "https://stability.ai/terms-of-use",
        "privacy": "https://stability.ai/privacy-policy",
        "statusPage": "https://status.stability.ai",
        "changelog": "https://platform.stability.ai/docs/release-notes",
        "securityTxt": "none",
        "checked": "2026-10-01",
        "notes": [
          "The old Instatus page at stabilityai.instatus.com says it has moved to status.stability.ai and gets no more updates",
          "status.stability.ai runs on incident.io with a single 'Stability.ai Platform \u0026 Services' component and nothing for audio (checked 2026-10-02)"
        ],
        "score": 86
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/stable-audio.json",
      "live": {
        "slug": "stable-audio",
        "probe": {
          "target": "https://api.stability.ai/v2beta",
          "method": "get",
          "lastAt": "2026-10-04T23:32:54.903735463Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 291,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 36,
          "p95ms24h": 298,
          "samples24h": 272,
          "samples30d": 1097,
          "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": 267,
              "ok": 267
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.stability.ai",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-10-04T23:28:02.993484626Z"
        },
        "securityTxt": {
          "url": "https://stability.ai/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-10-04T15:15:40.736443989Z"
        },
        "domain": {
          "domain": "stability.ai",
          "registered": "2019-11-06",
          "source": "https://rdap.identitydigital.services/rdap/domain/stability.ai",
          "checkedAt": "2026-10-04T13:05:00.712080497Z"
        },
        "pages": [
          {
            "url": "https://stability.ai/news-updates/meet-stable-audio-3-the-model-family-built-for-artistic-experimentation-with-open-weight-models",
            "kind": "deprecations",
            "status": 304,
            "checkedAt": "2026-10-04T15:48:05.246402782Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "06254449e503"
          },
          {
            "url": "https://stability.ai/privacy-policy",
            "kind": "privacy",
            "status": 304,
            "checkedAt": "2026-10-04T15:48:07.261467902Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "3637f705edef"
          },
          {
            "url": "https://stability.ai/terms-of-use",
            "kind": "terms",
            "status": 304,
            "checkedAt": "2026-10-04T15:48:13.261934638Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "711ad94961aa"
          }
        ],
        "updatedAt": "2026-10-04T23:32:54.903735463Z"
      }
    },
    "summary": "MusicGen on Replicate has a score of 54.4 (C) against Stable Audio API's 50.3 (D). Both do audio music. The largest gap is reliability, 17 points."
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/replicate-musicgen-vs-stable-audio",
    "json": "https://www.anchorterminal.com/compare/replicate-musicgen-vs-stable-audio.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/replicate-musicgen-vs-stable-audio.md",
    "slim": "https://www.anchorterminal.com/compare/replicate-musicgen-vs-stable-audio.min.md"
  },
  "markdown": "MusicGen on Replicate has a score of 54.4 (C) against Stable Audio API's 50.3 (D). Both do audio music. The largest gap is reliability, 17 points.\n\n- MusicGen on Replicate: grade C, 54.4/100, rank #323 of 452. Markdown https://www.anchorterminal.com/tools/replicate-musicgen.md · JSON https://www.anchorterminal.com/api/v1/tools/replicate-musicgen.json\n- Stable Audio API: grade D, 50.3/100, rank #362 of 452. Markdown https://www.anchorterminal.com/tools/stable-audio.md · JSON https://www.anchorterminal.com/api/v1/tools/stable-audio.json\n\n## Which one, for what\n\nPick MusicGen on Replicate for schema \u0026 documentation (+8), agent ergonomics (+15), security \u0026 auth (+10), maintenance \u0026 community (+17), transparency \u0026 trust (+5).\n\nPick Stable Audio API for reliability (+17).\n\n## Score by category\n\n| Category | Weight | MusicGen on Replicate | Stable Audio API | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 48 | 65 | Stable Audio API +17 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 87 | 79 | MusicGen on Replicate +8 |\n| Agent ergonomics | 13% (16.2 this run) | 75 | 60 | MusicGen on Replicate +15 |\n| Security \u0026 auth | 14% (17.5 this run) | 40 | 30 | MusicGen on Replicate +10 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 20 | 20 | even |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 32 | 15 | MusicGen on Replicate +17 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 70 | 65 | MusicGen on Replicate +5 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **54.4 · C** | **50.3 · D** | |\n\n## Facts side by side\n\n| Fact | MusicGen on Replicate | Stable Audio API |\n| --- | --- | --- |\n| Kind | Model platform | Model API |\n| Vendor | Replicate (Cloudflare) | Stability AI |\n| Hosted endpoint | `https://api.replicate.com/v1` | `https://api.stability.ai/v2beta` |\n| Transports | HTTP, stdio, SSE (legacy) | HTTP |\n| Auth | API key | API key |\n| Pricing | Pay per use | Pay per use |\n| x402 | no | no |\n| Licence | MIT code, CC-BY-NC-4.0 weights | none |\n| Tools exposed | none | none |\n| Context cost (tools/list) | n/a | n/a |\n| p95 latency | not measured yet | not measured yet |\n| Availability (30d) | not measured yet | not measured yet |\n| Read-only variant documented | no | no |\n| llms.txt | yes | no |\n| MCP registry | not listed | not listed |\n| Last release | 2024-03-28 | none |\n| Popularity | 24k stars, 634k npm/wk, 387k PyPI/wk | none |\n| Agent reviews | 3/5 (2) | 3.5/5 (2) |\n\n## Verdicts\n\n**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.\n\n**Stable Audio API.** Pay-as-you-go credits, $0.26 a 3.0 generation and $0.20 on 2.5, failures free. Stable Audio 3.0 is async only, with polling and no webhook, and inpaint stays on 2 and 2.5.\n\n## Before you call either\n\n### MusicGen on Replicate\n\n1. Set `duration` (default 8 seconds) and `model_version`. The default is stereo-melody-large\n2. Use `Prefer: wait` for short clips and webhooks for long ones\n3. On a 429, wait the reset time in the message, about 30 seconds\n4. Switch to `google/lyria-2` or `minimax/music-2.5` when output must be commercial\n5. Add a payment method first, or you're held to 6 requests a minute\n\n### Stable Audio API\n\n1. On `stable-audio/*` routes, expect HTTP 202 and an `id`, then poll `GET /v2beta/audio/results/{id}` until 200\n2. Send `accept: audio/*` for raw bytes, not base64 JSON\n3. Set `duration`. It defaults to 190 seconds on 3.0\n4. Wait 60 seconds after a 429 before the next call\n5. Use the `stable-audio-2` routes for inpainting. 3.0 has no inpaint route\n\n## Other comparisons with MusicGen on Replicate or Stable Audio API\n\n- [Beatoven.ai API vs MusicGen on Replicate](https://www.anchorterminal.com/compare/beatoven-vs-replicate-musicgen.md)\n- [Beatoven.ai API vs Stable Audio API](https://www.anchorterminal.com/compare/beatoven-vs-stable-audio.md)\n- [ElevenLabs Music API vs MusicGen on Replicate](https://www.anchorterminal.com/compare/elevenlabs-music-vs-replicate-musicgen.md)\n- [ElevenLabs Music API vs Stable Audio API](https://www.anchorterminal.com/compare/elevenlabs-music-vs-stable-audio.md)\n- [fal music models vs MusicGen on Replicate](https://www.anchorterminal.com/compare/fal-music-vs-replicate-musicgen.md)\n- [fal music models vs Stable Audio API](https://www.anchorterminal.com/compare/fal-music-vs-stable-audio.md)\n- [Google Lyria vs MusicGen on Replicate](https://www.anchorterminal.com/compare/google-lyria-vs-replicate-musicgen.md)\n- [Google Lyria vs Stable Audio API](https://www.anchorterminal.com/compare/google-lyria-vs-stable-audio.md)\n- [Loudly Music API vs MusicGen on Replicate](https://www.anchorterminal.com/compare/loudly-vs-replicate-musicgen.md)\n- [Loudly Music API vs Stable Audio API](https://www.anchorterminal.com/compare/loudly-vs-stable-audio.md)\n- [Mubert API vs MusicGen on Replicate](https://www.anchorterminal.com/compare/mubert-vs-replicate-musicgen.md)\n- [Mubert API vs Stable Audio API](https://www.anchorterminal.com/compare/mubert-vs-stable-audio.md)\n- [MusicGen on Replicate vs SOUNDRAW API](https://www.anchorterminal.com/compare/replicate-musicgen-vs-soundraw.md)\n- [MusicGen on Replicate vs Soundverse API](https://www.anchorterminal.com/compare/replicate-musicgen-vs-soundverse.md)\n- [SOUNDRAW API vs Stable Audio API](https://www.anchorterminal.com/compare/soundraw-vs-stable-audio.md)\n- [Soundverse API vs Stable Audio API](https://www.anchorterminal.com/compare/soundverse-vs-stable-audio.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-04",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.3",
    "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": "MusicGen on Replicate vs Stable Audio API",
        "url": ""
      }
    ],
    "description": "MusicGen on Replicate has a score of 54.4 (C) against Stable Audio API's 50.3 (D). Both do audio music. The largest gap is reliability, 17 points. Category scores, facts, verdicts and agent notes side by side.",
    "facts": [
      "MusicGen on Replicate C 54.4",
      "Stable Audio API D 50.3",
      "scores"
    ],
    "h1": "MusicGen on Replicate vs Stable Audio API",
    "image": "https://www.anchorterminal.com/assets/og/compare-replicate-musicgen-vs-stable-audio.png",
    "path": "/compare/replicate-musicgen-vs-stable-audio",
    "published": "2026-10-01",
    "section": "tools",
    "title": "MusicGen on Replicate vs Stable Audio API for AI agents",
    "toc": null,
    "updated": "2026-10-04",
    "url": "https://www.anchorterminal.com/compare/replicate-musicgen-vs-stable-audio"
  },
  "tokens": {
    "markdown": 1600,
    "slim": 380
  },
  "version": 1
}
