apis.directory

Phala Private AI (confidential inference API) vs Codebase API

Phala Private AI (confidential inference API)by PhalaPaid fromNot statedAccessHTTP, SDKAgentsNot 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 different6 stated by only one1 the same on both

The basics

Made byPhala Private AI (confidential inference API): PhalaCodebase API: Codebase
What it isPhala Private AI (confidential inference API): OpenAI-style inference API to open and frontier models served from TEEs with attestation and zero-data-retention routing, priced per token, image or audio second from a live catalogCodebase 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
AccessPhala Private AI (confidential inference API): HTTP, SDKCodebase API: HTTP, CLI, MCP, Hosted UI
Still on salePhala Private AI (confidential inference API): YesCodebase API: Yes

What they work on

Only one of themPhala Private AI (confidential inference API): AI answerImageTEE attestationTranscriptCodebase API: Async jobDeploymentWebsiteWork project

Price

PricesPhala Private AI (confidential inference API): Not statedCodebase API:
  • Indie$16 /month
  • Builder$33 /month
  • Pro$65 /month

Buying and paying

Agent gets a key alonePhala Private AI (confidential inference API): Nokey or token is created by a signed-in personCodebase API: Yespaying the x402 offer returns 'x402.apiKey' for a wallet-keyed account
First call without a keyPhala Private AI (confidential inference API): YesGET https://inference.phala.com/v1/models: 'No API key is required.'Codebase API: Noa keyless call answers 402 until paid
Agent can payPhala Private AI (confidential inference API): Nobalance funded by card or crypto in the dashboardCodebase API: YesPOST /api/v1/builds with no key answers 402 PAYMENT-REQUIRED (x402 v2, USDC on Base); payment returns a key
Payment railsPhala Private AI (confidential inference API): card, crypto'Your Balance pays for CVMs, GPU instances, and Private AI'Codebase API: card, cryptocard plans; USDC on Base over x402
Payment protocolsPhala Private AI (confidential inference API): noneno x402, MPP, ACP or AP2 on pages readCodebase API: x402x402Version 2 in the PAYMENT-REQUIRED header
Subscription requiredPhala Private AI (confidential inference API): Nopay-as-you-go balanceCodebase API: Nox402 payment buys credits with no plan
Price published as dataPhala Private AI (confidential inference API): Yesthe model catalog returns per-model pricing as JSONCodebase API: Yesthe 402 PAYMENT-REQUIRED header carries amount, asset and credits
Receipt or usage recordPhala Private AI (confidential inference API): Not statedCodebase API: Yes402 response states 'x402.creditsGranted'; out-of-credit answers 402 insufficient-credits

Reading and signing up

Public pricesPhala Private AI (confidential inference API): Yesper-model prices in the public model catalogCodebase API: Yesplan prices on the public pricing page
Self-serve sign-upPhala Private AI (confidential inference API): YesPhala API key from the dashboardCodebase API: Yesaccount by web sign-up; key or OAuth from the account
Free usePhala Private AI (confidential inference API): Not statedCodebase API: Yes'Free $ 0 /mo ... 1,000 credits a month'
OpenAPIPhala Private AI (confidential inference API): Not statedCodebase API: Yes'OpenAPI 3.1 spec' at codebase.design/api-docs per llms.txt
OpenAPI versionPhala Private AI (confidential inference API): Not statedCodebase API: 3.1stated in llms.txt
Docs without loginPhala Private AI (confidential inference API): Yesdocs publicCodebase API: YesAPI reference readable without an account
llms.txtPhala Private AI (confidential inference API): Yesdocs.phala.com/llms.txtCodebase API: Yescodebase.design/llms.txt
Docs as MarkdownPhala Private AI (confidential inference API): YesAccept: text/markdown returns text/markdown on docs.phala.comCodebase API: NoAccept: text/markdown returned text/html on the docs page tested

MCP

Vendor MCP serverPhala Private AI (confidential inference API): The vendor's MCP server only searches its docshttps://docs.phala.com/mcp: documentation search server (Mintlify), not the product API; the MCP server only searches documentationCodebase API: Yeshttps://codebase.design/api/mcp
MCP server hosted by the vendorPhala Private AI (confidential inference API): Yeshosted by the documentation platformCodebase API: Yeshosted by the vendor
MCP sign-inPhala Private AI (confidential inference API): 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.

For API makers

Is your API missing?

Send one link and we add it to the graph: what it works on, what it costs and what it connects to.

Free, or $100 one time for review in 1 to 2 days.