Cerebrium vs Replicate
Both are serverless GPU clouds that scale to zero, but they start from different places. Cerebrium deploys your own app or Dockerfile as HTTP or WebSocket endpoints. Replicate gives you tens of thousands of ready models behind one API, plus your own models packaged with Cog.
The companies and products
Cerebrium
Cerebrium is a serverless GPU cloud for real-time AI: voice agents, video models, LLMs and other ML apps.
You describe an app in a cerebrium.toml file, with your Python code or your own Dockerfile. Cerebrium builds it and serves it as HTTP or WebSocket endpoints. The Cerebrium Run API also runs an uploaded Python file or function without an endpoint. Cerebrium starts containers when requests arrive, scales them across GPUs and regions, and scales them to zero when traffic stops. It is built for teams that serve models in production, not for agents that need a machine of their own. This page compares the places where the two overlap.
Replicate
Replicate runs AI models with an API: tens of thousands of community and official models, plus your own models packaged with Cog.
You call a public model with one API request, fine-tune one on your data, or package your own model with Cog. Cog is Replicate's open-source tool that builds a Docker image with an HTTP prediction server. Replicate runs it on CPU or NVIDIA GPU hardware as deployments that scale up with traffic and down to zero. It is built for teams that serve models, not for agents that need a machine of their own, so this page compares the places where the two overlap.
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. “45th cheapest of 359” means 44 of the other 358 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 | Cerebrium: price rank | Replicate: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month | 205th of 365, with limits $2,008 a month | 283rd of 365, with limits $4,340 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB | 261st of 361, with limits $2,534 a month | 340th of 361, with limits $11,300 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 Short code runs suit both serverless models, where work starts on a request and scales back to zero. Cerebrium Run also executes an uploaded Python file or function without an endpoint. | 222nd of 336, with limits $131 a month | 255th of 336, with limits $295 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 Both can serve your users as endpoints that scale. boat gives each user a full VM with a disk kept between runs and ranks 2nd here. | 226th of 349, with limits $821 a month | 310th of 349, with limits $3,705 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 For RL rollouts, boat ranks 29th, Cerebrium 51st and Replicate 117th. None of the three is a full match. | 78th of 349, with limits $4,068 a month | 180th of 349, with limits $17,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 Agent evals fit both, with Cerebrium ranking 29th and Replicate 51st. boat ranks 8th with a full VM per run. | 45th cheapest of 359 $639 a month | 79th cheapest of 359 $1,440 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 fits Cerebrium at 62nd, and Replicate is a compromise at 181st. boat ranks 2nd, with Docker and /dev/kvm inside, but has no pipeline service. | 88th cheapest of 374 $766 a month | 313th of 374, with limits $864 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB A dev box needs SSH and a disk that keeps your installs. Cerebrium keeps files in /persistent-storage and packages in the image; Replicate documents no persistent disk; neither documents SSH. | 272nd of 371, with limits $102 a month | 312th of 371, with limits $226 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 Neither Cerebrium nor Replicate has a desktop product; you can install a headless browser in your own image. boat streams a Linux desktop with Chrome at 60fps. | 217th of 367, with limits $575 a month | 292nd of 367, with limits $1,296 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 | 109th of 356, with limits $572 a month | 332nd of 356, with limits $1,296 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 | 105th cheapest of 343 $387 a month | 307th of 343, with limits $439 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 | 134th of 327, with limits $3,991 a month | 221st of 327, with limits $8,775 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 | 234th of 351, with limits $191 a month | 309th of 351, with limits $855 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 Both fit GPU eval jobs. Replicate ranks 19th at $1,338 a month and Cerebrium 24th at $1,975. boat is CPU only and has no rank here. | 28th cheapest of 102 $1,975 a month | 22nd cheapest of 102 $1,338 a month | 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 | Not ranked: misses a requirement |
Key features
| Feature | Cerebrium | Replicate | boat |
|---|---|---|---|
| What you get | Your own app, built from your code or a Dockerfile, served as HTTP or WebSocket endpoints | Tens of thousands of public models behind one API, plus your own models packaged with Cog | A full VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X or Ryzen 9 9950X), which you or an agent work inside |
| Ready-made models | None; you deploy your own model or app | Tens of thousands of community and official models for images, video, speech and text, plus fine-tuning | None; you bring the model API you call |
| GPUs | T4, A10, L4, L40S, A100, H100, H200, B200 and RTX PRO 6000, up to 8 per container, plus Inferentia2 and Trainium | T4, L40S, A100 80GB, H100 and H200, up to 8 per instance; most multi-GPU and all H200 need a committed spend contract | None, CPU only |
| CPU sizes | CPU containers sized by vCPU and memory, billed per second | CPU tiers of 1 vCPU / 2 GB and 4 vCPU / 8 GB | 2, 4, 8 or 16 vCPU (2 GB of RAM per vCPU); 16 vCPU needs the $100 plan or higher |
| Shell access | No SSH documented; you reach the app through its endpoints | No SSH documented; you call the model through the HTTP API or client libraries | SSH, root via sudo and systemd, like a normal Ubuntu server |
| Docker and nested virtualization | The app is the container; Docker inside and /dev/kvm are not documented | The model is the container; Docker inside and /dev/kvm are not documented | Docker inside, and /dev/kvm for Android emulators and VMs |
| Files after a stop | Files in the shared /persistent-storage volume stay (100 GB free, then $0.05 per GB a month); you bake packages into the image; other changes reset | No persistent disk documented; instances start from the image, so files that must last go to storage you set up. API inputs and outputs are deleted after an hour by default | Disk saved every minute and at each stop, kept at least 14 days after a stop; memory and /tmp are not saved |
| Fork and snapshots | No fork; an early-beta memory checkpoint speeds up new containers of the same build | No disk snapshot or fork documented; a deployment adds instances of the same image | Fork a running sandbox from its last 1-minute snapshot |
| Run time per job | A request times out at response_grace_period, 15 minutes by default; async runs go up to 12 hours | Each prediction times out after 30 minutes unless support raises it | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan |
| Scale to zero and wake | Apps scale to zero and start on the next request, up to your replica limit | Deployments scale to zero and start on the next prediction, between min and max instances you set | No wake on request; you start a stopped sandbox by API |
| Inbound access | One endpoint per app on one port; custom domains on Standard | One prediction API per model behind API token auth; no own IP or ports documented | Up to 50 HTTPS URLs, token-gated by default; SSH; a public IPv6 address; raw ports over IPv6 on sandboxes with no IPv4 of their own |
| Keeping API keys out of the machine | Secrets are exposed to the app as environment variables | Secrets are sent to the model as inputs and redacted from logs afterwards | Optional paid AI credentials proxy ($1 a day it is on, plus $1 per 1,000 requests) for supported providers; other secrets still enter the sandbox |
| Regions | US East, US Central, Stockholm and Finland, with 8 more on request | No region choice documented; infrastructure subprocessors listed in the United States | Germany, Finland and France; no region choice and no US or Asia region; snapshot copies can be stored outside the EU |
| Self-hosting | No | Cog is open source and its images run anywhere Docker runs | No |
Every feature Battleships tracks (43)
| Feature | Cerebrium | Replicate | boat |
|---|---|---|---|
| Full VM (own kernel) | No documented way | No documented way | Yes |
| Docker inside | Not published | No documented way | Yes |
| Nested virtualization | No documented way | No documented way | Yes |
| Root | Not published | Not published | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | No documented way | No documented way | Yes |
| Browser | With your own setup | No documented way | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | No documented way | No documented way | Yes |
| Persistent disk | Yes | No documented way | Yes |
| Pause/resume | No documented way | No documented way | Yes |
| Automatic snapshots | No documented way | No documented way | Yes |
| Fork/clone | No documented way | No documented way | Yes |
| Live fork (no pause) | No documented way | No documented way | Yes |
| Memory fork | No documented way | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | Yes | Yes | No documented way |
| Wake on request | Yes | Yes | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | Not published | Not published | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | No documented way | No documented way | No documented way |
| Secret proxy | No documented way | No documented way | Yes |
| Secret proxy for any API | No documented way | No documented way | Yes |
| Preinstalled agents | No documented way | No documented way | Yes |
| Agent harness API | No documented way | No documented way | Yes |
| MCP server | No documented way | Yes | No documented way |
| GPU | Yes | Yes | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | No documented way | No documented way |
| Self-hosting | No documented way | Yes | No documented way |
| BYOC | No documented way | No documented way | No documented way |
| Open source | No documented way | Yes | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Not published | Yes | Yes |
| Usage per sandbox (API) | Yes | No documented way | Yes |
| Audit logs | Yes | Yes | No documented way |
| SSO | No documented way | No documented way | No documented way |
| SOC 2 | Yes | Not published | No documented way |
| HIPAA | Yes | Not published | No documented way |
| EU data residency | Yes | No documented way | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Cerebrium and Replicate are not in the public benchmarks we use, so we cannot say which is faster at CPU work. Both are built for GPU inference, which this test does not cover. For reference, boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15 in StarSling's run of 3 October 2026 (run 37073680030). 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. Cerebrium and Replicate 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.
| Scenario | Cerebrium, a month | Replicate, a month | boat, 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 | $53 · Hobby · with limits | $57 · Usage · with limits | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $210 · Hobby · with limits | $237 · Usage · 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 | $2,557 · Hobby · with limits | $2,851 · Usage · 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 | $715 · Hobby | $1,620 · Usage | $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,681 · Standard | $3,580 · Usage | $8,800 · $2000/mo · with limits |
Cerebrium: Cerebrium bills per second for each vCPU, GB of memory and GPU while a container runs: $0.00000655 per vCPU-second and $0.00000222 per GB-second on the default tier. It does not bill the platform's cold-start time. The default tier can be interrupted; the protected tier costs 2x on all compute. Hobby is free plus compute; Standard is $100 a month plus compute.
Replicate: Replicate bills per second by hardware tier, from prepaid credit that expires after a year. The cpu tier (4 CPU / 8 GB) costs $0.36 an hour. Community public models bill only for active time, and official models bill per output. Private models and deployments bill setup, idle and active time.
Replicate: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A default sandbox (4 vCPU / 8 GB) costs $0.036 an hour, billed per second while it runs. A stopped sandbox has no compute charge; saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07 each. A card is required, also for the 7-day trial.
Limits in those scenarios
Neither fits the workday agent, the always-on agent or the 50-agent fleet as a work machine without your own setup. On Cerebrium, packages go in the image and files in /persistent-storage. Replicate documents no persistent disk, so files go to storage you set up. The fleet also needs Docker inside, which neither documents. Neither publishes an egress price, so the scenarios count none. For 1,000 short jobs at once both fit. boat has limits too. 1,000 starts at once do not fit even on the $2,000 plan: it includes 90 starts a minute, extra starts are paid, starts above 270 a minute fail with 429, and boat never queues a start. boat has no GPU and no US or Asia region.
| Scenario | Cerebrium | Replicate | boat |
|---|---|---|---|
| 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 |
|
|
|
Which one should you use?
Use Cerebrium when
you deploy your own model, voice or video app as an endpoint, need GPUs up to B200, or must run in the EU or Asia.
- Your own app, any shape. Teams with their own model or voice app can ship any Python code or Dockerfile as HTTP or WebSocket endpoints.
- Newer GPUs and more regions. Cerebrium adds B200, RTX PRO 6000 and Inferentia2, and runs in the US and the EU, with Asia on request.
- Longer async runs. Async jobs can run up to 12 hours, while a Replicate prediction stops at 30 minutes unless support raises it.
Use Replicate when
you want to call a ready model from a large catalog, fine-tune one, or package your own with Cog and keep the option to self-host.
- Tens of thousands of ready models. Teams that want an image, video, speech or text model without hosting it can call one with a single request.
- Pay per run on public models. Community models bill only for the seconds they run, and official models bill per output, which suits light or uneven traffic.
- Cog runs anywhere. Cog is open source and builds standard Docker images, so the same model can run on your own servers.
Where boat fits
Cerebrium and Replicate serve models; neither is a machine an agent works inside. If you run agents that install tools, run Docker and keep their files, boat gives each one a full VM. Your agent in boat can still call Cerebrium or Replicate for GPU work.
A whole machine with Docker and /dev/kvm
On Cerebrium and Replicate the app or model is the container, with no documented SSH and no documented Docker inside, so an agent cannot run docker build or an Android emulator there. boat gives root, systemd, Docker and /dev/kvm in every sandbox.
The disk stays, and you can fork it
On Cerebrium you keep files in /persistent-storage and packages in the image. On Replicate, files that must last go to storage you set up. boat saves the disk every minute and at each stop, keeps a stopped disk at least 14 days, and forks a running sandbox. Memory is not saved, and a machine failure loses writes after the last good snapshot.
Runs as long as you set
A Cerebrium request stops at 15 minutes by default and 12 hours at most for async runs, and a Replicate prediction stops at 30 minutes unless support raises it, so long agent tasks are split. On boat, auto-stop defaults to 1 hour, and on a paid plan you set up to 30 days or turn it off.
Use boat when your agents need a machine of their own: a shell, root, Docker, emulators and a browser, on a full VM whose disk is saved every minute and kept between runs. Compare it one to one: boat vs Cerebrium and boat vs Replicate.
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 Cerebrium cheaper than Replicate?
For the CPU setups on this page, yes. For sandboxes for your users, Cerebrium comes to $821 a month and Replicate to $3,705. For one 4 vCPU machine on all month, Cerebrium's interruptible tier comes to about $116 and Replicate's cpu tier to about $263. For GPU eval jobs, Replicate comes out lower at $1,338 against $1,975 a month. boat comes to $209 and $26 in the first two.
Which is faster, Cerebrium or Replicate?
Neither is in the public benchmarks we use, so we cannot say which is faster at CPU work. Both are built for GPU inference, and the GPU you pick matters more than the platform. For reference, boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB in StarSling's run of 3 October 2026, on an AMD Ryzen 9 9950X host.
Can Cerebrium or Replicate run Docker inside?
Both build your code into a container image, Cerebrium from your Dockerfile and Replicate with Cog, but neither documents running Docker inside it. A boat sandbox runs Docker, systemd and /dev/kvm like a normal Ubuntu server.
How long can a job run on Cerebrium and Replicate?
A Cerebrium request times out at 15 minutes by default, and async runs can go up to 12 hours. A Replicate prediction stops at 30 minutes unless support raises it. On boat, auto-stop defaults to 1 hour, and on a paid plan you set up to 30 days or turn it off.
Do Cerebrium and Replicate keep files between runs?
Cerebrium keeps files in its /persistent-storage volume, and the rest of the container resets. Replicate documents no persistent disk, and API inputs and outputs are deleted after an hour by default. boat saves the disk every minute and at each stop, and keeps it for at least 14 days while the sandbox is stopped.
Can I use Cerebrium or Replicate as a sandbox for AI agents?
Not in the usual sense: both run models or apps behind endpoints, with no documented SSH, desktop or agent harness. You can install an agent in your own image yourself. An agent can also work inside a boat sandbox and call either one for GPU work.
Try boat
Install the CLI, then run boat new.
7-day free trial