Skip to main content

The cost cascade

Frontier tokens are expensive, and most questions do not need them. The cost cascade answers each request on the cheapest sufficient tier and only escalates to a more capable, more expensive one when the cheap answer is not confident enough, with the decision to spend more gated the same way every other consequential action is. Every tier that runs is metered separately, so where the tokens went is answerable per tier and per model.

This page covers the tier ladder, how "cheapest-sufficient" is decided, what gates an escalation, and how spend is metered per tier.

Overview​

The cascade sits inside model serving. It does not build a new inference engine or a competing tier picker; it drives the existing one, pinning each rung to the platform's single cost-and-capability authority so it never invents a price or a capability number. The three rungs, ascending:

TierWhat it isRole
Local-smallA cheap on-cell modelThe floor: every cascade starts here
Local-largeA larger on-cell modelAn intermediate rung on your own hardware
FrontierA third-party frontier providerThe top rung, reachable only in the Full tier

The cascade walks up this ladder, never down: it starts at the floor and stops at the first rung whose answer is confident enough.

Cheapest-sufficient, decided by calibrated confidence​

For each rung the cascade runs the request, estimates confidence, meters the run, and decides whether to accept or climb:

Figure: the cascade walk. The request runs at the floor; every tier run is metered separately (green); if calibrated confidence clears the threshold τ the cheap path is accepted; otherwise the cascade escalates only if every escalation gate passes, and if any gate fails it returns the best answer it already reached, labeled for why it stopped, rather than fabricating or blocking.

The confidence is calibrated, not raw self-report. The estimator applies a per-model, per-task calibration map and caps free-form answers, and fuses a verifier score, self-consistency, and a log-probability margin where those signals are available, so an overconfident model would never escalate is a property of the design, not a hope.

The threshold τ is not a constant. It is a closed-loop controller: seeded at the target of the canonical resistance band and nudged (additive-increase, multiplicative-decrease) so the escalation rate itself is the setpoint. A sustained high escalation rate recommends promoting the floor model (the cheap tier is too weak); a sustained low rate recommends demoting it (the cheap tier is under-used). Those swaps are themselves net-potential-gain gated.

What gates an escalation​

Low confidence is necessary but not sufficient to spend more. An escalation proceeds only if every gate passes, in order:

GatePasses when
A higher rung existsThe current tier is not already the top
Budget lease is liveThe run's budget lease has not expired
Tier eligibilityThe deployment profile, origin policy, classification ceiling (no read-up), and data residency all permit the higher tier, fail-closed
Budget + expected valueA budget preflight passes and the expected value of escalating is net-positive
PlaceableThe placement router can actually place the higher tier; its cost-fused gate can flip a too-expensive frontier hop to net-negative

When a gate fails, the cascade does not error and does not silently spend: it returns the best answer it has already reached, labeled with why it stopped (best-eligible, best-in-budget, or best-placeable). Eligibility is where sovereignty shows up, a classified request simply never becomes eligible for a frontier rung.

Metered per tier​

Every tier run emits its own usage sample, whether it was accepted or escalated past. Each sample carries the tier class as a sub-service dimension, the token counts and latency, the tier's rank, and the model id as a tag, so spend is attributable per tier, per model, per rank through the normal metering and roll-up pipeline. A cascade that climbed twice records three runs, not one blended number. See metering, FinOps & tokenomics.

Across the deployment matrix​

  • Single-cell: the full cascade runs on one cell, floor to frontier, subject to that cell's tier and eligibility.
  • Multi-cell (elastic in and out): escalation consults the placement router, so a higher tier can be placed on a cell that holds the model, under the same eligibility and residency rules.
  • Sovereign / air-gapped: the frontier rung is unreachable by construction; the cascade tops out at the best local tier and labels the answer accordingly rather than degrading to nothing.
  • Core vs edge: the full run → estimate → meter → escalate → swap loop is a cell capability. On the Edge Agent the cascade is a decision primitive: a leaf estimates confidence and decides answer locally or answer best-available, and when it is not confident it emits a partial flagged for the conductor to escalate, the leaf never calls the frontier itself (see the edge path). Per-tier metering and the eligibility/budget/placement gates live on the cell.

Configured, or a single tier​

The cascade is deny-closed. It activates when it is enabled in configuration, placement targets are configured, and the cost authority resolves. Without those, model serving runs a single tier directly. There is no silent half-configured state: either the cascade is wired end to end, or model serving serves one tier.