Scrip

Meters

Name the unit, set the rate, print the rounding rule on every stub.

A meter is a unit you can say out loud: call, seat-day, gigabyte, job.

Shape

type Meter = {
  code: string;
  unit: string;
  rate: number;
  rounding: "none" | "bankers" | "up";
};

The code prints on the stub. The unit prints next to quantity. rounding prints as a sentence, not a tooltip.

Included buckets

Included usage is a meter with rate zero and a cap. Overage is a second meter. Do not fold them.

What not to meter

Do not meter "engagement." Do not meter "AI magic." If you cannot count it in a warehouse, it is not a meter.