Skip to content

Plans and billing

Paid plans can be bought in the console, and through the API. A plan is on sale for a month or a year while GET /api/plans answers configured: true and lists a price for it; checkout has the last word (Upgrading). Where it answers configured: false there is no payment provider: every plan is listed without a price, the console shows no upgrade button, and the checkout, portal and sync endpoints answer 503 billing_unavailable.

Every new account starts on Nestling, which is free and has the smallest limits. Paying for Songbird or Flock raises them. What each plan allows and costs is served by the API — GET /api/plans (no sign-in needed) and the catalog on GET /api/billing carry every plan’s name, prices and limits, and GET /api/account carries the limits of your own plan under limits — from the same table the platform enforces, so the pricing page and the console show the numbers that apply rather than a copy of them. The console’s Settings → Billing tab (https://my.tori.host/settings/billing) lists the plans with those numbers: apps, custom domains, concurrent deploys and upload size, previous static deploys kept for rollback, database size and connections, and build time. tori whoami (from tori.host 0.21.2) prints the same numbers for your own plan, and the MCP tool tori_account returns them to a coding agent.

Prices in the catalogue are flat, in euro, and without VAT. Checkout adds the VAT of your country and shows the total before you pay: a plan listed at EUR 9 is charged as EUR 10.89 to a consumer in the Czech Republic, where the rate is 21 %. A business in another EU member state that enters a valid VAT ID at checkout is charged the listed price, without VAT, under the reverse-charge rule. A Czech business is charged Czech VAT whatever its VAT ID, because the sale is domestic.

Nothing is billed by use, and there are no overage charges.

Those terms come from the same table as the limits, so each catalog entry states them too:

  • billing.taxInclusive says whether VAT is inside the listed prices. It is false: the prices are net and checkout adds VAT, as above.
  • billing.overage is "none": nothing is billed by use and nothing is billed beyond the plan’s price. An app that reaches a limit is held there — a deploy or an upload past the cap is refused, and a service at its CPU ceiling runs slower — rather than charged for the excess.
  • limits.minScale is the number of instances an app of that plan keeps running when idle. 0 means the app scales to zero and the first request wakes it.
  • limits.rollbackDeploys is how many previous static deploys of each app keep their files for rollback, on top of the live one. Older deploys stay in the history, but their files are removed and they cannot be rolled back to (Deploys).

The pricing page shows the “Flat” and “No meter” labels only while every plan’s entry says so. VAT is not a label: while a plan’s entry says its prices are without VAT, the page prints “+ VAT” beside each of that plan’s prices.

The number of apps is checked when an app is created, and only then. An account that already holds more apps than its plan allows — because a paid plan ended, or because a plan’s own limit became smaller — keeps every one of them. What is refused is creating another, and deleting down to the limit does not free a place: there is room again only below it. Deploying to an app you already have is not a new app, so the count does not stop it; the plan’s other limits and a payment hold still can.

That rule is about the app count alone. Other limits do reach what an account already has. When the plan changes, a running service is given the new plan’s size (Plan changes), and a managed database that holds more than the new plan’s storage becomes read-only. Fitting exactly is not enough to write again: writes come back once the database is far enough under the plan’s storage, or the plan is raised far enough above what it holds. Managed Postgres gives the threshold and how to shrink a database that cannot be written to.

In the console, open Settings → Billing, pick monthly or yearly, and press Upgrade to Songbird or Upgrade to Flock. The console sends the browser to a Stripe-hosted checkout page. The card details are entered there and never reach Tori. After payment the browser comes back to that tab, which refreshes the account and confirms the new plan: it applies at once. Backing out of the checkout page returns you to the console with nothing charged.

Through the API the same flow is POST /api/billing/checkout with a body of { "plan": "songbird", "interval": "month" }; the response carries the url to open. See the API reference.

An account that already has a subscription cannot start a second checkout (409 already_subscribed). Plan changes go through the portal below.

Tori starts a checkout for a plan only on the terms the plan catalogue states for it. If the price held at the payment provider does not match them — its tax behaviour, or a meter where the plan has none — the plan is listed without that price, the console offers no upgrade button for it, and the checkout answers 503 plan_unavailable. Nothing is charged, and a checkout page you already had open is left as it was. It is a fault on our side and is corrected there; the other interval, and the other plan, stay on sale meanwhile. The pricing page shows such a plan by its other interval, or as not on sale at the moment, never as free.

This covers the checkouts Tori starts: an upgrade from the console or the API, and a domain purchase that also buys a plan, from the console, the CLI or the API. A plan change made in the billing portal, below, is offered by the payment provider from a list kept there.

Settings → Billing → Manage billing opens the Stripe billing portal for the account. There you can:

  • switch between Songbird and Flock, and between monthly and yearly. An upgrade applies immediately with a prorated charge; a downgrade or a move to a shorter interval takes effect at the end of the period you have paid for. Running services are redeployed with the new plan’s resources within about a minute of the change (Deploy a service);
  • update the card, the billing name and address, and the VAT ID;
  • download every invoice;
  • cancel. Cancelling stops the next charge; the plan stays until the end of the paid period and the account then returns to Nestling. Settings → Billing shows the day it ends in place of the day it renews. No e-mail to support is needed.

The upcoming release will show your recurring subscription price next to your current plan in Settings → Billing. If your subscription retains an earlier price after a catalogue change, Billing shows that price when Tori can identify it. A + VAT mark appears when the price specifies that VAT is added. Your invoices show your final charges including any applicable VAT, discounts, and prorations. The upcoming tori whoami and tori_account will also report this price for your current plan when the API provides it.

Through the API, POST /api/billing/portal returns the portal url.

Every charge produces an invoice with a sequential number, the VAT rate that applied, and Fortion Networks s.r.o. as the seller. Invoices are listed on Settings → Billing and on GET /api/billing, with a link to the hosted invoice and to the PDF. These are your plan’s invoices. Invoices for domain names you buy or renew through Tori are listed on their own, on the console’s Domains page and by GET /api/domains/invoices (see Domain invoices); one checkout that bought a plan and a name together is in both lists. On a control plane that sells no domains, Settings → Billing lists the 24 newest invoices of any kind, domain invoices among them; older ones are in the billing portal where a payment provider is configured. A refund, when one is issued, is a credit note against the invoice rather than a bare card refund, so your records and ours keep matching.

Stripe retries the card over several days and e-mails you each time. What happens on Tori’s side is a ladder with dates, counted from the day the first attempt failed, and every step of it is undone the moment the open invoice is paid:

When What
The payment fails You are told, in the console and by mail. Nothing changes: your apps serve and you can deploy.
7 days later New deploys are refused (402 billing_hold from the API, with the dates). Everything keeps serving. Rollbacks still work.
14 days later Every hostname of every app on the account stops serving. A visitor gets the 404 page of an address with no app, which does not say why. Nothing is deleted.
30 days later Your deploy artifacts become eligible for reclamation. Today nothing acts on that date; it will be announced before anything does.

The console shows the subscription as payment failed — retrying and names the two dates. If every retry fails, Stripe marks the subscription unpaid and the account falls back to the Nestling limits as well: anything above the Nestling caps — a new app, a larger upload, another custom domain — is refused until the subscription is paid. The console says so and points at Manage billing; paying the open invoice there restores the plan, the deploys and the serving without any further step.

Through the API, GET /api/billing carries the ladder under hold: the since date, the current stage and the date each step applies. It is null when nothing is outstanding.

In the upcoming CLI release, tori whoami will show a reported billing hold after the plan limits, with the current stage, the UTC time of the next change when applicable, and where to find Settings → Billing in the console. The read-only tori_account MCP tool will also return the hold stage, dates, and message in its structured output. If the CLI warns that it could not read the hold status or details, check Settings → Billing before deploying. The warning does not establish whether deploys are allowed.

GET /api/billing returns the account’s plan, the subscription it comes from (status, interval, current period, whether it is set to cancel at period end) and the account’s 24 newest plan invoices. The upcoming release will add subscription.price with the recurring plan line amount in the payment provider’s charge units, its currency, and taxInclusive (true for VAT-inclusive, false for VAT-exclusive, or null when unspecified). Divide amount by 10 raised to amountDecimals to get the amount in major currency units. The price is null when unavailable in the mirror. Domain invoices are listed by GET /api/domains/invoices. On a control plane that sells no domains, which answers that list 503, they are the 24 newest invoices of any kind. It reads Tori’s copy of that state; POST /api/billing/sync refreshes the copy from Stripe first and returns the same shape. The console calls sync when you return from checkout.