Letta API (Letta Cloud) vs Codebase API
Letta API (Letta Cloud)by LettaPaid fromNot statedAccessHTTP, SDK, CLI, MCPAgentsNot 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
20 different3 stated by only one1 the same on both
The basics
What it isLetta API (Letta Cloud): Hosted platform and REST API for stateful AI agents with persistent memory: create agents, send them messages, read runs and replies, with SDKs, a CLI and a hosted MCP server; the server is also open source to self-hostCodebase 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
AccessLetta API (Letta Cloud): HTTP, SDK, CLI, MCPCodebase API: HTTP, CLI, MCP, Hosted UI
Still on saleLetta API (Letta Cloud): YesCodebase API: Yes
What they work on
BothAI model
Only one of themLetta API (Letta Cloud): Agent memoryAgent runAI agentFolderConversationMCP serverSandboxCodebase API: Async jobDeploymentWebsiteWork project
Price
PricesLetta API (Letta Cloud): Codebase API:
- Pro$20 /month
- Indie$16 /month
- Builder$33 /month
- Pro$65 /month
Buying and paying
Agent gets a key aloneLetta API (Letta Cloud): Nokey or token is created in the app after a person signs upCodebase API: Yespaying the x402 offer returns 'x402.apiKey' for a wallet-keyed account
First call without a keyLetta API (Letta Cloud): Noevery call needs a key or tokenCodebase API: Noa keyless call answers 402 until paid
Agent can payLetta API (Letta Cloud): Nocheckout, trial or contract needs a person; no agent payment protocolCodebase API: YesPOST /api/v1/builds with no key answers 402 PAYMENT-REQUIRED (x402 v2, USDC on Base); payment returns a key
Payment railsLetta API (Letta Cloud): card, creditsplans and credit top-ups bought in the web appCodebase API: card, cryptocard plans; USDC on Base over x402
Payment protocolsLetta API (Letta Cloud): noneno x402, MPP, ACP or AP2 on pages readCodebase API: x402x402Version 2 in the PAYMENT-REQUIRED header
Subscription requiredLetta API (Letta Cloud): NoFree plan can buy credits for Letta-hosted modelsCodebase API: Nox402 payment buys credits with no plan
Price published as dataLetta API (Letta Cloud): Yespricing page served as Markdown at docs.letta.com/pricing/index.mdCodebase API: Yesthe 402 PAYMENT-REQUIRED header carries amount, asset and credits
Receipt or usage recordLetta API (Letta Cloud): Not statedCodebase API: Yes402 response states 'x402.creditsGranted'; out-of-credit answers 402 insufficient-credits
Reading and signing up
Public pricesLetta API (Letta Cloud): Yesdocs.letta.com/pricingCodebase API: Yesplan prices on the public pricing page
Self-serve sign-upLetta API (Letta Cloud): YesAPI key created in the Letta web appCodebase API: Yesaccount by web sign-up; key or OAuth from the account
Free useLetta API (Letta Cloud): YesFree $0/month, up to 3 stateful agents, bring your own API keysCodebase API: Yes'Free $ 0 /mo ... 1,000 credits a month'
OpenAPILetta API (Letta Cloud): Not statedCodebase API: Yes'OpenAPI 3.1 spec' at codebase.design/api-docs per llms.txt
OpenAPI versionLetta API (Letta Cloud): Not statedCodebase API: 3.1stated in llms.txt
Docs without loginLetta API (Letta Cloud): YesCodebase API: YesAPI reference readable without an account
llms.txtLetta API (Letta Cloud): Yeswww.letta.com/llms.txt and docs.letta.com/llms.txtCodebase API: Yescodebase.design/llms.txt
Docs as MarkdownLetta API (Letta Cloud): NoAccept: text/markdown returned HTML; pages offer index.md copiesCodebase API: NoAccept: text/markdown returned text/html on the docs page tested
MCP
Vendor MCP serverLetta API (Letta Cloud): YesHosted Letta MCP server at https://api.letta.com/mcpCodebase API: Yeshttps://codebase.design/api/mcp
MCP server hosted by the vendorLetta API (Letta Cloud): Yeshosted by LettaCodebase API: Yeshosted by the vendor
MCP sign-inLetta API (Letta Cloud): Uses an API key'send it as a bearer token ... OAuth-only clients are not supported yet'Codebase 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.

