PiAPI vs Codebase API
Fact by fact
4 different20 stated by only one
The basics
What it isPiAPI: Async reseller of image and video modelsCodebase 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
AccessPiAPI: HTTPCodebase API: HTTP, CLI, MCP, Hosted UI
Still on salePiAPI: Not statedCodebase API: Yes
What they work on
BothAsync job
Price
PricesPiAPI: Codebase API:
- Creator$15 /monthMonthly or yearly (save 25%)
- Pro$60 /monthMonthly or yearly (save 25%)
- Enterprise$100 /monthMonthly or yearly (save 25%)
- Z-Image API, text-to-image (PAYG)$0.002 /imageCredit balance
- Qwen Image, text-to-image (PAYG)$0.015 /imageCredit balance
- nano-banana-pro (PAYG)$0.105 /imageCredit balance
- Indie$16 /month
- Builder$33 /month
- Pro$65 /month
Buying and paying
Agent gets a key alonePiAPI: Not statedCodebase API: Yespaying the x402 offer returns 'x402.apiKey' for a wallet-keyed account
First call without a keyPiAPI: Not statedCodebase API: Noa keyless call answers 402 until paid
Agent can payPiAPI: Not statedCodebase API: YesPOST /api/v1/builds with no key answers 402 PAYMENT-REQUIRED (x402 v2, USDC on Base); payment returns a key
Payment railsPiAPI: Not statedCodebase API: card, cryptocard plans; USDC on Base over x402
Payment protocolsPiAPI: Not statedCodebase API: x402x402Version 2 in the PAYMENT-REQUIRED header
Subscription requiredPiAPI: Not statedCodebase API: Nox402 payment buys credits with no plan
Price published as dataPiAPI: Not statedCodebase API: Yesthe 402 PAYMENT-REQUIRED header carries amount, asset and credits
Receipt or usage recordPiAPI: Not statedCodebase API: Yes402 response states 'x402.creditsGranted'; out-of-credit answers 402 insufficient-credits
Reading and signing up
Public pricesPiAPI: Not statedCodebase API: Yesplan prices on the public pricing page
Self-serve sign-upPiAPI: Not statedCodebase API: Yesaccount by web sign-up; key or OAuth from the account
Free usePiAPI: Not statedCodebase API: Yes'Free $ 0 /mo ... 1,000 credits a month'
OpenAPIPiAPI: Not statedCodebase API: Yes'OpenAPI 3.1 spec' at codebase.design/api-docs per llms.txt
OpenAPI versionPiAPI: Not statedCodebase API: 3.1stated in llms.txt
Docs without loginPiAPI: Not statedCodebase API: YesAPI reference readable without an account
llms.txtPiAPI: Not statedCodebase API: Yescodebase.design/llms.txt
Docs as MarkdownPiAPI: Not statedCodebase API: NoAccept: text/markdown returned text/html on the docs page tested
MCP
Vendor MCP serverPiAPI: Not statedCodebase API: Yeshttps://codebase.design/api/mcp
MCP server hosted by the vendorPiAPI: Not statedCodebase API: Yeshosted by the vendor
MCP sign-inPiAPI: Not statedCodebase 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.

