Cosmoner Docs
Pricing

Apps Pricing

How web services and static sites are priced, and what a build costs.

Apps use two different models depending on what you deploy.

WhatRateDetail
Web servicePer instance sizeEach size carries its own monthly price, covering vCPU, memory, and a bandwidth allowance
Static siteUSD 3 / monthFlat rate per site, CDN delivery included
Builds and deploysUSD 0Not metered — deploy as often as you push
Pull request previewUSD 0.01 / hourPer preview of a web service, while it runs. Beta, GitHub repositories only
Static site previewUSD 0.005 / hourPer preview of a static site, while it runs. Beta, GitHub repositories only

Web services

A web service is priced per instance size. Each size fixes three things:

  • vCPU
  • memory
  • a monthly bandwidth allowance

The size's monthly price covers all three. There is no separate meter for CPU time, requests, or bandwidth within the allowance.

Each instance is billed at the size's price. A service running three instances of a size pays that size's monthly price three times.

The deploy wizard lists every size with its monthly price, and shows the prorated amount you will be charged today, for every instance, before you confirm.

Changing the instance count

Adding instances on the app's General tab charges for them when you save, for the rest of the current period. If the payment method is declined, nothing is changed. Removing instances stops their charge, and the unused part of the period comes back as credit on future invoices.

Changing size

Moving a service to a different size changes what it costs from that point on, for every instance it runs. The charge is adjusted against the current period rather than restarting it, so you are not billed twice for the same days.

To change size, open the app's General tab and select Change next to Plan. The plan page shows what moving to each size costs right now, so you can compare sizes without committing to one.

Confirming the change charges the amount shown and restarts the app on the new size, every instance it runs. A larger size needs room to run on. If there is none right now, the plan page says so instead of showing a price, and nothing is charged or changed: choose a smaller size or try again later. Moving to a smaller size is always possible.

You can also change size through the Apps API or with cosmoner apps resize.

Static sites do not run on a sized instance, so they cannot be resized.

Static sites

A static site is a flat monthly price regardless of traffic or the number of files. CDN delivery in front of it is included — there is no separate delivery meter as there is for object storage buckets.

Builds and deploys

Building an image and rolling out a release are not metered. Deploy as often as you push; only the running instance is billed.

A build that fails does not create a billable resource.

Pull request previews

Pull request previews are billed by the hour while they run, for each preview, at the rates in the table above: one rate for a preview of a web service and a lower one for a preview of a static site. Two previews running for an hour are two preview-hours.

  • Previews are in beta, for apps built from a GitHub repository.
  • They are off until you turn them on, and the price is shown before you do. Nothing is charged until a preview runs.
  • A preview is billed from its first successful deploy until it is removed. A build that fails before the preview ever served costs nothing.
  • Merging or closing the pull request removes its preview. Turning previews off, deleting the app, or removing the GitHub connection from the project removes all of the app's previews, which stops the charge.

Preview-hours appear on your invoice as Pull request previews and Static site previews. See Billing in the previews guide.

What stops the charge

Deleting the app. A stopped or failed app still holds its instance, so it is still billed — see How Pricing Works.

Deleting an app credits back the unused part of the period, as described under Removing Resources and Credits.

On this page