Snapwake

DocsYour account

Usage, plans and limits

During the beta

Nothing is charged. Every organization is on the beta plan, which includes $10 of usage each month. The console's Usage page shows what your usage would have cost at the prices below, so you can see what Snapwake would cost you before it costs anything.

If your organization uses up the $10 before the month ends, its apps sleep until the 1st of the next month (see When you run out). If you need more for your project, write to us; we can add credits.

Prices

What Price Counted as
Memory $6.48 per GiB-month the memory your app's VMs actually use, only while they are awake
CPU $19.44 per core-month the CPU time your VMs actually spend, not the time they are awake
Stored versions $0.05 per GiB-month the files of your apps' current versions (image and snapshot) as they take space on disk
Volumes $0.15 per GiB-month the space the data on your volumes takes, both copies together
Traffic $0.01 per GB the bytes your apps send in responses through Snapwake
Builds free counted in minutes

A month in these prices is 30 days. Memory is counted per page your app actually touched, so a VM with a 1 GB ceiling that uses 180 MB is billed for 180 MB. A sleeping app uses no memory and no CPU; it costs only the storage of its current version, usually one or two cents a month for a small app.

An example. A 512 MB app that is awake two hours a day and uses 20% of a core while awake:

  • memory: 0.5 GiB × 2/24 × $6.48 = $0.27
  • CPU: 0.2 × 2/24 × $19.44 = $0.32
  • about $0.60 a month, plus storage and traffic.

Usage is measured on the servers every 10 seconds and reported in 5-minute slices, so the Usage page trails the present by a few minutes.

Plans

The beta plan is what everyone has now. These plans are what we intend to offer when payments start. We will give a month's notice before any price changes.

Hobby Beta (now) Pro Team
Monthly fee $0 $0 $10 $49
Usage included each month $1 $10 $10 $49
Usage beyond that no, apps sleep no, apps sleep charged to your card, up to your spend limit charged to your card, up to your spend limit
Default spend limit $50 $500
Apps 10 25 100 500
Memory per VM 256 MB 2 GB 8 GB 16 GB
VMs per app 1 4 16 64
Volumes per app, in total 512 MB 10 GB 100 GB 1 TB
Always-on (min above 0, workers without a queue) no yes yes yes

Hobby also has monthly quotas: 50 GiB-hours of memory, 10 CPU-hours, 100 build minutes and 10 GB of traffic.

The limits are checked when you create or change an app: a deploy or snapwake scale that doesn't fit gets 402 with the reason. After a move to a smaller plan, apps beyond the plan's number of apps keep running and can still be changed, but every change must fit the new plan's other limits: a 512 MB app on Hobby gets 402 on its next deploy until you pass --mem 256.

On Hobby, pass --mem 256 on your first deploy (the default is 512 MB), and with --sqlite /data/app.db add --volume db:/data:512, because the volume --sqlite makes on its own is 1 GB.

How usage is paid for

In this order:

  1. the usage included in your plan this month (it doesn't carry over);
  2. credits, which don't expire;
  3. on Pro and Team, usage beyond that, added to the month's invoice, up to your spend limit.

On Pro and Team you set your own spend limit on the Usage page.

When you run out

Your organization is paused when the month's included usage and your credits are used up and you are on a plan without charges beyond that, when charges beyond that have reached your spend limit, or when a Hobby quota is used up.

Within about 30 seconds:

  • every awake VM of your apps goes to sleep, even if it is busy, including workers (apps with volumes keep their state, as in normal sleep);
  • requests don't wake your apps; they get 402 with <app> is paused: its account reached its limit for this month;
  • scheduled jobs don't run;
  • new versions aren't built; deploys get 402.

Nothing is deleted. The pause ends on the 1st of the next month, or as soon as credits are added, the plan changes, or the spend limit is raised; the next request then wakes the app as usual.