Skip to content
Opod

Control plane

Licensing

The free tier, licence keys, grace, burst headroom and several cells. A licence limits new placements only and never stops a running endpoint.

In short

opod is free up to 4 GPUs in total, with every feature. A licence key raises that number. The key is a signed text string that the control plane checks offline: nothing calls us, ever. A licence only limits new placements: when a key expires or is exceeded, everything that runs keeps running, and only the next GPU beyond the limit is refused with E-LICENCE.

When you need it

  • You want to run opod on more than 4 GPUs.
  • A placement was refused E-LICENCE.
  • Your key is about to expire, or the console says grace.
  • You run several cells and want one key across them.
  • You must explain to procurement what happens when a licence lapses.

Do it

  1. Check the key before you install it

    The opodcp binary evaluates a key exactly as a control plane would, for the cell name you give:

    docker run --rm -i ghcr.io/opod-io/opodcp:0.3.6 licence inspect --cell prod - < customer.key
    {
      "token": { "v": 1, "id": "lic_…", "org": "Example Corp", "cell": "*", "maxGpus": 16, "plan": "team",
                 "issuedAt": "2026-10-31T00:00:00Z", "expiresAt": "2027-10-31T00:00:00Z" },
      "tier": { "plan": "team", "maxGpus": 16, "source": "key", "state": "valid", "org": "Example Corp",
                "tokenId": "lic_…", "expiresAt": "2027-10-31T00:00:00Z", "graceUntil": "2027-12-30T00:00:00Z",
                "detail": "team plan · 16 GPUs · expires 2027-10-31" }
    }

    tier.state must be valid. wrong-cell means the key is bound to another cell name: check --cell.

  2. Install it

    Use one of the three ways below: Helm, the API or the console.

Pick one. A key installed through the API outranks the chart values. The change is live: no restart and no pod roll.

kubectl -n opodcp create secret generic opod-licence --from-file=key=customer.key
helm upgrade opodcp oci://ghcr.io/opod-io/charts/opodcp -n opodcp --reset-then-reuse-values \
  --set licence.existingSecret=opod-licence

licence.key takes the key inline instead; the chart then stores it in Secret <release>-opodcp-licence.

Check it worked

export H="Authorization: Bearer $(kubectl -n opodcp get secret opodcp-admin -o jsonpath='{.data.token}' | base64 -d)"
curl -s -H "$H" https://cp.example.com/api/v1/licence \
  | jq '{state, plan, maxGpus, detail, cellGpus, licensedGpus, unlicensedGpus}'

A good answer has "state": "valid", your maxGpus, and unlicensedGpus: 0. The console's License & census page shows the same, and the doctor's licence row is ✔.

If it fails

AnswerCauseFix
error: token signature does not verify against any known opod key from licence inspectthe key was edited, cut short, or is not an opod keycopy the whole key again from the email, or ask support@opod.io for a copy
error: not an opod capacity token (expected the opod1. prefix)the file holds something elsecheck that the file starts with opod1.
"state": "invalid-key"the installed key does not verifydetail names the reason; install the right key
"state": "wrong-cell"the key is bound to another cell nameinstall a key for this cell, or ask for one with cell: *
"state": "grace"the key expired and grace runsinstall the renewed key before graceUntil
A placement refused E-LICENCEit would land beyond the licensed GPUsinstall a larger key; nothing running stops meanwhile
PUT /api/v1/licence answers 403the caller is not an adminuse an admin token

How licensing works

The control plane is free up to 4 GPUs in total, summed across every cell. A licence key raises that number. The key is a signed string the control plane checks offline: nothing calls us to start, serve or check it.

The rules

  1. One number is licensed: GPUs. A key carries maxGpus. CPU, memory, endpoints, requests, tokens and users are not metered.
  2. The limit gates new placements only. A placement on a GPU beyond the licensed count is refused with E-LICENCE and a remedy. Running workers are never stopped.
  3. Expiry has a grace period. After expiresAt the key keeps its full ceiling for graceDays (default 60). After grace, new placements fall back to the free tier.
  4. No remote kill. Nothing in the request path checks a licence, and the control plane makes no licence call to anyone.

What happens around a licence's expiry date

Day +20 · GraceNew work: Up to the licensed GPU count (banner shown)Running endpoints: keep serving

The free tier

With no key the control plane runs the full product up to 4 GPUs in total. It is not a trial and no feature is held back. Fleet mode is open to the free tier.

What a key holds

A key has the form opod1.<payload>.<signature>: a base64url JSON payload and a base64url Ed25519 signature over it. The control plane verifies the signature against public keys built into its binary.

FieldMeaning
idthe licence id (lic_…)
orgyour organisation
cellthe cell name the key is bound to; empty or * means any cell
maxGpusGPUs allowed, summed over every cell that carries this key
planthe plan name, for example team or enterprise
issuedAt, expiresAtthe validity window
graceDaysdays of full ceiling after expiry; 60 when absent

States

GET /api/v1/licence and the console's License page show one of these states:

StateWhenGPUs for new placements
freeno key installed4
validthe key verifies, the cell matches, not expiredthe key's maxGpus
graceexpired, inside graceDaysstill the key's maxGpus
expiredgrace is over4
wrong-cellthe key is bound to another cell name4
invalid-keythe signature does not verify (edited, truncated, wrong product)4

A bad key never stops the control plane: wrong-cell and invalid-key fall back to the free tier. Read detail after you install a key — it names the reason.

How the ceiling is applied

The ceiling is spread over nodes in enrolment order: the oldest node first (by creation time, then name) takes its GPUs until the ceiling is reached. A plan whose worker would land on a GPU beyond that line is refused. GET /api/v1/licence lists cellGpus, licensedGpus, unlicensedGpus and each node's licensed count.

Burst headroom

A paid key may run a little over its ceiling for a short time, so a night-time burst is not refused at 02:00.

  • The headroom is 10 % of maxGpus, rounded up.
  • It applies to a key in state valid or grace. The free tier has none.
  • The window is 72 hours from the first placement that used it. After that, new placements are held to maxGpus.
  • It re-arms after the cell has spent 30 days back inside its ceiling.
  • When the window closes, nothing running is touched.

GET /api/v1/licence and the License page say when a cell is bursting and until when.

Several cells

A key counts GPUs summed over every cell it is installed in. Install the same key on each cell. A cell sees only its own GPUs, so on its own it checks those against the key. A fleet control plane reads every cell, adds them up per key, and tells each cell every 30 s whether the sum is over:

  • Told over: the cell refuses new placements beyond the GPUs it holds now (E-LICENCE, the remedy names the fleet). Running workers never stop. A plan that keeps or shrinks what it holds still applies.
  • Told within, never told, or the fleet is gone: the cell keeps the last fact it was told and its own local check.

GET /api/v1/licence carries the last fact as fleet, and the metric opodcp_licence_fleet_over is 1 while it says over. A cell that is never joined to a fleet cannot see other cells, so only a fleet enforces the sum.

Version

The sum across cells and fleet mode are new in 0.3.0.

One key, several cells

GPUs in use per cell, against the key's ceiling

14 of 16 GPUs used across the cells. New placements are allowed while the sum stays under the ceiling.
The sum across cells and fleet mode are new in 0.3.0.
aurorazenithcell-c

Metrics

SeriesMeaning
opodcp_cell_gpusallocatable GPUs in the cell
opodcp_licence_max_gpusthe current ceiling
opodcp_licence_fleet_over1 while the fleet says the key's cells are over it

Buying and renewing

To get a licence, write to support@opod.io with the GPU count you run, or use the contact form. We reply within one business day with a quote, send the key by email, and invoice you. Install it as above.

planned Self-serve checkout on Pricing and a licence portal that keeps every key you own.

  • Renewal: each paid period we re-sign the key with the same licence id and a later expiry, and email it. Install the new key as above. The id never changes, so the fleet sum across cells keeps working.
  • GPU count change: write to us. You get a new key with the new count and the same id, at once.
  • Lapsed payment: your current key keeps working to its expiry, then through its grace period. Nothing running stops.
  • Enterprise: keys are issued against a contract, the same way.
  • A leaked key: write to us. We replace it with a new licence id on the same terms and revoke the old id.

planned Automatic renewal from the control plane. The licence service already answers it; the control plane does not call it yet. When it ships it is optional, and it works two ways:

  • Connected: one outbound HTTPS call a day to api.opod.io. It sends licence facts only — the licence id, an install id, the GPUs seen and the version — never prompts or usage. It gets back a fresh 30-day key, never past the paid-until date.
  • Air-gapped: nothing changes — install the key we email you, as above.

planned The signed revocation list, read by the control plane. The list is published today; the control plane does not read it yet. A revoked key will then behave like a key past its grace period: new placements fall to the free tier, and nothing running stops.

planned A signed hardware census for enterprise true-ups, off by default, exported by hand.

Last updated · Source: content/docs/control-plane/licensing.mdx · View as Markdown