Magic Patterns vs Codebase API
Magic Patternsby Magic PatternsPaid from$20 /monthAccessHTTP, MCP, Hosted UIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Codebase APIby CodebasePaid from$16 /monthAccessHTTP, CLI, MCP, Hosted UIAgentsAgent-friendlyAPI QA score[SCORE]View API
Fact by fact
17 different5 stated by only one3 the same on both
The basics
What it isMagic Patterns: AI product-design tool that generates and iterates UI designs and prototypes from prompts and design systems, with a v3 API that mirrors its MCP server endpoint for endpointCodebase API: App-builder API that builds a web app from a prompt, returns a preview and the source, paid from monthly credits or per build over x402 with no account
AccessMagic Patterns: HTTP, MCP, Hosted UICodebase API: HTTP, CLI, MCP, Hosted UI
Still on saleMagic Patterns: YesCodebase API: Yes
Price
PricesMagic Patterns: Codebase API:
- Starter (monthly)$20 /month
- Starter (annual)$17 /month billed annually
- Business (monthly)$100 /month
- Business (annual)$85 /month billed annually
- Indie$16 /month
- Builder$33 /month
- Pro$65 /month
Buying and paying
Agent gets a key aloneMagic Patterns: Noa person signs in and creates the key or approves OAuthCodebase API: Yespaying the x402 offer returns 'x402.apiKey' for a wallet-keyed account
First call without a keyMagic Patterns: Nocalls need a key or a signed-in sessionCodebase API: Noa keyless call answers 402 until paid
Agent can payMagic Patterns: Nopaid plans are bought by a person at checkout or through sales; no agent payment route namedCodebase API: YesPOST /api/v1/builds with no key answers 402 PAYMENT-REQUIRED (x402 v2, USDC on Base); payment returns a key
Payment railsMagic Patterns: Not statedCodebase API: card, cryptocard plans; USDC on Base over x402
Payment protocolsMagic Patterns: noneno agent payment protocol named on the pages readCodebase API: x402x402Version 2 in the PAYMENT-REQUIRED header
Subscription requiredMagic Patterns: Yespaid use is sold as recurring plansCodebase API: Nox402 payment buys credits with no plan
Smallest purchase (USD)Magic Patterns: From $20Starter $20 per month (monthly)Codebase API: Not stated
Price published as dataMagic Patterns: Noprices only in page HTMLCodebase API: Yesthe 402 PAYMENT-REQUIRED header carries amount, asset and credits
Receipt or usage recordMagic Patterns: Not statedCodebase API: Yes402 response states 'x402.creditsGranted'; out-of-credit answers 402 insufficient-credits
Reading and signing up
Public pricesMagic Patterns: Yesprices on the public pricing pageCodebase API: Yesplan prices on the public pricing page
Self-serve sign-upMagic Patterns: Yessign up on the site, then create a key in settingsCodebase API: Yesaccount by web sign-up; key or OAuth from the account
Free useMagic Patterns: YesFree plan with monthly free credits, design systems, MCP and GitHub syncCodebase API: Yes'Free $ 0 /mo ... 1,000 credits a month'
OpenAPIMagic Patterns: Not statedCodebase API: Yes'OpenAPI 3.1 spec' at codebase.design/api-docs per llms.txt
OpenAPI versionMagic Patterns: Not statedCodebase API: 3.1stated in llms.txt
Docs without loginMagic Patterns: YesAPI reference readable without an accountCodebase API: YesAPI reference readable without an account
llms.txtMagic Patterns: Yeshttps://www.magicpatterns.com/llms.txt and /docs/llms.txtCodebase API: Yescodebase.design/llms.txt
Docs as MarkdownMagic Patterns: Yesdocs pages served as text/markdown (.md)Codebase API: NoAccept: text/markdown returned text/html on the docs page tested
MCP
Vendor MCP serverMagic Patterns: Yesofficial Claude connector and custom MCP setup; 'MCP integration requires a paid plan' in the docs while pricing lists MCP on FreeCodebase API: Yeshttps://codebase.design/api/mcp
MCP server hosted by the vendorMagic Patterns: Yeshosted by the vendorCodebase API: Yeshosted by the vendor
MCP sign-inMagic Patterns: Signs in with OAuthOAuth, or API key authentication as an alternativeCodebase API: Signs in with OAuth401 with OAuth protected-resource metadata; also accepts a Bearer API key
Jobs both do
Open a job to see every API that does it.

