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

Spend Allocation

A donut pie chart displaying provider spend allocation, total cost summary, and average pricing rates per 1K tokens.

When to use

  • Multi-provider AI cloud spend allocation (OpenAI, Anthropic, Google Cloud, Groq).
  • Donut pie charts displaying total expenditure, percentage shares, and average pricing rates per 1K tokens.
  • AI infrastructure cost optimization, FinOps reviews, and vendor rate comparisons.

When not to use

  • Tracking hourly performance latency or raw API uptime.
  • Timeline progression charts where month-over-month trends are needed.

Props

PropTypeDefaultDescription
dataProviderSpendItem[]defaultProviderDataArray of AI/Cloud provider spend allocations with provider name, dollar spend, avg rate per 1K, and fill color.
classNamestring—Optional custom CSS classes for the card container.

Data Structure

FieldTypeDescription
providerstringCloud or AI provider company name (e.g., OpenAI, Anthropic).
spendnumberTotal invoice spend in dollars attributed to this provider.
avgPer1kstringFormatted average token rate rate per 1K tokens (e.g., $0.032).
fillstringSemantic theme color token assigned to the provider slice.
Model Usage

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

Provider Spend Allocation
Cost distribution and token rates across providers
OpenAI$2,074.78
54% · $0.032/1K tokens
Anthropic$1,191.08
31% · $0.028/1K tokens
Google Cloud$422.64
11% · $0.018/1K tokens
Groq$153.68
4% · $0.004/1K tokens