Skip to content
sandboxrouting

LangSmith Sandboxes

langsmith, free every month, microVM isolation.

$8 every month

About 42 h of a 2 vCPU, 4 GiB sandbox a month, at $0.189/h with every vCPU busy. The router reserves that much for each live box, so it never runs past the tier.

Terms

Free usage
8 LSU / month ($8, ≈ 42 h)
Free limits
10 sandboxes
Paid after
$0.189/h (2 vCPU / 4 GiB)
Free concurrency
10 at once
Card
not required
Adapter's note
Developer plan ($0): 8 LSU ($8) of sandbox usage a month, about 42 h of 2 vCPU / 4 GiB; limited to 10 sandboxes. Plus ($39/seat) also includes 8 LSU, then pay as you go.
Checked
Nov 21, 2026 against www.langchain.com/pricing

LangSmith documents Firecracker for its self-hosted sandboxes; its cloud pages say only "isolated". An LSU is $1; 8 LSU at 0.0576 LSU/vCPU-h + 0.01845 LSU/GiB-h is about 42 hours.

The adapter

LangSmith Sandboxes (langchain.com): Firecracker microVMs booted from snapshots, billed in LangChain Standard Units (1 LSU = $1). Developer plan (free, no card): 8 LSU of sandbox usage a month, at most 10 sandboxes. 0.0576 LSU per vCPU-hour and 0.01845 LSU per GiB-hour, per second, so the 8 LSU buy about 42 h of 2 vCPU / 4 GiB; storage 0.000123 LSU per GiB-hour. REST: https://api.smith.langchain.com/api/v2/sandboxes (X-API-Key; EU at eu.api.smith.langchain.com, set LANGSMITH_ENDPOINT), OpenAPI https://docs.langchain.com/langsmith/langsmith-platform-openapi.json, reference https://docs.langchain.com/langsmith/smith-api/sandboxes/create-a-sandbox.md. Commands and files go to each sandbox's `dataplane_url`, as the official SDK (`langsmith/sandbox`) does. A sandbox is addressed by its name. Its lifetime is idle-based (`idle_ttl_seconds` stops it, `delete_after_stop_seconds` then deletes it), so a busy one outlives the deadline and the router deletes it (enforcesTimeout: false). Sandboxes are created with `persistent: false`: nothing is kept or charged for storage once stopped. A 429 is the workspace's limits (sandbox count, CPU, memory), not spent credit, so it is reported as a concurrency limit.

Keys
LANGSMITH_API_KEY ( LANGSMITH_ENDPOINT for EU, LANGSMITH_WORKSPACE_ID for org keys)
Connects through
REST api.smith.langchain.com/api/v2/sandboxes + each sandbox's data plane
Capabilities
Extend a live box
Isolation
microVM
Operating system
Linux
Longest sandbox
no limit declared
Longest command
no cap declared
Timeout
The provider keeps it alive, so the router deletes it at the deadline
Billing
Wall clock, every second it runs
Source
src/providers/langsmith.ts, and the provider’s site
Route only here
const sbx = await router.create({ providers: ["langsmith"] });
Override its terms in sandboxrouting.json
{
  "providers": {
    "langsmith": {
      "freeTier": {
        "kind": "monthly-credit",
        "usd": 8
      },
      "priority": 10
    }
  }
}