Docs / Administration

Billing and usage

Understand hosted plans, trials, usage, and limits. Self-hosted instances have no billing restrictions.

Overview

Billing applies only to the hosted service. Self-hosted Datum is free under the AGPL. It has no checkout, subscription, or billing restrictions.

Hosted plans include Starter and Pro. Both combine a platform subscription with included events and additional usage charges. Both include unlimited seats, all connectors, sinks, destinations, REST, CLI, MCP, and analytics.

Pro provides a larger allowance and lower additional-usage rate. Polar maintains prices and acts as the merchant of record. No free hosted tier exists. Neither plan adds features that Datum has not built, such as SSO.

Basics

Start a plan

  1. Open Settings → Billing as an owner.
  2. Select Starter or Pro under Plan.
  3. Select Start the 14-day trial.
  4. Complete Polar’s checkout.

Checkout requires a card but charges nothing before the trial ends. Manage subscription and Invoices open Polar’s pages. Polar manages cards, plans, invoices, and cancellation. Datum never receives card numbers.

Members can read Billing. Only owners can use its action buttons.

Plan status

Status Meaning Write access
No subscription The workspace has never subscribed. No
Trial The workspace is within its 14-day trial. Yes
Active Payment covers the current subscription. Yes
Payment failed Polar is retrying a failed charge. Continues for 14 days after the paid period ends.
Cancelled The subscription ended, or the trial ended without payment. Continues for 14 days after the paid period ends.

When a plan lapses

Fourteen days after a plan ends, the workspace becomes read-only. Searches, reads, exports, and the web app remain available while the service operates. Merges, review decisions, tags, segments, and incoming data pause. A banner explains the restriction.

Datum never deletes data for non-payment. Payment restores processing from its previous state.

The following operations remain available:

  • API keys: creation and revocation support continued data access.
  • Billing: checkout and subscription management permit payment.
  • Erasure: erasure requests remain available regardless of payment status.

Rejected writes return 402 with PAYMENT_REQUIRED and a link to Settings → Billing. Report this condition instead of retrying the write.

Usage

Usage measures incoming and outgoing data rather than community size.

Category Billable operations
Incoming events New activity and profile facts from webhooks or pushes. Paged sources count after their first complete import.
Outgoing events Successful routing posts, member cards, sink writes, and each event’s first delivery to each destination.

The first complete source import and sink backfills are free. Presence, reads, SQL, matching, and your enrichment are also free. Failed and skipped deliveries do not count.

Counts refresh at 00:40 and 12:40 UTC. Calendar-month estimates are not invoices. Polar calculates the bill. See Usage.

Set a usage cap

  1. Open Settings → Billing as an owner.
  2. Find Usage.
  3. Enter Monthly overage event cap.
  4. Set Alert fraction.
  5. Select Save usage limit.

An empty cap removes the limit. Zero permits only included usage. The default alert fraction is 0.8. Each warning and cap notification emails every owner once per month.

At the cap, ingestion, routing, sink writes, and new destination deliveries wait in the queue. Raising the cap or starting a new month releases them. Webhooks still accept and retain incoming data.

Reads, exports, matching, tags, segments, and the app remain available. Usage caps never return 402. Usage can exceed the cap between the twice-daily refreshes.

When billing is off

Self-hosted instances, and the hosted service until sign-ups open, show Settings → Usage instead of Billing. The page has no plan, trial, subscription, or usage-cap controls. It shows:

  • the month’s Thread tone and Matching judgments calls,
  • a month picker, with incoming and outgoing event counts and free backfill events for that month,
  • a Daily data movement chart.

These counts impose no plan, cap, or write restriction. ocmgr billing status --json reports billing as off.

From your terminal or agent

ocmgr billing status --json
ocmgr usage --json
ocmgr workspace settings set --usage-cap-events 10000 --usage-alert-fraction 0.8 --json

The billing field in workspace_stats reports current write access. Checkout and the billing portal require a browser. No MCP tool opens either page.

FAQ

Two owners clicked Start the trial. Are we paying twice?

No. A workspace with a trial or active plan cannot start another checkout. Datum directs the owner to the portal.

What happens to my data if we stop paying?

The data remains readable and exportable while the service operates. Only writes pause.

Does a self-hosted instance contact OCMGR for billing?

No. Billing-disabled processes have no billing client.

Set a cap with an agent

get_workspace_settings always returns usageCapEvents and usageAlertFraction, with defaults of null and 0.8. When billing is off, Datum refuses changes to usage limits. The settings do not turn on billing.

{ "name": "set_workspace_settings", "arguments": { "usage_cap_events": 10000, "usage_alert_fraction": 0.8 } }