TetraKits UI Usage Based Pricing ← Library

Usage Based Pricing

Usage-based pricing section showing per-request rate, gradient progress meter, and estimated monthly cost. API, AI token, and metered billing landing page block with tabular-nums typography.

usage based pricingapi pricingmetered billing uipay as you goprogress meter pricing
Live preview

Dependencies

react
npm install react react-dom
export function UsageBasedPricing() {
  return (
    <section className="mx-auto max-w-xl rounded-2xl border border-zinc-800 bg-zinc-950 p-8 text-white">
      <h2 className="text-xl font-semibold">Pay as you grow</h2>
      <p className="mt-2 text-sm text-zinc-400">$0.002 per API request · no minimum</p>
      <div className="mt-6 h-2 rounded-full bg-zinc-800">
        <div className="h-2 w-2/3 rounded-full bg-gradient-to-r from-cyan-500 to-indigo-500" />
      </div>
      <p className="mt-4 text-3xl font-bold tabular-nums">~$24<span className="text-base text-zinc-500">/mo est.</span></p>
    </section>
  );
}