Usage and billing
Read the Billing page, a workspace's Usage tab, the plans and your monthly billing statements, and how compute is billed.
Your organization's Billing page shows what you've used this month so far, in dollars, before the month's statement is issued. Open it from Billing in the main menu, or from the Billing card on your organization's page: click View billing.
Billing in the main menu opens the billing page of your current organization. If Groundfloor can't tell which one you mean (you belong to several organizations and no workspace is selected), it lists your organizations so you can pick.
The figures on the Billing page are an estimate. They are priced the same way as a statement, so they show what the month's statement would say if usage stopped now. Usage is still counting, so the numbers change until the month closes.
Billing months
Every organization is billed by calendar month, from the 1st to the 1st, in UTC, on every plan. Each month has one statement, issued after the month ends.
A part month is a month that your organization wasn't billed for in full: it was created partway through the month, or it's the one-off short period when an existing organization moved to calendar months. For a part month the plan's base fee and included usage are pro-rated by days: billed days ÷ days in the month, rounded to the nearest cent (half a cent rounds up). Usage is always charged at the full rates, and the Free plan's usage allowance isn't pro-rated. The Billing page and the statement say, for example, Part month: 16 of 30 days, with the full and pro-rated amounts.
Who can see it
Only Owners, Admins and Billing admins of the organization can see the Billing page, a workspace's Usage tab and billing statements. Everyone else sees a short note instead. Everyone in the organization can see the Quota card.
What the Billing page shows
| Section | What's in it |
|---|---|
| Cost this month so far | Usage (everything used so far, before included credit), Included credit, Base fee and Total so far, with an Estimate badge and the date the figures were last computed |
| Current plan | Your plan, its monthly fee and the usage it includes, with a Compare plans link. See Plans |
| Free allowance | Free plan only: how much of the included usage you've used and how much is left, and the point at which services are stopped |
| Usage by workspace | Each workspace's usage so far, including a deleted workspace that used something this month. Click a workspace to open its Usage tab |
| Usage by meter | What the usage is made of (vCPU, memory, database and storage meters): the billable amount, the unit price and the usage amount |
| Billing statements | Your most recent statements. See Billing statements |
View usage charts at the top opens the Usage charts page. For a part month, a Part month line says how many days are billed.
Total so far is the base fee plus usage, minus the included credit, worked out the way a statement works it out. The included credit is the smaller of your usage and the usage your plan includes.
Incomplete figures
Sometimes Groundfloor can't read all of your Coderunner usage just now. The page then shows an Incomplete badge and a note, and the figures may be lower than the final amount. They are never higher. Refresh in a few minutes.
Workspace usage
A workspace's page has an Overview tab and a Usage tab. Usage shows that workspace's usage this month so far, with the same Estimate and Incomplete badges, grouped into Coderunners, Databases, Files and Disks. Each line shows the resource, the meter, the quantity, the unit price and the amount. A line can carry a note; see What the notes on a line mean.
The Usage tab shows the workspace's usage only. The base fee and the included credit belong to the organization, so they aren't split across workspaces. View usage charts on the tab opens the charts for this workspace.
Usage charts
On your organization's Billing page, click View usage charts to see your cost over time as stacked bars, with a table below.
| Control | Options |
|---|---|
| Monthly / Daily | Months or single days |
| Range | Monthly: Last 3 months, Last 6 months, Last 12 months. Daily: This month, Last 30 days, Last 90 days |
| Group by | Workspace, Meter or Resource |
| Workspace | All workspaces, or one workspace |
The page shows the total for the range, this month so far (marked estimated), and a Breakdown table for the range. For the whole organization it also shows Billed totals for range: the plan fee, the included usage and the total. A workspace view shows its usage only.
- Final or estimated. A month whose statement has been issued is Final — invoiced, and shows the statement's amounts. The current month, and a finished month whose statement isn't issued yet, are Estimated — not yet invoiced and can still change.
- Gross usage. Bars show usage before included credit. The base fee and included usage appear only in the totals.
- Times are UTC.
- Daily figures keep fractions of a cent, so the days add up to the month. They start from the day daily tracking began for your organization, and a note on the page says when. Earlier months have monthly figures only; switch to Monthly to see them. Daily figures are kept for 14 months. Monthly figures are kept for 7 years.
- Free plan. Amounts are labelled Usage value (Free plan is not charged): they show what the usage would cost, and nothing is billed.
- Some Coderunner usage can't be read just now: the current month may be lower than its final amount, and the page says so.
Only Owners, Admins and Billing admins can open it; see Who can see it.
Plans
Click Plans on the Billing card, or Compare plans on the Billing page, to see every plan side by side, with your current plan highlighted:
| Plan | Monthly fee | Usage included |
|---|---|---|
| Free | No fee | A monthly allowance; see the Free allowance card on the Billing page |
| Indie | $20 / month | $20 of usage |
| Business | $200 / month | $200 of usage |
| Enterprise | Agreed with Groundfloor | Agreed with Groundfloor |
Each plan also lists its limits (workspaces, services per workspace, databases, size per service and file storage). See Quotas and limits. The page ends with the Usage rates that apply on every plan, which are the rates in How compute is billed. Usage beyond what a plan includes is charged at those rates.
Free is never invoiced: its statements total $0.00, and the included credit covers all your Free usage. Free is limited by a usage allowance instead; see the Free allowance card on the Billing page.
To change plan, click Contact us to switch on the plan you want. It opens a billing support request already titled Change plan to that plan.
How compute is billed
Every Coderunner (Service, Function, Job or Schedule) is billed for the time each instance actually ran, at a CPU and memory size. Coderunner measures this; it isn't estimated from your settings.
| Resource | Rate |
|---|---|
| CPU | $20 per vCPU-month |
| Memory | $10 per GB-month |
| Storage | $0.15 per GB-month |
A month is 730 hours.
- Services that have scaled to zero cost nothing while idle. Instances above the minimum are billed while they run. A minimum above
0is billed all the time. - Functions are billed for the time their instances are up, not per request. After the last request a Function stays up for a minute or two before it scales to zero, and that time counts. Requests that run at the same time on one instance are billed once.
- Jobs and Schedules are billed from the start of the run's container to its finish.
- Resizing: a Service is priced at the size it had at each point, so earlier time in the month isn't repriced when you resize. Functions, Jobs and Schedules are priced at their current size when the month is computed.
- Managed databases and storage are unchanged: the size you reserved, for the time it existed.
Example. A Service with 0.5 vCPU and 1 GB costs 0.5 × $20 + 1 × $10 = $20 a month if it runs for all 730 hours. With a minimum of 0 that is busy 3 hours a day (about 90 hours a month), it costs 90 / 730 × $20 ≈ $2.47 a month. With a minimum of 1 it costs the full $20, because an instance is always running.
To pay only for the time you use, set the minimum instances to 0; see Resources and scaling.
Billing statements
Once Groundfloor issues a monthly statement for your organization, it appears on the Billing statements card on your organization's page, newest first. Click View statements to see them all, and click a statement to open it.
A statement shows the period, your plan, the Base fee, your Usage, any Included credit and the Total, then each workspace's usage line by line: the resource, what was measured, the billable amount, the unit price and the amount. Download CSV saves the lines with a summary. For a part month, the statement shows Part month: 16 of 30 days, with the plan fee and included usage as pro-rated and in full. The CSV has a flags column at the end that lists a line's notes, separated by ; (empty when a line has none); estimated is in it when the line is an estimate.
- Estimated usage: a statement can contain estimated usage; those lines are marked estimated.
- Notes on lines: a line can carry other notes, such as unattributed pods. See What the notes on a line mean.
- Storage: statements charge storage per GB-month at the storage rate: each file for its size over the time it was active, each managed database for its storage, and each Coderunner persistent disk for its size over the time it existed in the month. A disk is a line named after its Coderunner, such as
my-api disk. - Free is never charged: a Free statement totals $0.00. If Free usage went over the included amount, the statement says so with a note; nothing is billed.
- Void: a statement that Groundfloor voided stays in the list, marked void, and no longer applies.
- No statements yet: statements appear only once they've been issued for a completed month.
What the notes on a line mean
Lines on the Billing page, a workspace's Usage tab and a statement can carry short notes. They tell you when an amount rests on an estimate or a fallback. Hover over a note for its explanation. In the API and the CSV each note is a short code.
| Note | Code | Meaning |
|---|---|---|
| estimated | estimated | The quantity is an estimate, not a measured reading, so the amount may change |
| unattributed pods | pod_unattributed | Coderunner pod time that matches none of the workspace's Coderunners. It is billed at the default size |
| priced at current size | pod_size_from_manifest | No size history exists for this Coderunner, so its pod time is priced at the size it has now |
| unknown pod type | pod_type_unknown | A pod of a workload type the platform doesn't recognise. It is billed anyway |
| CPU size unreadable, memory size unreadable | cpu_unparsed, memory_unparsed | A size couldn't be read, so the default size was billed |
| CPU capped, memory capped | cpu_clamped, memory_clamped | A size above the billing ceiling was billed at the ceiling |
| replicas capped | replicas_clamped | The instance count was capped |
| duration capped | duration_clamped | A run's duration was capped |
| invalid reading | quantity_invalid | The measured quantity was invalid and counted as zero |
| quantity capped | quantity_clamped | The measured quantity was capped |
A note is information, not a charge. If a note on your bill surprises you, contact support with the statement and the line. Statements issued before notes existed show only estimated.
From code
GET https://platform.groundfloor.cloud/v1/accounts/{organization_id}/billing/current-period returns the Billing page's figures, and GET https://platform.groundfloor.cloud/v1/workspaces/{workspace_id}/billing/current-period the Usage tab's; here the organization's ID goes where the path says accounts. GET https://platform.groundfloor.cloud/v1/accounts/{organization_id}/billing/usage and GET https://platform.groundfloor.cloud/v1/workspaces/{workspace_id}/billing/usage return the charts' figures by month or day. GET https://platform.groundfloor.cloud/v1/accounts/{organization_id}/billing/summary returns a compute-unit summary of the last 30 days (set since_seconds; the most is 400 days). Statements are under GET https://platform.groundfloor.cloud/v1/accounts/{organization_id}/billing-statements. See the Billing API.