Choose a workspace size

A Workspace's size sets the memory, CPU, and storage that all of your apps, workers, and databases share. Start with a quick estimate, then deploy. Tokay measures actual usage and tells you when it's time to move up.

Last updated

AI agent? Start with llms.txt.

Workspace sizes

Size Price per Workspace vCPU Memory NVMe storage
Free $0, one per account 2 2.5 GB 20 GB
Small $30/month 4 8 GB 60 GB
Medium $60/month 8 16 GB 120 GB
Large $120/month 16 32 GB 240 GB

Each price covers everything in the Workspace, including traffic, managed databases, backups, and team seats. Workspaces scale beyond Large by request, up to 3 TB of memory and 384 CPU threads. Write to hello@tokay.io and we'll set one up.

Size by memory first

Most apps run out of memory long before they run out of CPU, so memory is the number to plan around. Every Service and database in your Workspace shares that memory, even across different Projects. Apps that do heavy computation, like video processing, may need more CPU.

Storage is separate. It holds your databases and the files your app saves, like user uploads. The Usage page shows how much storage each Service and database uses.

Add up what you need

  1. Start with 0.5 GB for Tokay's routing, logs, and health checks inside your Workspace.
  2. Add the memory each Service and managed database uses on a normal day, counting each copy of a Service separately.
  3. Multiply the total by 1.25 for headroom.
  4. Choose the smallest size whose memory covers the result.

Treat 1.25 as a rule of thumb. If your apps have big spikes, like large imports or batch jobs, leave more headroom.

You don't need to save room for deploys. In a zero downtime deploy, the new version starts beside the old one. Tokay adds temporary memory on top of your size for that overlap, so the rest of your apps keep what they have.

Sizing examples

A Next.js app with a background worker and PostgreSQL adds up like this.

Part Memory
Tokay 0.5 GB
Next.js web app 0.3 GB
Background worker 0.15 GB
PostgreSQL 0.15 GB
Total 1.1 GB
With 25% headroom 1.4 GB

Free's 2.5 GB covers 1.4 GB, so Free fits.

A bigger stack, like a Rails app with Sidekiq, PostgreSQL, and Redis, needs more.

Part Memory
Tokay 0.5 GB
Rails web app with three Puma workers 0.9 GB
Sidekiq 0.4 GB
PostgreSQL keeping more data in memory 0.5 GB
Redis 0.1 GB
Total 2.4 GB
With 25% headroom 3 GB

Free's 2.5 GB is too small for 3 GB, so Small fits.

These figures are rough estimates. Real apps vary, so treat your first size as a starting point and measure once you've deployed.

Measure after you deploy

Once your apps are running, real numbers take over from the estimates. Tokay measures what each app actually uses, so you can see how much room is left and when a bigger size makes sense.

  • Each Project's Usage tab shows the memory used by every Service and database in the Project.
  • Your Workspace's Usage page shows the whole machine, and recommends a bigger size when your apps run short of memory.
  • AI agents get the same numbers from the get_usage tool, along with the biggest memory users and how much headroom is left.

To move up, choose Change size in the Billing section of your Workspace page. Tokay applies the new CPU, memory, and storage with a short, controlled restart. Your apps, data, and settings come along, right where you left them.

Next steps

  • Your server explains how Projects share the machine and what happens when apps run out of memory.
  • Tokay MCP server lists the tools your AI agent uses, including get_usage.
  • Pricing shows every size and what each one includes.