LangSmith Sandboxes vs E2B vs Daytona: Where Should Your Agent's Code Run?
LangSmith Sandboxes lists 0.0576 LSU per vCPU-hour, E2B bills per second, Daytona $0.0504. Isolation, free tiers and lock-in compared as of November 2026.
LangSmith Sandboxes runs agent-generated code in hardware-virtualized microVMs, which LangChain says are kernel-isolated from your services and from other sandboxes. LangChain made the product generally available on 13 May 2026. Its pricing page lists compute at 0.0576 LSU per vCPU-hour as of November 2026, and sets one LSU at $1.00. Daytona lists $0.0504 per vCPU-hour and E2B bills by the second.
What is LangSmith Sandboxes?
LangSmith Sandboxes is LangChain's managed environment for running code that an agent writes. LangChain describes each sandbox as a hardware-virtualized microVM, fully kernel-isolated from your services and other sandboxes. The company says this makes sandboxes "genuinely secure" for running untrusted, model-generated code. That is the company's own claim, and none of the independent sources cited here verifies it.
A LangChain post from 17 March 2026 describes the same design and contrasts it with plain Linux namespaces.
How is each sandbox isolated?
LangSmith Sandboxes and E2B both use microVMs by default. Daytona's default is a container, and its Linux VM class runs a full virtual machine with its own kernel.
| Product | Default isolation | Second option | Source |
|---|---|---|---|
| LangSmith Sandboxes | Hardware-virtualized microVM, kernel-isolated from other sandboxes (company claim) | None described in the sources | LangChain, 13 May 2026 |
| E2B | Firecracker microVM per execution, according to Medium, 24 March 2026 | None described in the sources | Tencent Cloud describes isolation from the host and other sandboxes |
| Daytona | Isolated container with dedicated namespaces | Full virtual machine with its own kernel, for Linux VM sandboxes | Developers Digest, 18 October 2026; Blaxel, 6 February 2026 |
Containers share the host kernel. A comparison titled "Blaxel vs Daytona", dated 30 July 2026, says Daytona's container class adds user namespaces and syscall interception, but "the sandbox still shares the host kernel." That comparison is written by a rival, so treat it as one view.
Daytona 2.0 is different. Agent 37 says Linux sandboxes on Daytona 2.0 are Firecracker microVMs, and that the original platform is container-based.
How much do LangSmith Sandboxes, E2B and Daytona cost?
LangSmith Sandboxes and Daytona publish hourly compute rates. E2B publishes per-second rates. Every product in the table bills per second, and each rate is shown as its source states it.
| Product (as of) | Billing | vCPU | Memory | Storage or disk |
|---|---|---|---|---|
| LangSmith Sandboxes (November 2026) | Per second | 0.0576 LSU per vCPU-hour | 0.01845 LSU per GiB-hour | 0.000123 LSU per GiB-hour |
| E2B (26 November 2026) | Per second | $0.000014 per vCPU-second | $0.0000045 per GiB-second | Free allowance of 10 GiB on Hobby, 20 GiB on Pro; no per-GiB disk rate shown |
| Daytona (November 2026) | Per second | $0.0504 per vCPU-hour | $0.0162 per GiB-hour | $0.000108 per GiB-hour after the first 5 GiB |
Sources: LangChain pricing, E2B pricing, Activepieces, 4 November 2026 and Developers Digest for Daytona. A third-party page states that 1 LSU equals $1.
Two figures need a note:
- LangSmith memory rate. The LangChain pricing page lists 0.01845 LSU per GiB-hour. PricingSaaS, 4 November 2026 lists $0.0185 for the same line. The table uses the pricing page figure.
- Daytona vCPU rate. Agent 37, Activepieces and Developers Digest agree on $0.0504 per vCPU-hour. A Grass article dated 24 April 2026 gives $0.05 per vCPU-hour, a single source for that earlier date.
Plans sit on top of usage. E2B's pricing page lists Pro at $150 per month plus usage costs, and Enterprise at a custom price starting at a $2,000 per month commit, as of 26 November 2026. PricingSaaS says LangSmith Sandboxes were added to the Plus plan with usage pricing.
Last checked: 26 November 2026 for E2B. LangSmith and Daytona figures are as of November 2026.
For a per-hour comparison of E2B with other hosts, see Agent37 vs Modal vs E2B: What an Hour of Agent Hosting Actually Costs.
What do the free tiers include?
Each free allowance uses a different unit, so check what each one covers before comparing them.
- LangSmith Sandboxes: 8 LSU of sandbox usage per month, limited to 10 sandboxes, as of November 2026 (LangChain pricing).
- E2B Hobby: free, with $100 in usage credits plus usage costs, and 10 concurrent sandboxes (E2B pricing, 26 November 2026).
- Daytona: $200 in free compute with no credit card needed for the trial (Developers Digest, 18 October 2026). Agentic Index reports the same $200 on 23 October 2026.
How locked in is each option?
LangSmith Sandboxes are billed in LSU, a LangSmith usage unit, and they are sold alongside the LangSmith platform. Openlayer, a competing evaluation vendor, says LangSmith's self-hosting requires Enterprise pricing, which blocks teams with data residency needs from lower tiers. The same Openlayer piece says LangSmith lacks pre-built tests, drift detection and runtime guardrails.
E2B is described as an open-source runtime for running AI-generated code, according to Tencent Cloud. That gives buyers code they can read, though E2B's self-hosting terms are not covered in the cited sources.
Daytona is the clearest case of change. A GitHub repository notice, dated 3 October 2026, says that as of June 2026 Daytona's core development moved to a private codebase. Grass says teams that relied on auditing the code or self-hosting lost that option.
Has Daytona had security incidents?
Yes. Daytona disclosed two security problems in 2026, and the company says it fixed both. One let shell users in affected sandboxes read API credentials, and the other was a Linux kernel vulnerability.
- Credential exposure. A researcher found that in April 2026 a Daytona API credential used by the CLI or SDK could reach a process inside a sudo-enabled sandbox and be read from memory. Daytona patched every region the same day and told affected customers to rotate credentials, according to HILLS Lab, 3 September 2026.
- CVE-2026-31431. On a shared host, one sandbox could affect cached file content that other tenants' sandboxes see. Chiri Atlas, 23 November 2026 reports that Daytona fixed affected runners within 12 hours.
- Scope of the fix. Daytona says it fixed all regions by 9 April 2026 at 20:44 UTC. It also says it cannot prove that no attack happened (Chiri Atlas).
MicroVMs address kernel-level exploits, but they do not solve credential exposure alone. Medium, 24 March 2026 says E2B does not offer granular egress policies. No comparable incidents appear in the cited sources for LangSmith Sandboxes or E2B.
What does a LangSmith customer still need elsewhere?
A sandbox runs the code an agent writes. The model that writes that code is a separate service, so it is a separate bill and a separate connection. Sandbox pricing does not include it.
On the platform side, LangSmith covers tracing and evaluation for LangChain apps. Openlayer says it lacks pre-built tests, drift detection and runtime guardrails, so teams that need those would add tools from elsewhere.
Which sandbox fits which team?
Pick by the constraint that matters most to you.
| If you need | Best fit | Why, from the sources |
|---|---|---|
| Microvm isolation and LangSmith tracing from one vendor | LangSmith Sandboxes | Kernel-isolated microVMs (company claim), billed in LSU, 8 LSU free per month |
| An open-source runtime and a free start with $100 in credits | E2B | Described as open source by Tencent Cloud, Hobby tier free with $100 in credits |
| $200 in free compute and a choice of container or VM isolation | Daytona, after checking which platform version you target | Container default, VM class with its own kernel, Daytona 2.0 Firecracker microVMs per Agent 37, core codebase private since June 2026 |
Teams already running on LangSmith have the least integration work with LangSmith Sandboxes. Teams that want to read or self-host the runtime should weigh Daytona's closed-source change before committing.
What's still unclear?
- Daytona's vCPU rate. Three sources, dated 18 October to 15 November 2026, give $0.0504 per vCPU-hour. One Grass article gives $0.05 for April 2026. The change may be real or a rounding or date difference, and the sources do not settle it.
- Daytona's closed-source date. The Grass article is dated 24 April 2026 but gives 11 June 2026 for the change. The GitHub notice says only "as of June 2026".
- E2B's isolation model. The Firecracker detail rests on one Medium post. The Tencent Cloud page describes isolation without naming Firecracker.
- Daytona 2.0's microVMs. This claim comes from Agent 37 alone; no second cited source names Firecracker for Daytona 2.0.
- Price is not bill. These are rates. The total cost depends on how long each sandbox runs, and the cited sources do not measure that.
- Weakest point. The LangSmith isolation and security claims are the company's own. Lock-in and self-hosting points on LangSmith come from a competing vendor.
Frequently asked questions
How much does LangSmith Sandboxes cost per vCPU-hour?
LangChain's pricing page lists 0.0576 LSU per vCPU-hour, billed per second, as of November 2026. A third-party page states that 1 LSU equals $1, which puts the rate at $0.0576 per vCPU-hour. Memory is 0.01845 LSU per GiB-hour and storage is 0.000123 LSU per GiB-hour. The free allowance is 8 LSU per month, limited to 10 sandboxes.
Does E2B have a free plan?
Yes. E2B's Hobby tier is free, includes $100 in usage credits plus usage costs, and allows 10 concurrent sandboxes. The Pro plan costs $150 per month plus usage costs and allows 100 concurrent sandboxes. E2B bills per second of a running sandbox. These figures come from E2B's pricing page, last checked 26 November 2026.
How much free compute does Daytona offer?
Daytona offers $200 in free compute with no credit card required for the trial, according to Developers Digest dated 18 October 2026. Agentic Index also reports $200 of free compute, dated 23 October 2026. As of November 2026, Daytona bills $0.0504 per vCPU-hour, $0.0162 per GiB-hour of memory, and $0.000108 per GiB-hour of disk after the first 5 GiB.
Which of these sandbox platforms are open source?
Tencent Cloud describes E2B as an open-source runtime. According to Grass, Daytona's core development moved to a private codebase in June 2026, which removed the option to audit the code or self-host for teams that relied on it. Grass dates the closed-source change to 11 June 2026 in an article dated 24 April 2026, so the exact date is unresolved.
Does a microVM stop an agent from leaking credentials?
Not by itself. Medium says microVMs protect against kernel-level exploits but do not solve credential exposure on their own, in a post dated 24 March 2026. Daytona disclosed a 2026 issue in which an API credential could be read from memory inside a sudo-enabled sandbox, and it patched the issue.
Sources
- LangSmith Sandboxes are generally available, LangChain (2026-05-13)
- Introducing LangSmith Sandboxes: secure code execution for agents, LangChain (2026-03-17)
- LangChain pricing, LangChain (undated, as of November 2026)
- LangSmith Sandboxes, Sandbox Providers (2026-11-20)
- LangChain pricing changes, week 21, PricingSaaS (2026-11-04)
- E2B pricing, E2B (2026-11-26)
- Daytona sandbox, Agent 37 (2026-11-15)
- Daytona pricing 2026: sandbox costs and free credits, Activepieces (2026-11-04)
- Daytona agent sandboxes, Developers Digest (2026-10-18)
- Daytona vs Modal, Agentic Index (2026-10-23)
- E2B runtime overview, Tencent Cloud (undated)
- How every major tech company is sandboxing AI agents differently, Medium (2026-03-24)
- Daytona dev environment pricing and alternatives, Blaxel (2026-02-06)
- Blaxel vs Daytona: Sandbox comparison for AI agents, Blaxel vs Daytona comparison (2026-07-30)
- Daytona vs AgentBox vs DIY sandbox runtime for AI agents, Grass (2026-04-24)
- Daytona closed-source transition and security notes, Grass (2026-04-24)
- Daytona repository notice, GitHub (2026-10-03)
- Daytona security incident and CVE-2026-31431 coverage, HILLS Lab (2026-09-03)
- Daytona disclosures and fix timeline, Chiri Atlas (2026-11-23)
- LangSmith vs eval platform gaps and self-hosting, Openlayer (2026-09-17)
- Medium on E2B egress and credential exposure, Medium (2026-03-24)