Together Code Sandbox (CodeSandbox SDK) vs Letta API (Letta Cloud)
Together Code Sandbox (CodeSandbox SDK)by Together AIPaid fromNot statedAccessHTTP, SDK, CLIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Letta API (Letta Cloud)by LettaPaid fromNot statedAccessHTTP, SDK, CLI, MCPAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
13 different6 stated by only one2 the same on both
The basics
What it isTogether 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 hourLetta 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-host
AccessTogether Code Sandbox (CodeSandbox SDK): HTTP, SDK, CLILetta API (Letta Cloud): HTTP, SDK, CLI, MCP
Still on saleTogether Code Sandbox (CodeSandbox SDK): YesLetta API (Letta Cloud): Yes
What they work on
BothSandbox
Only one of themTogether Code Sandbox (CodeSandbox SDK): Code executionLetta API (Letta Cloud): Agent memoryAgent runAI agentAI modelFolderConversationMCP server
Price
PricesTogether Code Sandbox (CodeSandbox SDK): Not statedLetta API (Letta Cloud):
- Pro$20 /month
Buying and paying
Agent gets a key aloneTogether Code Sandbox (CodeSandbox SDK): Nokey or token is created by a signed-in personLetta API (Letta Cloud): Nokey or token is created in the app after a person signs up
First call without a keyTogether Code Sandbox (CodeSandbox SDK): Noevery call needs a key or OAuth tokenLetta API (Letta Cloud): Noevery call needs a key or token
Agent can payTogether Code Sandbox (CodeSandbox SDK): Nobought by a person through web checkout or a sales contract; no agent payment protocolLetta API (Letta Cloud): Nocheckout, trial or contract needs a person; no agent payment protocol
Payment railsTogether Code Sandbox (CodeSandbox SDK): Not statedLetta API (Letta Cloud): card, creditsplans and credit top-ups bought in the web app
Payment protocolsTogether Code Sandbox (CodeSandbox SDK): noneno x402, MPP, ACP or AP2 on pages readLetta API (Letta Cloud): noneno x402, MPP, ACP or AP2 on pages read
Subscription requiredTogether Code Sandbox (CodeSandbox SDK): Nohourly computeLetta API (Letta Cloud): NoFree plan can buy credits for Letta-hosted models
Price published as dataTogether Code Sandbox (CodeSandbox SDK): Noprices only in the HTML pageLetta API (Letta Cloud): Yespricing page served as Markdown at docs.letta.com/pricing/index.md
Reading and signing up
Public pricesTogether Code Sandbox (CodeSandbox SDK): Yesplan prices on the public pricing pageLetta API (Letta Cloud): Yesdocs.letta.com/pricing
Self-serve sign-upTogether Code Sandbox (CodeSandbox SDK): YesTogether API key in TOGETHER_API_KEYLetta API (Letta Cloud): YesAPI key created in the Letta web app
Free useTogether Code Sandbox (CodeSandbox SDK): Not statedLetta API (Letta Cloud): YesFree $0/month, up to 3 stateful agents, bring your own API keys
Docs without loginTogether Code Sandbox (CodeSandbox SDK): YesAPI reference readable without an accountLetta API (Letta Cloud): Yes
llms.txtTogether Code Sandbox (CodeSandbox SDK): Yesdocs.together.ai/llms.txt and www.together.ai/llms.txtLetta API (Letta Cloud): Yeswww.letta.com/llms.txt and docs.letta.com/llms.txt
Docs as MarkdownTogether Code Sandbox (CodeSandbox SDK): YesAccept: text/markdown returned text/markdown on docs.together.aiLetta API (Letta Cloud): NoAccept: text/markdown returned HTML; pages offer index.md copies
MCP
Vendor MCP serverTogether Code Sandbox (CodeSandbox SDK): Not statedLetta API (Letta Cloud): YesHosted Letta MCP server at https://api.letta.com/mcp
MCP server hosted by the vendorTogether Code Sandbox (CodeSandbox SDK): Not statedLetta API (Letta Cloud): Yeshosted by Letta
MCP sign-inTogether Code Sandbox (CodeSandbox SDK): Not statedLetta API (Letta Cloud): Uses an API key'send it as a bearer token ... OAuth-only clients are not supported yet'
Jobs both do
Open a job to see every API that does it.

