# Marketing Usage Calculator

Usage-based pricing calculator with sliders for API calls or agent runs and a monthly cost estimate.

- id: `marketing-usage-calculator`
- Page: https://agentic-ui-kit.com/components/marketing-usage-calculator
- Live preview: https://agentic-ui-kit.com/live/component/marketing-usage-calculator?piece=marketing-usage-calculator

## Install

```bash
agentic-ui add marketing-usage-calculator
npx shadcn@4.17.0 add @agentic-ui/marketing-usage-calculator
```

## Metadata

- **Level:** block
- **Category:** block
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** usage-sliders, tiered-pricing, add-on-toggle, cost-breakdown, plan-recommendation, number-morph, dark-mode
- **Intents:** configure, communicate
- **Suits domains:** marketing, billing, saas, ai-agents, devtools
- **Interaction:** slide, toggle, click
- **Screen role:** flow
- **Density:** comfortable
- **Dark mode:** yes
- **Use it for:** usage-based pricing calculator with sliders for API calls or agent runs and a monthly cost estimate, pricing page calculator that estimates the bill from seats and usage with volume tiers, interactive cost estimator for a pay-as-you-go AI product
- **Avoid when:** flat per-plan pricing (use marketing-pricing), in-app billing for signed-in customers, prices that need a quote
- **Preserve when adapting:** labelled-sliders, line-item-breakdown
- **Replace when adapting:** pricing-model, plans, ranges, currency
- **Adaptation effort:** low
- **Coupling:** low
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **Uses primitives:** button
- **npm dependencies:** @agentic-ui/motion-number-morph, lucide-react
- **Used in:** Marketing Website (blueprint)
- **npm dependencies (registry):** lucide-react@0.577.0
- **Registry dependencies:** lib-primitives, motion-number-morph
