Letta API (Letta Cloud) vs Together Code Sandbox (CodeSandbox SDK)
Letta API (Letta Cloud)by LettaPaid fromNot statedAccessHTTP, SDK, CLI, MCPAgentsNot agent-friendlyAPI QA score[SCORE]View API
Together Code Sandbox (CodeSandbox SDK)by Together AIPaid fromNot statedAccessHTTP, SDK, CLIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
13 different6 stated by only one2 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-hostTogether Code Sandbox (CodeSandbox SDK): VM sandboxes created, hibernated and resumed by the CodeSandbox SDK and CLI, for AI coding agents and development environments, billed per vCPU and GiB of RAM per hour
AccessLetta API (Letta Cloud): HTTP, SDK, CLI, MCPTogether Code Sandbox (CodeSandbox SDK): HTTP, SDK, CLI
Still on saleLetta API (Letta Cloud): YesTogether Code Sandbox (CodeSandbox SDK): Yes
What they work on
BothSandbox
Only one of themLetta API (Letta Cloud): Agent memoryAgent runAI agentAI modelFolderConversationMCP serverTogether Code Sandbox (CodeSandbox SDK): Code execution
Price
PricesLetta API (Letta Cloud): Together Code Sandbox (CodeSandbox SDK): Not stated
- Pro$20 /month
Buying and paying
Agent gets a key aloneLetta API (Letta Cloud): Nokey or token is created in the app after a person signs upTogether Code Sandbox (CodeSandbox SDK): Nokey or token is created by a signed-in person
First call without a keyLetta API (Letta Cloud): Noevery call needs a key or tokenTogether Code Sandbox (CodeSandbox SDK): Noevery call needs a key or OAuth token
Agent can payLetta API (Letta Cloud): Nocheckout, trial or contract needs a person; no agent payment protocolTogether Code Sandbox (CodeSandbox SDK): Nobought by a person through web checkout or a sales contract; no agent payment protocol
Payment railsLetta API (Letta Cloud): card, creditsplans and credit top-ups bought in the web appTogether Code Sandbox (CodeSandbox SDK): Not stated
Payment protocolsLetta API (Letta Cloud): noneno x402, MPP, ACP or AP2 on pages readTogether Code Sandbox (CodeSandbox SDK): noneno x402, MPP, ACP or AP2 on pages read
Subscription requiredLetta API (Letta Cloud): NoFree plan can buy credits for Letta-hosted modelsTogether Code Sandbox (CodeSandbox SDK): Nohourly compute
Price published as dataLetta API (Letta Cloud): Yespricing page served as Markdown at docs.letta.com/pricing/index.mdTogether Code Sandbox (CodeSandbox SDK): Noprices only in the HTML page
Reading and signing up
Public pricesLetta API (Letta Cloud): Yesdocs.letta.com/pricingTogether Code Sandbox (CodeSandbox SDK): Yesplan prices on the public pricing page
Self-serve sign-upLetta API (Letta Cloud): YesAPI key created in the Letta web appTogether Code Sandbox (CodeSandbox SDK): YesTogether API key in TOGETHER_API_KEY
Free useLetta API (Letta Cloud): YesFree $0/month, up to 3 stateful agents, bring your own API keysTogether Code Sandbox (CodeSandbox SDK): Not stated
Docs without loginLetta API (Letta Cloud): YesTogether Code Sandbox (CodeSandbox SDK): YesAPI reference readable without an account
llms.txtLetta API (Letta Cloud): Yeswww.letta.com/llms.txt and docs.letta.com/llms.txtTogether Code Sandbox (CodeSandbox SDK): Yesdocs.together.ai/llms.txt and www.together.ai/llms.txt
Docs as MarkdownLetta API (Letta Cloud): NoAccept: text/markdown returned HTML; pages offer index.md copiesTogether Code Sandbox (CodeSandbox SDK): YesAccept: text/markdown returned text/markdown on docs.together.ai
MCP
Vendor MCP serverLetta API (Letta Cloud): YesHosted Letta MCP server at https://api.letta.com/mcpTogether Code Sandbox (CodeSandbox SDK): Not stated
MCP server hosted by the vendorLetta API (Letta Cloud): Yeshosted by LettaTogether Code Sandbox (CodeSandbox SDK): Not stated
MCP sign-inLetta API (Letta Cloud): Uses an API key'send it as a bearer token ... OAuth-only clients are not supported yet'Together Code Sandbox (CodeSandbox SDK): Not stated
Jobs both do
Open a job to see every API that does it.

