Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { AiUsage2 } from "@/components/dashboardblocks/ai-usage/ai-usage-02"export default function AiUsage2Demo() { return ( <div className="w-full max-w-lg"> <AiUsage2 title="Cost by feature" description="Model spend by product feature, this month" features={[ { cost: 842, label: "Research agent", requests: 18400, tokens: { cached: 21000000, input: 64000000, output: 9800000 }, }, { cost: 391, label: "Chat assistant", requests: 212000, tokens: { cached: 58000000, input: 41000000, output: 12600000 }, }, { cost: 27, label: "Search embeddings", requests: 1480000, tokens: { input: 54000000, output: 0 }, }, ]} /> </div> )}