deAPI vs Codebase API
Fact by fact
20 different3 stated by only one1 the same on both
The basics
What it isdeAPI: Open-model inference API for image, video, speech, music, transcription, embeddings, upscaling and background removal, with an OpenAI-compatible gatewayCodebase 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
AccessdeAPI: HTTP, MCP, WebhooksCodebase API: HTTP, CLI, MCP, Hosted UI
Still on saledeAPI: YesCodebase API: Yes
What they work on
Price
PricesdeAPI: Codebase API:
- FLUX.2 Klein 4B, 1024 px image$0.00367 /image
- Indie$16 /month
- Builder$33 /month
- Pro$65 /month
Buying and paying
Agent gets a key alonedeAPI: Nokey comes from a dashboard after signing up in a browserCodebase API: Yespaying the x402 offer returns 'x402.apiKey' for a wallet-keyed account
First call without a keydeAPI: Nodocs require an API keyCodebase API: Noa keyless call answers 402 until paid
Agent can paydeAPI: Nocard checkout in a signed-in dashboard; no agent payment protocol seenCodebase API: YesPOST /api/v1/builds with no key answers 402 PAYMENT-REQUIRED (x402 v2, USDC on Base); payment returns a key
Payment railsdeAPI: Not statedCodebase API: card, cryptocard plans; USDC on Base over x402
Payment protocolsdeAPI: noneno x402, MPP, ACP or AP2 seen on public pagesCodebase API: x402x402Version 2 in the PAYMENT-REQUIRED header
Subscription requireddeAPI: NoNo monthly minimums, no tiers, no lock-inCodebase API: Nox402 payment buys credits with no plan
Price published as datadeAPI: Yesprice endpoints /api/v2/**/price quote a job before running itCodebase API: Yesthe 402 PAYMENT-REQUIRED header carries amount, asset and credits
Receipt or usage recorddeAPI: YesGET /api/v2/account returns balance; /account/payments lists top-upsCodebase API: Yes402 response states 'x402.creditsGranted'; out-of-credit answers 402 insufficient-credits
Reading and signing up
Public pricesdeAPI: YesCodebase API: Yesplan prices on the public pricing page
Self-serve sign-updeAPI: YesCodebase API: Yesaccount by web sign-up; key or OAuth from the account
Free usedeAPI: Free trial$5 free credits, valid 30 days unless topped upCodebase API: Yes'Free $ 0 /mo ... 1,000 credits a month'
OpenAPIdeAPI: Yesdocs.deapi.ai/openapi.json (v2)Codebase API: Yes'OpenAPI 3.1 spec' at codebase.design/api-docs per llms.txt
OpenAPI versiondeAPI: Not statedCodebase API: 3.1stated in llms.txt
Docs without logindeAPI: YesCodebase API: YesAPI reference readable without an account
llms.txtdeAPI: Yes/llms.txt (very detailed)Codebase API: Yescodebase.design/llms.txt
Docs as MarkdowndeAPI: Not statedCodebase API: NoAccept: text/markdown returned text/html on the docs page tested
MCP
Vendor MCP serverdeAPI: YesMIT source mcp-server-deapiCodebase API: Yeshttps://codebase.design/api/mcp
MCP server hosted by the vendordeAPI: Yeshttps://mcp.deapi.ai/mcpCodebase API: Yeshosted by the vendor
MCP sign-indeAPI: Uses an API keysame sk-dp key on every surfaceCodebase 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.

