Tensorlake vs GitHub Codespaces

Tensorlake is a sandbox API for agents: Firecracker microVMs that sleep with their memory, copy into warm clones and expose /dev/kvm. GitHub Codespaces is a dev environment for people: a dev container per GitHub repository, opened in VS Code or the browser, that stops after 12 hours at most.

The companies and products

Tensorlake

Tensorlake is a San Francisco company that sells infrastructure for AI agents, with sandboxes as its main product.

Tensorlake Sandboxes are Firecracker microVMs that you create through an API and that boot in a few hundred milliseconds. CPU sandboxes have /dev/kvm, can resize CPU and memory while they run, and can suspend with their memory and running processes. You can copy a running sandbox into several warm clones. Around them Tensorlake sells pre-warmed pools, versioned Cloud Volumes, hosted Git and a bring-your-own-cloud option, aimed at teams running coding agents, evals and RL rollouts.

Headquarters
San Francisco

GitHub Codespaces

GitHub Codespaces is GitHub's cloud development environment: a ready-to-code Linux machine for a repository, opened in the browser, VS Code or the GitHub CLI.

Codespaces is a different kind of product from boat: a dev environment for people who work on a GitHub repository, not a sandbox API for agents. Each codespace is a Docker container built from the repo's dev container config. It runs on its own newly built VM on Azure, with 2 to 32 cores. It is built for developers and teams who want every contributor to start from the same setup, with prebuilds, port forwarding and GitHub billing.

Which use cases each one fits

For each use case, Battleships prices every sandbox provider on the same workload and sorts them from the cheapest monthly bill up. “8th cheapest of 365” means 7 of the other 364 providers run that workload, with every feature it needs, for less. “With limits” means the provider runs it but misses something, so it is listed after every full match. Open a use case for its whole ranking and what each provider misses.

Use case and its workloadTensorlake: price rankGitHub Codespaces: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Tensorlake fits a software factory, with Docker and /dev/kvm. Codespaces is a compromise because of its 12-hour stop, and GitHub does not document /dev/kvm. boat has Docker, /dev/kvm and preinstalled coding agents.
8th cheapest of 365
$1,315 a month
290th of 365, with limits
$4,618 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An always-on assistant does not fit Codespaces well, since every codespace stops after 12 hours at most. Tensorlake Pro has no session cap. boat runs with no session cap once auto-stop is off (default 1 hour).
14th cheapest of 361
$1,730 a month
320th of 361, with limits
$6,970 a month
6th cheapest of 361
$657 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
29th cheapest of 336
$250 a month
283rd of 336, with limits
$619 a month
189th of 336, with limits
$2,000 a month
Sandboxes for your users
300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month
Tensorlake creates a sandbox per user through an API. Codespaces are created for GitHub users on a repository, so handing them to your own users is a compromise.
13th cheapest of 349
$561 a month
276th of 349, with limits
$1,964 a month
3rd cheapest of 349
$209 a month
RL rollouts
1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month
Tensorlake ranks 2nd of 349 providers for RL rollouts in our table, with 1,000 sandboxes at once on Pro and warm clones. GitHub does not publish how many codespaces can run at once.
2nd cheapest of 349
$5,637 a month
276th of 349, with limits
$9,489 a month
39th of 349, with limits
$2,000 a month
Agent evals
250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month
35th cheapest of 359
$506 a month
295th of 359, with limits
$1,519 a month
10th cheapest of 359
$200 a month
CI runners
40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month
Both can run fresh build machines. Codespaces starts each one from a repo or prebuild, with no fork. Tensorlake and boat clone or fork a warm sandbox; each boat fork counts as a start.
53rd cheapest of 374
$424 a month
317th of 374, with limits
$909 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Tensorlake suspends idle sandboxes after 10 minutes by default, and a codespace stops at 12 hours. A boat sandbox runs until you stop it once auto-stop is off; a default one that runs 730 hours costs $26 a month.
202nd of 371, with limits
$250 a month
144th of 371, with limits
$270 a month
19th cheapest of 371
$26 a month
Computer-use agents
50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month
Tensorlake has an XFCE desktop image over VNC. A codespace can add a basic noVNC desktop through the desktop-lite dev container feature, which you configure, with no computer-use API. boat streams a 60 fps desktop with Chrome.
10th cheapest of 367
$387 a month
297th of 367, with limits
$1,367 a month
7th cheapest of 367
$200 a month
Browser-use agents
50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month
12th cheapest of 356
$250 a month
306th of 356, with limits
$678 a month
7th cheapest of 356
$200 a month
Scraping & bots (startup scale)
50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month
25th cheapest of 343
$250 a month
324th of 343, with limits
$922 a month
6th cheapest of 343
$90 a month
Mass scraping & bots (undetectable)
1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month
123rd of 327, with limits
$3,484 a month
279th of 327, with limits
$18,637 a month
73rd of 327, with limits
$1,800 a month
Parallel red teaming
200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month
Tensorlake ranks 8th and boat 3rd of 351 for parallel red teaming in our table. Both copy one prepared sandbox into many; every codespace is created again from the repository.
8th cheapest of 351
$250 a month
284th of 351, with limits
$445 a month
3rd cheapest of 351
$200 a month
GPU eval jobs
10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month
Not ranked: misses a requirementNot ranked: misses a requirementNot ranked: misses a requirement
macOS agents
5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month
Not ranked: misses a requirementNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureTensorlakeGitHub Codespacesboat
What it isA sandbox API for agents, evals and RL rolloutsA cloud dev environment for people working on a GitHub repositoryA sandbox API for agents, with full VMs you drive from code
IsolationFirecracker microVMs with their own kernel; GPU sandboxes use gVisorA Docker container on its own newly built VM, with its own virtual networkFull VM with its own kernel on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
How long it runsNo session cap on Pro; idle timeout of 600 s by default, then suspend or terminateStops after 30 idle minutes by default (up to 240) and after 12 hours at most, even while in useAuto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap
Nested virtualizationYes: /dev/kvm in CPU sandboxes (not GPU sandboxes)/dev/kvm and nested virtualization are not documentedYes: /dev/kvm on every sandbox, so Android emulators and VMs run
Docker insideYes, on the tensorlake/ubuntu-systemd imageYes, through a dev container feature, with sudoYes, with root and systemd on every machine
Keeping stateNamed sandboxes suspend with memory and running processes and restore warmFiles are kept when it stops, no memory; storage is billed, and a stopped codespace is deleted after 30 days by defaultDisk saved every minute and at each stop; kept at least 14 days, longer with a saved snapshot; a resume is like a reboot
Copy a running machineCopy a running or suspended sandbox into N warm clones with memoryNo copy or snapshot endpoint; new codespaces start from a repo, branch, pull request or prebuildFork a running sandbox from its last 1-minute disk snapshot
Setting up the environmentManaged OS images or your own imageDev container config in the repository, with prebuilds built by GitHub Actionsboat's image or a saved snapshot as a template; you cannot boot your own Docker image
Desktop and computer useubuntu-vnc image: XFCE desktop with Firefox over VNC, with screenshot, mouse and keyboard callsVS Code, JupyterLab and a terminal; a noVNC desktop through the desktop-lite dev container feature, which you configure; no computer-use APIBuilt-in desktop and Chrome streamed at 60 fps, with computer use, browser control and an embeddable stream
Coding agentsYou install your own agent; managed images are plain OS basesGitHub Copilot as a VS Code extension; other agents you install yourselfSeven harnesses installed (Claude Code, Codex, OpenCode and more), with a prompt, steer and events API
API keysStored secrets are injected into the sandbox as environment variablesSecrets are copied into the codespace as environment variablesOptional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests); with it on, real keys of supported providers stay outside; other secrets still enter
Reaching the machineHTTP, WebSocket and gRPC on exposed ports (public or authenticated), SSH, and raw TCP through authenticated client tunnels; no dedicated IPA URL per forwarded port, private, organization or public; SSH and CLI tunnels; no public IPUp to 50 HTTPS URLs, token-gated by default; SSH; raw ports on a public IPv6 address
Outbound rulesallow_out and deny_out lists by domain, IP or CIDR, or no internet at allOpen internet; GitHub says there is no way to restrict itOpen internet; no provider-side allowlist, you set your own firewall as root
GPUs and where it runsGPU sandboxes by request; EU data residency supported (no region list published), or your own cloud through BYOCNo GPU machines; US East, US West, Europe West and Southeast AsiaNo GPUs; Germany, Finland and France, no region choice
Every feature Battleships tracks (43)
FeatureTensorlakeGitHub Codespacesboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationYesNot publishedYes
RootYesYesYes
SystemdYesNot publishedYes
Desktop GUIYesWith your own setupYes
BrowserYesNo documented wayYes
Computer-use APIYesNo documented wayYes
SSHYesYesYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsYesNo documented wayYes
Fork/cloneYesNo documented wayYes
Live fork (no pause)YesNo documented wayYes
Memory forkYesNo documented wayNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesNo documented wayYes
Idle auto-stopYesYesNo documented way
Wake on requestYesNo documented wayNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayNo documented wayYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesNo documented wayNo documented way
Secret proxyNo documented wayNo documented wayYes
Secret proxy for any APINo documented wayNo documented wayYes
Preinstalled agentsNo documented wayNo documented wayYes
Agent harness APINo documented wayNo documented wayYes
MCP serverNo documented wayNo documented wayNo documented way
GPUYesNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayNo documented wayNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCYesNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsNot publishedYesYes
Usage per sandbox (API)No documented wayNo documented wayYes
Audit logsNot publishedYesNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesYesNo documented way
Zero data retentionYesNot publishedYes

Performance

TensorlakeNot measured
GitHub CodespacesNot measured
boat28.06 runs/s

Tensorlake and GitHub Codespaces are not in StarSling's CPU benchmark, so we cannot say which is faster. In StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. In ComputeSDK's run of 6 November 2026, Tensorlake started 100 sandboxes at once with a median of 1.55 s to first command, at its default size. Codespaces and boat are not in ComputeSDK.

V8 Web Tooling Benchmark at a 4 vCPU / 8 GB target, runs per second, higher is better. Source: StarSling's run of 3 October 2026 (run 37073680030), median of 5 sandboxes. Providers ran on different hardware in different regions. StarSling gives a shared rank when the run cannot separate two providers. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Tensorlake and GitHub Codespaces are not in the public benchmarks we use, so we cannot say which is faster.

Pricing in five scenarios

Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.

ScenarioTensorlake, a monthGitHub Codespaces, a monthboat, a month
One coding agent, workdays
4 vCPU / 8 GB, 50 GB disk, 8 hours a day, 22 days a month, files kept between days
$250 · Pro$51 · Personal account: GitHub Free$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$250 · Pro$270 · Personal account: GitHub Free · with limits$26 · $20/mo
50 agents in parallel
50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside
$1,030 · Pro$3,019 · Personal account: GitHub Free$317 · $20/mo × 3 seats
Sandboxes for your users
2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once
$293 · Pro$850 · Personal account: GitHub Free · with limits$200 · $100/mo × 2 seats
1,000 short jobs at once
2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month
$1,127 · Pro$1,889 · Personal account: GitHub Free · with limits$8,800 · $2000/mo · with limits

Tensorlake: Pro is $250 per billing cycle, which includes 25,000 CU ($250) of usage, then $0.01 per CU. CPU is billed on active execution, with a minimum of 20% of allocated vCPU. RAM and disk bill on allocation while the sandbox runs, and a suspended sandbox pays $0.07 per GB-month of snapshot storage. Prepaid packs of $5, $10 or $20 and a free plan cover small use.

GitHub Codespaces: Codespaces bills $0.09 per core-hour for the whole time a codespace is active, plus $0.07 per GB-month of storage while it exists, stopped too. There is no 4-core machine with 8 GB, so 4 vCPU / 8 GB jobs are priced on the 4-core 16 GB machine. Personal accounts get a free monthly quota and organizations do not.

GitHub Codespaces: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month; unused time does not carry over. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs, busy or idle. A stopped sandbox has no compute charge, and boat keeps its disk for at least 14 days. Saved snapshots above the included count and the optional AI credentials proxy still charge while sandboxes are stopped. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07 each.

Limits in those scenarios

Codespaces stops every codespace after 12 hours at most, so it does not fit one agent running all month without a restart script. GitHub does not publish how many can run at once, so 300 user sandboxes and 1,000 short jobs show as not confirmed. Tensorlake Pro allows 1,000 sandboxes at once, so it is the only one of the three that fits 1,000 short jobs at once, at $1,127 a month. On Tensorlake, disk is 10 to 100 GiB and an ephemeral sandbox ends after 10 idle minutes by default. boat's $2,000 plan includes 90 starts a minute, and starts above 270 a minute fail with 429. A boat resume is like a reboot, and a machine failure loses the writes after the last 1-minute snapshot.

ScenarioTensorlakeGitHub Codespacesboat
One coding agent, workdaysNone for this scenarioNone for this scenarioNone for this scenario
One agent that never stopsNone for this scenario
  • Personal account: GitHub Free: sessions capped at 12 h
None for this scenario
50 agents in parallelNone for this scenario
  • how many machines can run at once: limit not published, probably fine at 50 (the typical published limit is 50)
None for this scenario
Sandboxes for your usersNone for this scenario
  • not confirmed: how many machines can run at once (you need 300; the typical published limit is 50)
None for this scenario
1,000 short jobs at onceNone for this scenario
  • not confirmed: how many machines can run at once (you need 1,000; the typical published limit is 50)
  • 2,400 starts/day included, paid above that (needs ~6,667)
  • 600 starts/hour included, paid above that (needs ~1,000)
  • starts above 90/min are paid, and starts above 270/min fail with 429

Which one should you use?

Use Tensorlake when

your code fans out many short agent runs, evals or RL rollouts from one warm state, or you need GPUs, outbound rules or sandboxes in your own cloud.

  • Memory snapshots and warm clones. Useful when an agent must pick up mid-process: Tensorlake saves a sandbox's memory and copies it into warm clones.
  • Built for big fan-outs from code. Useful for RL rollouts and evals: Tensorlake Pro runs 1,000 sandboxes at once, created through an API.
  • GPUs, outbound rules and your own cloud. Tensorlake offers GPU sandboxes by request, outbound allow and deny lists per sandbox, and can run in your own cloud account.

Use GitHub Codespaces when

your developers want a ready VS Code environment for a GitHub repository, opened from a branch or pull request, in the US, EU or Asia.

  • Built into GitHub. Useful if your team lives on GitHub: open a codespace from any repo, branch or pull request, with the dev container ready.
  • Free hours for personal work. A GitHub Free account includes 120 core-hours a month, and one agent on workdays prices at $51 against Tensorlake Pro's $250.
  • Regions and compliance reports. Codespaces run in the US, Europe and Southeast Asia, and GitHub Enterprise Cloud lists audit reports.

Where boat fits

If what you run is coding agents that work for hours, look at boat. It gives each agent a full VM with /dev/kvm, Docker, systemd and a built-in desktop, with coding agents installed, and runs with no session cap once auto-stop is off (default 1 hour). Tensorlake is ahead for memory snapshots and big bursts, and Codespaces for GitHub workflows. boat has no GPU and no region outside Europe.

Keep working past 12 hours

A codespace stops after 12 hours even while in use, so a long agent task needs a restart script and loses its processes. Tensorlake ends idle ephemeral sandboxes after 10 minutes by default. boat bills a running sandbox at full rate, busy or idle, until you stop it.

A desktop and agents built in

On Codespaces you configure a noVNC desktop and install the agent. On Tensorlake the desktop is a separate image, and you install the agent. boat ships a 60 fps desktop and seven agents, with one API to prompt, steer and follow them.

Keys kept outside

On both, API keys sit inside the machine as environment variables, where code the agent runs can read them. boat's optional proxy ($1 a day while on, plus $1 per 1,000 requests) keeps real keys of supported providers outside.

Use boat when your agents work for hours or days: full VMs with /dev/kvm, Docker and a built-in desktop, coding agents installed, and sandboxes that fork while running. Compare it one to one: boat vs Tensorlake and boat vs GitHub Codespaces.

boat's own limits
  • Plans start at $20 a month. The plan price comes back as VM time for that month. Unused time does not carry over. Source
  • Starts (create, fork, resume): the $20 plan includes 12 a minute, 60 an hour and 200 a day. The $2,000 plan includes 90 a minute, 600 an hour and 2,400 a day. Extra starts cost $0.03 to $0.07. A start fails with 429 above 3 times the included starts per minute, or 6 times per hour or per day. Source
  • A stopped sandbox has no compute charge. boat keeps its disk for at least 14 days. A saved snapshot keeps it longer; extra saved snapshots and the AI credentials proxy are paid. Source
  • Auto-stop defaults to 1 hour. You can turn it off on a paid plan. The trial allows 2 hours at most. Source
  • boat saves the disk every minute and at each stop. Memory, running programs and /tmp are not saved: a resume is like a reboot. A machine failure loses writes after the last good snapshot. Source
  • Machines run in Germany, Finland and France only. Snapshot copies can be stored outside the EU. Source
  • Public IPv6 and outbound IPv4. No dedicated IPv4. The IP changes at each resume. Source
  • Hosts are AMD Ryzen 7 9700X and Ryzen 9 9950X. vCPUs are shared. No GPU. You cannot boot your own Docker image. Source

Questions people ask

Is Tensorlake cheaper than GitHub Codespaces?

It depends on the size. One coding agent on workdays is $51 a month on Codespaces and $250 on Tensorlake Pro. 50 agents in parallel is $1,030 on Tensorlake against $3,019 on Codespaces. boat prices those at $20 and $317.

Which is faster, Tensorlake or GitHub Codespaces?

We cannot say: neither is in StarSling's CPU benchmark. A codespace builds a dev container on a new VM, which prebuilds speed up. boat did 28.06 V8 Web Tooling runs/s, second of 15 in StarSling's run of 3 October 2026, on a Ryzen 9 9950X host.

Can I run an AI agent 24/7 on Tensorlake or Codespaces?

On Codespaces, not without restarts: every codespace stops after 12 hours, even while in use. Tensorlake Pro has no session cap, but idle sandboxes suspend or end after 600 seconds by default. On boat, auto-stop defaults to 1 hour; on a paid plan you can turn it off for no cap.

Can Tensorlake and Codespaces run Docker and emulators?

Both run Docker: Tensorlake on its ubuntu-systemd image and Codespaces through a dev container feature. Tensorlake CPU sandboxes also expose /dev/kvm; GitHub does not document it for codespaces. Every boat machine has Docker, systemd and /dev/kvm.

Which one keeps memory when a machine sleeps?

Tensorlake does: named sandboxes suspend with memory and running processes and can be copied into warm clones. Codespaces keeps only files when it stops. boat saves the disk every minute and at each stop, and a resume is like a reboot.

Where do Tensorlake, Codespaces and boat run?

Tensorlake's docs say it supports EU data residency, and it can run in your own cloud account through BYOC. Codespaces runs in US East, US West, Europe West and Southeast Asia. boat runs on machines in Germany, Finland and France, with no region choice.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons