Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,113 of 9,113 pages
About the help in other languages
All help pages

Billing and metering options

Billing models a host can choose for Exponential hosting (flat, tiered, usage based, per site, per service) and what the server and Exponential can actually measure for each: disk, database size, requests, workers…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/hosting/business/billing-and-metering-options.md

On this page

Billing and metering options

This page is for product managers and finance staff at a hosting company who decide how Exponential hosting is billed, and for system administrators who must deliver the numbers. It answers: which billing models fit, and what can be measured reliably for each.

There are no prices on this page. Exponential has no license fee to pass on: "Using Exponential under the terms of the GNU GPL is free of charge" (README.md). What you bill is your infrastructure and your work.

Contents

  1. Billing models
  2. What you can measure
  3. Measuring disk use
  4. Measuring requests
  5. Measuring the database
  6. Billing for services
  7. Questions to settle before launch

Billing models

ModelHow it worksSuitsWatch out for
Flat per planone fixed price per period and planshared and VPS planslimits must be enforced, or heavy sites subsidize by light ones
Tieredplans step up by storage, workers or environmentsmost offersdefine what happens at the limit: upgrade, throttle or notify
Usage baseda base fee plus measured use (storage, requests, backups)large or variable sitescustomers need to see the meter; disputes need logs
Per sitea price per Exponential installation, regardless of sizeagencies with many small sitesa multisite installation serves several sites from one installation; decide how you count it
Per servicehosting plus separately billed services (updates, migrations, support hours)managed planswrite the scope of each service down

Note

One Exponential installation can serve several sites through siteaccesses (Multisite on one installation). If you bill "per site", say whether you mean per installation, per domain or per siteaccess.

What you can measure

QuantitySourceReliable for billing?
Disk use of uploads and image variationsthe size of var/storage (or the cluster storage)yes
Disk use of caches and logsvar/cache, var/log and the per-site directories under var/yes, but caches are rebuilt and shrink; bill storage on var/storage
Database sizethe database engine's own tools; for SQLite 3 the size of the database fileyes
Requeststhe web server's or Velocity's access logyes, if the log is complete and rotated without gaps
Engine workersWorkers in settings/velocity.ini ([ServerSettings], shipped Workers=4), or pm.max_children of the PHP-FPM poolyes, as a plan property
Backup volumeyour backup systemyes
CPU timeoperating system accounting per system user or containerdepends on your platform

Measuring disk use

Measure the directories that hold customer data, at a fixed time each period:

du -s --block-size=1M /var/www/vhosts/<domain>/<installation>/var/storage

Where a site is clustered, the files are in the cluster storage instead; measure there (Clustering and shared storage).

Measuring requests

  • Apache or nginx: the access log of the virtual host.
  • Velocity: its own access log, one line per request. [LogSettings] in settings/velocity.ini switches it on (Enabled=enabled, the default), keeps it under Dir=var/vc/qbix/log, names it after the default siteaccess (site-access.log) and writes the combined format by default, "what Apache and nginx write, for tools that read those". The same tools you use for Apache logs can count it.

Warning

An access log names the people who visited. Velocity writes it with FileMode=0640 for that reason. Use the counts for billing; do not hand raw access logs to third parties. See Compliance and GDPR.

Exponential's own request logs (404.log, security.log) are for diagnosis, not billing: they record only not-found answers and suspicious requests (Request logs).

Measuring the database

Database (official order)How to read its size
1. SQLite 3the size of the database file
2. PostgreSQLthe server's database size functions
3. MongoDBthe server's database statistics
4. MariaDBthe server's table status / information schema
5. Oraclethe server's segment sizes for the schema
6. MySQLthe server's table status / information schema

Where the database lives on a shared server, measure per database (or schema) and keep the measurement with the invoice. More on each engine: Database support.

Billing for services

Services that have a natural unit:

ServiceUnit
Installation of a new siteper installation, see One-click installers
Migration of a customer siteper project, after an assessment, see Migrating customers
Managed updatesper period, see Automated updates with ezupdate
Restore on requestper restore, or included up to a number per period
Support beyond the tierper hour, see Support tiers

Questions to settle before launch

  1. What happens when a site reaches a limit: notice, automatic upgrade, or throttling?
  2. Which measurement is authoritative when the customer disagrees, and how long do you keep it?
  3. Do backups count toward the storage quota?
  4. Is a staging installation billed as a second site?
  5. Does a multisite installation count as one site or several?
  6. Are caches counted in storage? (Recommendation: no; they can be cleared and rebuilt.)

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x