Koyeb vs Together Code Sandbox

Koyeb sandboxes are self-serve microVMs that sleep when idle, wake on a request and can run on GPUs. Together Code Sandbox starts VMs from Docker-image snapshots and can save their memory when they end. Together must enable it for your organization.

The companies and products

Koyeb

Koyeb is a serverless cloud for apps, inference and sandboxes. In February 2026 it agreed to join Mistral AI.

A Koyeb sandbox is a Koyeb service: a microVM that starts from any Docker image. You drive it from Python or JavaScript SDKs or the Koyeb CLI: run commands, read files, expose a port and take snapshots. The default image comes with four coding agents. A sandbox can scale to zero when idle and wake on the next request, on CPU or GPU instance types. It suits teams that run AI agents or untrusted code next to apps they already host on Koyeb.

Together Code Sandbox

Together AI is a cloud for running and training AI models, and Code Sandbox is its product for running code in isolated VMs.

You build a snapshot from a Docker image or Dockerfile on Together's builder, then start sandboxes from it and run commands and file operations through the together-sandbox SDK or CLI. When a sandbox ends you can save its disk, and its memory too, as a new snapshot to start more sandboxes from. It is aimed at model-generated code, agent tool calls and reinforcement learning rollouts, and Together must enable it for your organization. The pricing page also lists Code Interpreter at $0.03 per 60-minute session.

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. “6th cheapest of 336” means 5 of the other 335 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 workloadKoyeb: price rankTogether Code Sandbox: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
92nd of 365, with limits
$366 a month
67th of 365, with limits
$528 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
194th of 361, with limits
$923 a month
107th of 361, with limits
$1,095 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
Both run short code through an API. Koyeb has small instances that scale to zero and wake on a request. Together's pricing page also lists Code Interpreter at $0.03 per 60-minute session.
6th cheapest of 336
$66 a month
318th of 336, with limits
$2,190 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
Koyeb wakes a sleeping sandbox on a request and exposes one HTTPS port. On Together every port URL is public unless you set an experimental access policy. boat gives each sandbox up to 50 HTTPS URLs, token-protected by default.
8th cheapest of 349
$495 a month
231st of 349, with limits
$900 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
Together can save a sandbox with its memory and start many copies from it, which suits rollouts that branch from one warm state; Together must enable the product first. Koyeb SDK snapshots can also keep running processes. boat forks from the last 1-minute disk snapshot, without memory.
233rd of 349, with limits
$1,631 a month
309th of 349, with limits
$21,900 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
Together documents a Harbor integration for agent evals. Koyeb runs agents through its command API. boat has a Harbor integration too, and ships seven coding agents with an API to prompt, steer and follow each run.
27th cheapest of 359
$429 a month
260th of 359, with limits
$450 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
CI that builds Android apps or VM images needs /dev/kvm. boat exposes it on every sandbox. Neither Koyeb nor Together documents it.
143rd of 374, with limits
$88 a month
253rd of 374, with limits
$180 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
232nd of 371, with limits
$37 a month
226th of 371, with limits
$22 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
Computer-use agents need a desktop and a browser. On Koyeb and on Together you build them into your own image. boat streams a 60 fps desktop with Chrome.
128th of 367, with limits
$123 a month
105th of 367, with limits
$600 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
On Koyeb and on Together you install a browser in your own image. boat ships Chrome on a desktop in every sandbox.
237th of 356, with limits
$123 a month
195th of 356, with limits
$900 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
242nd of 343, with limits
$89 a month
181st of 343, with limits
$180 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
67th of 327, with limits
$1,683 a month
126th of 327, with limits
$3,600 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
261st of 351, with limits
$299 a month
95th of 351, with limits
$150 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
Koyeb runs GPU instances from an RTX 4000 SFF Ada up to H100, H200 and B200. Together Code Sandbox and boat have no GPU sandboxes.
3rd cheapest of 102
$628 a month
Not 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

FeatureKoyebTogether Code Sandboxboat
IsolationCloud Hypervisor microVM per instanceA VM per sandbox on Together's infrastructureFull VM with its own kernel, on AMD Ryzen 7 9700X and Ryzen 9 9950X hosts dedicated to boat; vCPUs are shared
Getting startedSelf-serve Pro and Scale plansThe SDK and CLI must be enabled for your organization by TogetherSign up with a card (7-day trial), then start a sandbox from the API, CLI or dashboard
Price for 4 vCPU / 8 GBeco-xlarge $0.0576 an hour with a 20 GB disk; plan fee from $29 a month ($10 of usage included)$0.0446 per vCPU-hour + $0.0149 per GiB-hour, about $0.30 an hour; billing granularity not published$0.036 an hour, per second, on a plan from $20 a month that comes back as VM time for that month
Machine sizeInstance types up to 40 vCPU / 128 GB, and GPU types larger still0.1 to 16 cores, 1 to 8 GB of memory per core; disk size not configurable2, 4, 8 or 16 vCPU at 2 GB per vCPU; 16 vCPU needs the $100 plan or higher
Docker, root and systemdStarts from any Docker image; Docker inside a sandbox is not documentedCommands run as user 1000 by default, root per exec on request; Docker inside not documentedDocker with Compose, systemd and root on every sandbox
Nested virtualizationNot documentedNot documentedYes, /dev/kvm for Android emulators and VMs
Saving stateLocal disk is lost on redeploy and in Deep Sleep. You set it up: SDK snapshots of the filesystem, or with running processes; volumes (preview, 1 to 10 GB, not on eco instances)End a sandbox with a snapshot of its disk, or disk and memory; a new sandbox from a memory snapshot resumes with its processes runningDisk saved every minute and at each stop, with no code; memory and running programs are not saved, so a resume is like a reboot
ForkNew sandboxes from an SDK snapshotThe parent stops first, then you start many sandboxes from its snapshot, with memory if you askFork a running sandbox and the original keeps running; the fork uses the last 1-minute disk snapshot, without memory
Sleep and wakeScales to zero after an idle period (5 minutes minimum) and wakes on the next request; Light Sleep wakes in about 200 ms (preview)Runs until you terminate it or its ttl ends; ttl counts from creation; no idle detection and no wake on requestAuto-stop 1 hour after creation or resume by default, up to 30 days or off on paid plans; started again by API
Inbound accessOne exposed HTTPS port at a time, plus an optional TCP proxy to one port (preview)A URL per port, open to everyone by default; an experimental policy limits access by IP or requires a tokenUp to 50 HTTPS URLs, token-protected by default; SSH; raw ports over IPv6 only on sandboxes with no IPv4 of their own
Shell accessCommands and files through the Python and JavaScript SDKs or the Koyeb CLICommands, interactive shells and files through the SDK and CLI; SSH is not documentedSSH, plus exec and files over the API
Desktop and coding agentsNo desktop preinstalled; you can add one to a custom image. Default image has Mistral Vibe, Codex, Gemini and OpenCode, run through the command APINo built-in desktop; you install your agent in your image and run it through execs, with a Harbor guide for evals60 fps Linux desktop with Chrome, and seven agents installed with a prompt, steer and events API
Keeping API keys out of the sandboxSecrets are set as environment variables inside the serviceNo credentials proxy documentedOptional paid proxy ($1 a day plus $1 per 1,000 requests) for supported model providers; other secrets still enter the sandbox
GPUs and regionsRTX 4000 SFF Ada up to H100, H200 and B200; EU, US and AsiaNo GPU sandboxes; regions not publishedNo GPUs; Germany, Finland and France, no region choice, no US or Asia region
Every feature Battleships tracks (43)
FeatureKoyebTogether Code Sandboxboat
Full VM (own kernel)YesYesYes
Docker insideNot publishedNot publishedYes
Nested virtualizationNo documented wayNo documented wayYes
RootNot publishedYesYes
SystemdNot publishedNot publishedYes
Desktop GUINo documented wayNot publishedYes
BrowserNo documented wayNot publishedYes
Computer-use APINo documented wayNot publishedYes
SSHNo documented wayNo documented wayYes
Persistent diskWith your own setupWith your own setupYes
Pause/resumeYesYesYes
Automatic snapshotsYesNo documented wayYes
Fork/cloneYesYesYes
Live fork (no pause)Not publishedNo documented wayYes
Memory forkYesYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesNo documented wayNo documented way
Wake on requestYesNo documented wayNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundYesNo 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 agentsYesNo documented wayYes
Agent harness APINo documented wayNo documented wayYes
MCP serverYesYesNo documented way
GPUYesNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayNo documented wayNo documented way
Self-hostingYesNo documented wayNo documented way
BYOCYesNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsNo documented wayYesYes
Usage per sandbox (API)No documented wayYesYes
Audit logsYesNot publishedNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAANo documented wayNo documented wayNo documented way
EU data residencyYesNot publishedNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

KoyebNot measured
Together Code SandboxNot measured
boat28.06 runs/s

Neither Koyeb nor Together Code Sandbox is in the public benchmarks we use, so we cannot say which is faster. Koyeb publishes a CPU share of at least 0.25 dedicated vCPU per GB of memory, bursting to all cores. 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.

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. Koyeb and Together Code Sandbox 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.

ScenarioKoyeb, a monthTogether Code Sandbox, 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
$29 · Pro$5 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · with limits$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$57 · Pro$22 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · 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
$475 · Pro · with limits$264 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · with limits$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
$329 · Scale$900 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · 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
$485 · Scale · with limits$6,000 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · with limits$8,800 · $2000/mo · with limits

Koyeb: Koyeb bills each instance per second at a fixed price per instance type: eco-xlarge (4 vCPU / 8 GB, 20 GB disk) costs $0.0576 an hour. Deep Sleep costs nothing. Pro costs $29 a month with $10 of usage included, and Scale $299 with $100 included; the rest of the fee is not credit.

Together Code Sandbox: Together lists Code Sandbox at $0.0446 per vCPU-hour and $0.0149 per GiB-hour, about $0.30 an hour at 4 vCPU / 8 GB, from prepaid credits. Your organization must have it enabled through Together first. Billing granularity, snapshot storage and egress prices are not published. The pricing page also lists Code Interpreter at $0.03 per 60-minute session; the ranking tables use that line because Code Sandbox needs enablement.

Together Code Sandbox: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, per second while it runs. The $20 plan includes 12 starts a minute, 60 an hour and 200 a day; extra starts cost $0.03 to $0.07. A stopped sandbox has no compute charge and keeps its disk for at least 14 days; extra saved snapshots and the AI credentials proxy still charge.

Limits in those scenarios

The ranking tables price Together on its Code Interpreter line, because Code Sandbox needs Together to enable it. Code Interpreter sessions last 60 minutes and its machine size is not published, so it does not fit these scenarios. Together publishes no concurrency or start limits for Code Sandbox. Koyeb's priced shape for 4 vCPU / 8 GB is eco-xlarge, with a 20 GB local disk that takes no volume, and Koyeb does not document Docker inside, so the 50-agent fleet is marked as not fitting. boat's limit that bites is starts: the $2,000 plan includes 90 a minute and 2,400 a day, and starts above 270 a minute fail with 429, so 1,000 short jobs at once do not fit boat.

ScenarioKoyebTogether Code Sandboxboat
One coding agent, workdays
  • disk beyond 20 GiB: price unknown
  • Together pay-as-you-go (prepaid credits; Code Interpreter only): sessions capped at 1 h
  • not confirmed: persistent disk
  • machine size not published
  • different kind of product: code interpreter
None for this scenario
One agent that never stops
  • disk beyond 20 GiB: price unknown
  • Together pay-as-you-go (prepaid credits; Code Interpreter only): sessions capped at 1 h
  • not confirmed: persistent disk
  • machine size not published
  • different kind of product: code interpreter
None for this scenario
50 agents in parallel
  • not confirmed: Docker inside
  • Together pay-as-you-go (prepaid credits; Code Interpreter only): sessions capped at 1 h
  • not confirmed: persistent disk
  • machine size not published
  • different kind of product: code interpreter
None for this scenario
Sandboxes for your usersNone for this scenario
  • machine size not published
  • different kind of product: code interpreter
  • machine size per session not published
  • egress price not published
None for this scenario
1,000 short jobs at once
  • burstable CPU: 50% of each vCPU guaranteed, throttled above that
  • machine size not published
  • different kind of product: code interpreter
  • machine size per session not published
  • egress price not published
  • 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 Koyeb when

you want self-serve sandboxes today that sleep when idle and wake on a request, need GPUs, or have to run in the US or Asia.

  • Sign up and start today. Koyeb sandboxes are self-serve on the Pro and Scale plans, while Together must enable its VM product for you.
  • Sleep when idle, wake on request. Good for sandboxes that sit idle: Koyeb scales to zero after an idle period and wakes on the next request.
  • GPUs and many regions. Useful when an agent needs a GPU or must run in the US or Asia: Koyeb offers both on one platform.

Use Together Code Sandbox when

you already run models on Together and want light sandboxes, from a tenth of a core, that you can save with their memory and branch from.

  • Memory snapshots to branch from. Useful for rollouts and test variants: save a sandbox with its memory and start many copies with processes still running.
  • Sandboxes next to your models. Handy if you already run inference or fine-tuning on Together: sandboxes and models share one account.
  • Sizes cut to the job. Good for many light jobs: sandboxes start at a tenth of a core, priced per vCPU-hour and GiB-hour.

Where boat fits

If your sandboxes run coding agents for hours, Koyeb and Together both leave you to build the desktop and the agent harness into your image. boat gives each agent a full VM that saves its disk, with Docker, /dev/kvm, a desktop, hosting and the agents built in, and you can start it today. boat has no GPU and no memory snapshots, and it caps starts per plan.

A whole machine, with Docker and /dev/kvm

Neither Koyeb nor Together documents Docker inside a sandbox or nested virtualization, and Together runs commands as a normal user by default. boat has root, systemd, Docker and /dev/kvm on every sandbox.

A disk saved with no code, and forks of a running machine

On Koyeb you keep files with SDK snapshots or a preview volume of up to 10 GB. On Together the disk is saved as a snapshot when the sandbox ends, and to copy it the parent stops. boat saves the disk every minute and forks a running sandbox.

Agents, desktop and private hosting built in

Koyeb exposes one port at a time, and Together makes every port public by default. boat installs seven coding agents with one API, a 60 fps desktop, and up to 50 token-protected HTTPS URLs.

Use boat when your agents do real work for hours on a full VM that saves its disk: builds, Docker, emulators, a desktop with Chrome and preview servers, with seven agents installed. Compare it one to one: boat vs Koyeb and boat vs Together Code Sandbox.

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 Koyeb cheaper than Together Code Sandbox?

At Together's Code Sandbox list rates, mostly yes. One agent on workdays costs $29 a month on Koyeb against $52 on Together, and sandboxes for your users $329 against $744. One always-on agent costs about $42 of Koyeb compute plus the $29 Pro fee ($10 included), against $217 on Together. boat costs $20, $200 and $26 for those three. Code Sandbox must be enabled by Together first.

Which is faster, Koyeb or Together Code Sandbox?

Neither is in the public benchmarks we use, so we cannot say. Koyeb guarantees at least 0.25 dedicated vCPU per GB of memory and bursts to all cores. boat did 28.06 runs/s on the V8 Web Tooling Benchmark in StarSling's run of 3 October 2026, on a Ryzen 9 9950X host.

Can I run Docker and Android emulators in each?

Both start sandboxes from Docker images, but neither documents Docker inside a sandbox or nested virtualization. boat runs Docker, systemd and root on every sandbox and exposes /dev/kvm for Android emulators and VMs. boat cannot boot your own Docker image.

Can I sign up for Together Code Sandbox today?

The together-sandbox SDK and CLI must be enabled for your organization, so you ask Together for access. Koyeb sandboxes are self-serve on the Pro and Scale plans. boat is self-serve with a card, also for its 7-day trial.

Do Koyeb and Together keep a sandbox's files?

Both can, with your code. On Koyeb you take SDK snapshots or attach a preview volume of 1 to 10 GB. Together saves the disk, and memory too, as a snapshot when the sandbox ends. boat saves the disk every minute and at each stop with no code, and keeps a stopped disk for at least 14 days.

Which one has GPUs?

Koyeb runs instances from an RTX 4000 SFF Ada up to H100, H200 and B200, billed per second. Together Code Sandbox has no GPU sandboxes, and boat is CPU only.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons