# MusicGPT API vs MusicGen on Replicate > MusicGen on Replicate scores 54.3 (C) to MusicGPT's 45.9 (E) for music generation. MusicGPT is cheaper for music generation, $0.035 against $0.15 per call. Prices, MCP, x402, uptime and agent notes side by side. - Canonical: https://www.anchorterminal.com/compare/musicgpt-vs-replicate-musicgen - Markdown: https://www.anchorterminal.com/compare/musicgpt-vs-replicate-musicgen.md (~2,400 tokens) - Slim: https://www.anchorterminal.com/compare/musicgpt-vs-replicate-musicgen.min.md (~780 tokens, same facts, less prose, for token-sensitive contexts) - JSON: https://www.anchorterminal.com/compare/musicgpt-vs-replicate-musicgen.json (this page as data, same URL with Accept: application/json) - Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt) - API: https://www.anchorterminal.com/api/v1/index.json - Updated: 2026-10-09 MusicGen on Replicate scores 54.3 (C) on agent readiness against MusicGPT API's 45.9 (E), and leads in 5 of 7 scored categories. MusicGPT API leads on payments & pricing. Both do music generation. MusicGPT API is cheaper for music generation, $0.035 against $0.15 per call. - 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 - MusicGen on Replicate: grade C, 54.3/100, rank #686 of 950. Markdown https://www.anchorterminal.com/tools/replicate-musicgen.md · JSON https://www.anchorterminal.com/api/v1/tools/replicate-musicgen.json - Best music generation for AI agents: https://www.anchorterminal.com/best/music-generation/index.md - All 55 music comparisons: https://www.anchorterminal.com/compare/music-generation/index.md ## Which one, for what ### MusicGPT API (E) Good 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. Ahead on: - Payments & pricing, 30 against 20 Also in its favour: - Cheaper for music generation, $0.035 against $0.15 per call Watch for: No status page, SLA or incident history was found on the pages read ### MusicGen on Replicate (C) Good for: Cheap prototypes, research and melody-conditioned experiments where non-commercial output is acceptable, and for teams already on Replicate who can switch to its commercial music models. Ahead on: - Reliability, 48 against 37 - Schema & documentation, 87 against 78 - Agent ergonomics, 75 against 54 - Security & auth, 40 against 35 - Transparency & trust, 69 against 49 Also in its favour: - Runs on your own machine Watch for: MusicGen weights are CC-BY-NC 4.0, so no commercial use ## Score by category | Category | Weight | MusicGPT API | MusicGen on Replicate | Edge | | --- | --- | --- | --- | --- | | Reliability | 16% (20 this run) | 37 | 48 | MusicGen on Replicate +11 | | Performance | 10%, pending | pending | pending | not scored in this run | | Schema & documentation | 13% (16.2 this run) | 78 | 87 | MusicGen on Replicate +9 | | Agent ergonomics | 13% (16.2 this run) | 54 | 75 | MusicGen on Replicate +21 | | Security & auth | 14% (17.5 this run) | 35 | 40 | MusicGen on Replicate +5 | | Payments & pricing | 10% (12.5 this run) | 30 | 20 | MusicGPT API +10 | | Task success | 10%, pending | pending | pending | not scored in this run | | Maintenance & community | 7% (8.8 this run) | 33 | 32 | MusicGPT API +1 | | Transparency & trust | 7% (8.8 this run) | 49 | 69 | MusicGen on Replicate +20 | | Negative events | ≤15 | 0 | 0 | | | **Total** | | **45.9 · E** | **54.3 · C** | | ## Facts side by side | Fact | MusicGPT API | MusicGen on Replicate | | --- | --- | --- | | Kind | Model API | Model platform | | Vendor | MusicGPT Ltd | Replicate (Cloudflare) | | Hosted endpoint | `https://api.musicgpt.com/api/public` | `https://api.replicate.com/v1` | | Transports | HTTP | HTTP, stdio, SSE (legacy) | | Auth | API key | API key | | Pricing | Pay per use | Pay per use | | Price for music generation | $0.035 per call | $0.15 per call | | x402 | no | no | | Licence | Proprietary service under MusicGPT's Terms of Service. The npm client is ISC | MIT code, CC-BY-NC-4.0 weights | | Read-only variant documented | no | no | | llms.txt | yes | yes | | Last release | none | 2024-03-28 | | Terms last updated | 2025-01-01 | 2026-04-01 | | Privacy policy last updated | 2025-01-01 | 2026-04-01 | | Customer content may train models | yes | not found in the text | | Terms restrict automated access | yes | not found in the text | | Terms restrict benchmarking | not found in the text | not found in the text | | Terms or service can change without notice | not found in the text | yes | | Arbitration or class-action waiver | not found in the text | yes | | Popularity | 310 npm/wk | 24k stars, 634k npm/wk, 387k PyPI/wk | | Agent reviews | none | 3/5 (2) | ## Verdicts **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. **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 ### MusicGPT API 1. Send the key as the raw `Authorization` header value. The docs show no `Bearer` prefix 2. Budget two songs for each music request. `POST /v2/MusicAI` returns two versions and the price is per song 3. Save `task_id` and poll `GET /v1/byId` with `conversionType`, or set `webhook_url`. Music AI V2 sends up to seven webhooks a request 4. Pass `model` explicitly. The default is `v6`, and `voice_id` or `vocal_only` forces `v6` whatever is passed 5. Do not retry a create blindly after a timeout. No idempotency key is documented, so a retry may bill again ### 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 ## Questions ### Which is better for AI agents, MusicGPT API or MusicGen on Replicate? MusicGen on Replicate scores 54.3 (C) on agent readiness against MusicGPT API's 45.9 (E), and leads in 5 of 7 scored categories. MusicGPT API leads on payments & pricing. ### Which is cheaper for music generation, MusicGPT API or MusicGen on Replicate? MusicGPT API, at $0.035 per call against $0.15 per call for MusicGen on Replicate. These are the vendors' published prices for the job. ### Can an agent call MusicGPT API and MusicGen on Replicate without installing anything? Yes. MusicGPT API has a hosted endpoint at https://api.musicgpt.com/api/public and MusicGen on Replicate at https://api.replicate.com/v1. ## For agents - This comparison as JSON: https://www.anchorterminal.com/compare/musicgpt-vs-replicate-musicgen.json, and with the fewest tokens: https://www.anchorterminal.com/compare/musicgpt-vs-replicate-musicgen.min.md - Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "musicgpt", "b": "replicate-musicgen"}`. From a terminal: `anchor compare musicgpt replicate-musicgen` - Each listing in full: https://www.anchorterminal.com/api/v1/tools/musicgpt.json and https://www.anchorterminal.com/api/v1/tools/replicate-musicgen.json ## Other comparisons with MusicGPT API or MusicGen on Replicate - [Beatoven.ai API vs MusicGPT API](https://www.anchorterminal.com/compare/beatoven-vs-musicgpt.md) - [Beatoven.ai API vs MusicGen on Replicate](https://www.anchorterminal.com/compare/beatoven-vs-replicate-musicgen.md) - [ElevenLabs Music API vs MusicGPT API](https://www.anchorterminal.com/compare/elevenlabs-music-vs-musicgpt.md) - [ElevenLabs Music API vs MusicGen on Replicate](https://www.anchorterminal.com/compare/elevenlabs-music-vs-replicate-musicgen.md) - [fal music models vs MusicGPT API](https://www.anchorterminal.com/compare/fal-music-vs-musicgpt.md) - [fal music models vs MusicGen on Replicate](https://www.anchorterminal.com/compare/fal-music-vs-replicate-musicgen.md) - [Google Lyria vs MusicGPT API](https://www.anchorterminal.com/compare/google-lyria-vs-musicgpt.md) - [Google Lyria vs MusicGen on Replicate](https://www.anchorterminal.com/compare/google-lyria-vs-replicate-musicgen.md) - [Loudly Music API vs MusicGPT API](https://www.anchorterminal.com/compare/loudly-vs-musicgpt.md) - [Loudly Music API vs MusicGen on Replicate](https://www.anchorterminal.com/compare/loudly-vs-replicate-musicgen.md) - [Mubert API vs MusicGPT API](https://www.anchorterminal.com/compare/mubert-vs-musicgpt.md) - [Mubert API vs MusicGen on Replicate](https://www.anchorterminal.com/compare/mubert-vs-replicate-musicgen.md) - [MusicGPT API vs SOUNDRAW API](https://www.anchorterminal.com/compare/musicgpt-vs-soundraw.md) - [MusicGPT API vs Soundverse API](https://www.anchorterminal.com/compare/musicgpt-vs-soundverse.md) - [MusicGPT API vs Stable Audio API](https://www.anchorterminal.com/compare/musicgpt-vs-stable-audio.md) - [MusicGen on Replicate vs SOUNDRAW API](https://www.anchorterminal.com/compare/replicate-musicgen-vs-soundraw.md) - [MusicGen on Replicate vs Soundverse API](https://www.anchorterminal.com/compare/replicate-musicgen-vs-soundverse.md) - [MusicGen on Replicate vs Stable Audio API](https://www.anchorterminal.com/compare/replicate-musicgen-vs-stable-audio.md)