boat vs Tencent Cloud SCF
Tencent Cloud SCF runs your code as short functions that start on each request and are taken back when idle. boat gives each agent a whole Linux VM with Docker, a disk saved every minute and coding agents you drive from outside.
Where boat stands out
A whole machine, not a function
A boat sandbox is a full VM with root, Docker, systemd, SSH and /dev/kvm. An SCF function runs your handler or one web server on port 9000, inside an instance that Tencent manages and documents no login for.
It keeps running and keeps its files
With auto-stop off on a paid plan (default 1 h), a boat sandbox has no session cap. boat saves the disk every minute and at each stop, keeps a stopped disk at least 14 days, and lets you fork a running sandbox. An SCF call ends after 900 seconds, or 24 hours with async execution, and Tencent's docs say /tmp may not be kept after the call.
Built for agents you drive from outside
Seven coding-agent harnesses, Claude Code and Codex among them, come installed, and you prompt, steer and follow them through one API. Each sandbox gets HTTPS URLs on up to 50 ports. An optional credentials proxy keeps the real keys of supported model providers outside the sandbox.
The companies and products
boat
boat.dev runs sandboxes for AI agents: each one is a full Linux VM with its own kernel.
You start a machine with one command or one API call, then SSH in, run Docker, open a desktop, or let a built-in agent (Claude Code, Codex, OpenCode and others) work in it. The disk stays between sessions, and a stopped sandbox costs nothing.
- Isolation
- Full VM per sandbox, own kernel
- Regions
- EU: Germany, Finland, France
Tencent Cloud SCF
Tencent Cloud SCF (Serverless Cloud Function) is Tencent Cloud's function-as-a-service: you upload code or a container image, and Tencent runs it when an event or HTTP request arrives.
SCF is not a sandbox product. It is a hyperscaler serverless platform: Tencent creates, reuses and deletes the function instances, and its docs ask you to write stateless code. Files that must last go to a mounted CFS file system or to COS. You pay for memory-seconds and invocations. It is built for event handlers, web APIs and background jobs inside Tencent Cloud. It overlaps with boat where you run code an agent wrote, or one short job per request.
- Async run time
- Functions created with async execution can run up to 24 hours; you choose async only when you create the function
- Local disk
- 512 MB /tmp that may not be kept after the call; its contents stay while Tencent keeps the instance
- Lasting files
- CFS network file systems mounted under /mnt/ from the same VPC, shared between functions and billed by CFS
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. “5th cheapest of 365” means 4 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 workload | boat: price rank | Tencent Cloud SCF: price rank |
|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A coding agent that runs docker compose and works for hours does not fit a 900-second function call, or 24 hours with async execution, and Tencent documents no Docker daemon inside a function. boat gives it a full VM with Docker, and saves its disk every minute. | 5th cheapest of 365 $634 a month | 245th of 365, with limits $2,977 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An assistant that runs all month passes SCF's 24-hour async limit and needs its files kept. On SCF you set it up: mount a CFS file system under /mnt/ or write to COS, and start a new run each day. On boat you turn auto-stop off on a paid plan (default 1 h), and the VM runs all month. | 6th cheapest of 361 $657 a month | 288th of 361, with limits $3,841 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month Short code runs are what SCF is built for: it starts an instance per request, bills per GB-second and charges no per-start fee. boat's start limits make big bursts a compromise: the $2,000 plan includes 90 starts a minute, and starts above 270 a minute fail. | 189th of 336, with limits $2,000 a month | 235th of 336, with limits $202 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month Short user sessions fit both. SCF keeps no disk per user; you set it up with a CFS folder per user or COS. boat gives every user a VM with its own disk and HTTPS URLs on up to 50 ports, within its plan's start limits. | 3rd cheapest of 349 $209 a month | 255th of 349, with limits $1,292 a month |
| RL rollouts 1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month | 39th of 349, with limits $2,000 a month | 106th of 349, with limits $6,071 a month |
| Agent evals 250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month Both fit short, stateless eval steps. boat also keeps each eval machine's disk and lets you fork a running one from its last 1-minute snapshot to try two paths. | 10th cheapest of 359 $200 a month | 66th cheapest of 359 $982 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month Both fit simple test jobs. Tencent documents no Docker daemon or /dev/kvm inside a function, so image builds and Android emulators need boat or a CVM server you manage. | 2nd cheapest of 374 $86 a month | 77th cheapest of 374 $610 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB A dev box needs SSH and a disk you change as you work. SCF documents no SSH, and packages stay only if you bake them into the function image or code package. boat keeps the whole disk and accepts SSH. | 19th cheapest of 371 $26 a month | 289th of 371, with limits $159 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month SCF has no built-in desktop, and Tencent documents no desktop setup for functions. boat streams a Linux desktop and Chrome at 1920x1080, 60 fps, with computer tools for agents. | 7th cheapest of 367 $200 a month | 260th of 367, with limits $914 a month |
| Browser-use agents 50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month | 7th cheapest of 356 $200 a month | 294th of 356, with limits $475 a month |
| Scraping & bots (startup scale) 50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month | 6th cheapest of 343 $90 a month | 301st of 343, with limits $358 a month |
| Mass scraping & bots (undetectable) 1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month | 73rd of 327, with limits $1,800 a month | 182nd of 327, with limits $6,548 a month |
| Parallel red teaming 200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month | 3rd cheapest of 351 $200 a month | 264th of 351, with limits $302 a month |
| GPU eval jobs 10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month | Not ranked: misses a requirement | Not 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 requirement | Not ranked: misses a requirement |
Key features
| Feature | boat | Tencent Cloud SCF |
|---|---|---|
| What you get | A full VM with its own kernel, on AMD Ryzen hosts dedicated to boat; vCPUs are shared | A function instance that Tencent starts, reuses and deletes; you cannot manage it |
| How long it runs | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no session cap | Up to 900 seconds per call; async functions up to 24 hours, chosen at creation |
| Docker, systemd and root | Root via sudo, Docker and systemd inside every sandbox | A container image can be the function itself; Tencent documents no way to run a Docker daemon inside it |
| Nested virtualization | /dev/kvm on every sandbox, for Android emulators and VMs | Not documented |
| Shell access | SSH into any sandbox | Tencent manages the instances and documents no login |
| Files after a stop | The disk, saved every minute and at each stop; kept at least 14 days when stopped, longer with a saved snapshot. Memory, running programs and /tmp are not saved | 512 MB /tmp that may not be kept after the call; lasting files go to a CFS file system you mount under /mnt/ (billed by CFS) or to COS |
| Snapshots and fork | Automatic snapshot every minute and at stop; fork a running sandbox from its last 1-minute snapshot | No snapshot or fork documented; code versions and aliases only |
| Scale to zero | You stop a sandbox through the API or auto-stop, and start it again through the API; no wake on request | Instances start on each request and are taken back when idle |
| Start limits | $20 plan: 12 starts a minute and 200 a day included, paid extras up to 1,200 a day; $2,000 plan: 90 a minute, 2,400 a day. Create, fork and resume count | No per-start fee; a regional memory quota of 64,000 or 128,000 MB caps what runs at once, raised by ticket |
| Price model | $0.036 an hour for 4 vCPU / 8 GB, billed per second while it runs, from a $20 plan | USD 0.0000167 per GB-second of the memory you set, plus USD 0.002 per 10,000 calls; CPU follows memory |
| Inbound access | Up to 50 HTTPS URLs per sandbox, token-gated by default; SSH; raw ports (IPv6 only on sandboxes without their own IPv4) | Function URLs or API Gateway to one web server on port 9000, with HTTP and WebSocket; no raw ports |
| Network controls | Open internet, no provider-side allowlist | Public network on or off per function, VPC placement and a fixed outbound IP |
| Coding agents | Seven harnesses installed (Claude Code, Codex, OpenCode and more), with a prompt, steer and events API | None built in; you package your own agent code into the function |
| Keeping API keys out of the sandbox | Optional AI credentials proxy ($1 a day it is on, plus $1 per 1,000 requests): real keys of supported model providers stay out. Other secrets still enter the sandbox | Keys go into environment variables inside the function |
| GPUs | No GPU on any size | Nvidia T4 and A10 GPU functions |
| Regions | Germany, Finland and France; you cannot pick a region; no US or Asia region | Mainland China, Hong Kong, Singapore, Tokyo, Silicon Valley and Frankfurt |
| Compliance and transparency | SOC 2 is in progress. We're open about where we stand: live status and data retention policy. | SOC 2 |
Every feature Battleships tracks (43)
| Feature | boat | Tencent Cloud SCF |
|---|---|---|
| Full VM (own kernel) | Yes | No documented way |
| Docker inside | Yes | No documented way |
| Nested virtualization | Yes | Not published |
| Root | Yes | Not published |
| Systemd | Yes | Not published |
| Desktop GUI | Yes | No documented way |
| Browser | Yes | No documented way |
| Computer-use API | Yes | No documented way |
| SSH | Yes | No documented way |
| Persistent disk | Yes | Yes |
| Pause/resume | Yes | No documented way |
| Automatic snapshots | Yes | No documented way |
| Fork/clone | Yes | No documented way |
| Live fork (no pause) | Yes | No documented way |
| Memory fork | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes |
| ≥24 h sessions | Yes | Yes |
| Idle auto-stop | No documented way | Yes |
| Wake on request | No documented way | Yes |
| HTTPS preview URLs | Yes | Yes |
| Raw TCP inbound | Yes | Not published |
| Public IPv4 | No documented way | No documented way |
| Egress allowlist | No documented way | Yes |
| Secret proxy | Yes | No documented way |
| Secret proxy for any API | Yes | No documented way |
| Preinstalled agents | Yes | No documented way |
| Agent harness API | Yes | No documented way |
| MCP server | No documented way | No documented way |
| GPU | No documented way | Yes |
| Windows | No documented way | No documented way |
| Arm64 | No documented way | No documented way |
| Self-hosting | No documented way | No documented way |
| BYOC | No documented way | No documented way |
| Open source | No documented way | No documented way |
| Scoped API keys | Yes | Not published |
| Spend limits | Yes | Not published |
| Usage per sandbox (API) | Yes | Yes |
| Audit logs | No documented way | Not published |
| SSO | No documented way | Yes |
| SOC 2 | No documented way | Yes |
| HIPAA | No documented way | Yes |
| EU data residency | No documented way | Yes |
| Zero data retention | Yes | Not published |
Performance
SCF is not in the public benchmarks we use, so we cannot say which is faster. On the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, boat did 28.06 runs per second, second of 15 in StarSling's run of 3 October 2026 (run 37073680030). That boat sandbox ran on an AMD Ryzen 9 9950X host. boat's fleet also has Ryzen 7 9700X hosts, and boat does not promise a CPU model. On SCF the CPU share follows the memory you set, so a fair test needs its own run at a matching size.
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. Tencent Cloud SCF is 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.
| Scenario | boat, a month | Tencent Cloud SCF, 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 | $20 · $20/mo | $41 · Pay as you go · with limits |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $26 · $20/mo | $166 · Pay as you go · with limits |
| 50 agents in parallel 50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside | $317 · $20/mo × 3 seats | $1,944 · Pay as you go · with limits |
| Sandboxes for your users 2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once | $200 · $100/mo × 2 seats | $585 · Pay as you go |
| 1,000 short jobs at once 2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month | $8,800 · $2000/mo · with limits | $1,219 · Pay as you go |
boat: Plans cost $20, $100, $500 or $2,000 a month. The whole plan price comes back as VM time for that month, and unused time does not carry over. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs. The $20 plan includes 200 starts a day; create, fork and resume each count. Extra starts cost $0.03 to $0.07, up to 1,200 a day. A stopped sandbox has no compute charge, but saved snapshots above the plan's count and the AI credentials proxy still charge.
Tencent Cloud SCF: SCF bills the memory you set times the seconds a call runs, at USD 0.0000167 per GB-second, plus USD 0.002 per 10,000 invocations and outbound traffic per GB. A basic package of USD 0.06 a day is charged in months with usage. It includes 100,000 GB-seconds, 500,000 calls and 2 GB of traffic a month. CPU is not billed on its own because it follows memory. A CFS file system for lasting files is billed by CFS.
Limits in those scenarios
The three agent scenarios do not fit SCF as priced: the 512 MB /tmp may not be kept after a call, so lasting files must go to a CFS file system mounted from the same VPC or to COS, and the agent fleet also needs Docker inside, which Tencent does not document. The always-on agent hits the 24-hour limit even with async execution, and normal calls stop after 900 seconds. A 4 vCPU / 8 GiB function needs a large-specification application, since the default memory limit is 3,072 MB. Each region has a shared concurrency quota of 64,000 or 128,000 MB. boat does not fit the burst: 1,000 jobs at once need more starts than its $2,000 plan allows. That plan includes 90 starts a minute and 2,400 a day; extra starts are paid, and starts above 270 a minute fail with 429. boat never queues a start.
| Scenario | boat | Tencent Cloud SCF |
|---|---|---|
| One coding agent, workdays | None for this scenario |
|
| One agent that never stops | None for this scenario |
|
| 50 agents in parallel | None for this scenario |
|
| Sandboxes for your users | None for this scenario |
|
| 1,000 short jobs at once |
|
|
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
Which one should you use?
Use Tencent Cloud SCF when
your work is many short, stateless calls or GPU inference that should scale to zero, especially inside Tencent Cloud or for users in China and Asia.
- Per-request scale and bursts. Workloads made of many short, stateless calls start one instance per request and pay only for the memory-seconds they use.
- GPU functions. Teams that run model inference or image generation as functions can pick Nvidia T4 or A10 GPUs, billed by memory and time.
- China, Asia and Tencent Cloud. Teams serving users in mainland China or Asia can run next to their Tencent Cloud VPC, databases and storage.
Use boat when
your agents do real work on a machine for hours: Docker, builds, tests, emulators and a browser, with a disk saved every minute, URLs you can open and agents you drive from outside.
- A whole machine, not a function. Coding agents run docker build, start databases and open emulators. On Tencent Cloud you set that up on a CVM server that you manage yourself.
- It keeps running and keeps its files. On SCF you set it up: put the function in a VPC, mount a CFS file system under /mnt/ (billed by CFS) or write to COS, and bake packages into the image. Tencent documents no snapshot or fork. On boat, memory, running programs and /tmp are not saved, and a machine failure loses writes after the last snapshot.
- Built for agents you drive from outside. On SCF you build the agent loop and the preview routing yourself. Keys go into environment variables inside the function, as they do on boat with the proxy off.
Questions people ask
Is boat cheaper than Tencent Cloud SCF?
It depends on the workload. In our scenarios, one coding agent on workdays costs $20 a month on boat against $41 on SCF. 50 agents in parallel cost $317 against $1,944, and SCF keeps their files only in a mounted CFS folder. Sandboxes for your users cost $200 against $585. For 1,000 short jobs at once, SCF costs $1,219 a month and fits; boat does not fit, because even its $2,000 plan refuses starts above 270 a minute.
Can an AI coding agent run on Tencent Cloud SCF?
For short steps, yes. An SCF call ends after 900 seconds, or 24 hours with async execution chosen at creation. Tencent documents no Docker daemon or SSH inside, and /tmp may not be kept after the call; lasting files go to a CFS mount or COS. boat gives each agent a full VM, with no session cap once you turn auto-stop off on a paid plan (default 1 h).
Can I run Docker inside an SCF function?
Tencent documents no way to run a Docker daemon inside a function. You can deploy a container image as the function, and a web function then serves one web server on port 9000. boat runs Docker inside every sandbox, along with systemd and /dev/kvm.
Do files survive between SCF calls?
Not reliably in /tmp. Each function has 512 MB of /tmp, and Tencent's docs say it may not be kept after the call ends. For files that last, you mount a CFS network file system from the same VPC, or write to COS. boat saves the disk every minute and at each stop, and keeps a stopped disk at least 14 days. Memory, running programs and /tmp are not saved on boat.
Where does my data run?
boat runs sandboxes on machines in Germany, Finland and France. You cannot pick a region, and snapshot copies can be stored outside the EU. SCF runs in mainland China, Hong Kong, Singapore, Tokyo, Silicon Valley and Frankfurt, and you pick the region.
Is boat SOC 2 compliant?
Not yet. SOC 2 is in progress, and no HIPAA BAA or SAML SSO is documented. Tencent Cloud lists ISO 27001 and SOC reports for its platform. boat's live status is at status.ascii.dev and its data retention policy at docs.boat.dev/data-retention.
Start a sandbox
Install the CLI, then run boat new.
7-day free trial