PaceUI

  • Components
  • Blocks
  • Templates
  • Studio
  • Resources
Intro
  • Components
  • Installation
  • MCP
Agents
  • Chat Composer
  • Workflow Board
  • Thinking States
  • Audio Visualizer
  • Task Pipeline
  • Approval Card
  • Model Ability Selector
  • Model Selector
  • Response Writer
  • AI Suggestions
  • Token Counter
Crafts
  • All Crafts
  • Avatar Flight
  • Voice Record
  • Starfield Card
  • Destination Queue
  • Rolling Bento
  • Download Button
  • Cart Stepper
  • Heart Burst
  • Copy Bar
  • Generative Grid
  • Destination Card
  • Magnetic Button
  • Morphing Copy
  • Expanding Search
  • Metric Tracker
  • Tilt Card
  • Animated Stack
Charts
  • API Traffic
  • Weekly Traffic
  • Financial Performance
  • Channel Sales
  • Customer Growth
  • Customer Segments
  • Sales Overview
  • Traffic Distribution
  • Daily Orders
  • Acquisition Funnel
  • Weekly Attendance
  • Market Trends
  • Portfolio Overview
  • Instance Health
  • Resource Usage
  • SaaS Subscriptions
  • Database Performance
  • Model Usage
  • Spend Allocation
Motion
  • Accordion
  • Alert
  • Calendar
  • Checkbox
  • Collapsible
  • Combobox
  • Context Menu
  • Dropdown Menu
  • Empty
  • Hover Card
  • Input OTP
  • Menubar
  • Navigation Menu
  • Pagination
  • Progress
  • Radio Group
  • Scroll Area
  • Select
  • Sidebar
  • Slider
  • Switch
  • Tabs
  • Tooltip
  • Reveal Text
  • Scramble Text
  • Squash Text
  • Bouncing Text
  • Mouse Wave Text
  • Text Fall Button
  • Spring Button
  • Infinite Scroller
  • Fillable Button
  • Layered Stack
  • Gradient Shadow
  • Profile Peek
  • Flip Reveal
  • Reveal on Scroll
  • Swap
  1. Components
  2. Charts
PreviousNext

Model Usage

An area chart visualizing AI model usage and cost trends over time with custom tooltip breakdown and tab switching between tokens and costs.

When to use

  • AI model token consumption and inference cost tracking across LLMs (GPT-4o, Claude 3.5 Sonnet, Llama 3).
  • Tab switching between raw token counts and dollar expenses over time.
  • AI developer platforms, agent orchestration consoles, and LLM billing dashboards.

When not to use

  • Traditional non-AI web applications without LLM token metrics.
  • Binary pass/fail test status indicators; use simple badges instead.

Props

PropTypeDefaultDescription
dataModelUsageDataPoint[]defaultTokenDataArray of daily token usage data points across models.
costDataModelUsageDataPoint[]auto-calculatedOptional array of daily cost data points. Calculated automatically from data if not provided.
classNamestring—Optional custom CSS classes for the card container.

Data Structure

FieldTypeDescription
datestringCalendar date formatted as YYYY-MM-DD.
gpt4onumberToken volume or dollar expense for GPT-4o.
claudenumberToken volume or dollar expense for Claude 3.5 Sonnet.
gemininumberToken volume or dollar expense for Gemini 1.5 Pro.
llamanumberToken volume or dollar expense for Llama 3.3.
Database PerformanceSpend Allocation

PaceUI

Animated blocks, components, and templates for Next.js and TanStack Start. Built with Motion and shadcn - clean code you own.

GitHubTwitterDiscord

Products

BlocksComponentsTemplatesCraftsTanStack ChartsMCP ServerStarter KitsStyleX Components

Resources

DocumentationMotion ComponentsGSAP AnimationsNative AIBlogChangelog

Pricing & Account

PricingManage AccountLicensesAPI KeysAffiliate Program

Company

Contact UsDiscord CommunityPrivacy PolicyTerms of Service

© 2026 PaceUI. All rights reserved. Built by indie developer, Denish

PACEUI

Model Usage & Cost Trends
Daily token consumption and cost breakdown by model