DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
Categories
AI Chat13
Agent Activity5
AI UsageNew AI Usage category with 2 spend blocks4
  • Usage Planner
  • Spend Map
  • Edge Nodes
  • Local Models

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.

Best for: Settings for open weight models on a workspace GPU server, sized by precision, context and parallel requests

When to use

  • A self-serve planner where an admin sets next month's token volume, model and add-ons against a budget
  • A month to date breakdown of AI spend by model, team, agent and API key, with the caps at risk
  • Inference on your own hardware: edge nodes under a power budget, or open weight models sized to a GPU server

When not to use

  • Planning next month's hosted model spend against a budget: use the Usage Planner block
  • Staff back office for invoices, subscriptions, dunning and metered charges: use the Billing blocks
  • Public plan tiers or an upgrade paywall shown before anyone has usage: use the Pricing blocks
  • An operator console for provider health, routing and quotas across an org: use the AI Ops blocks

Agent notes

  • MODELS, APPLIED and SERVER in data.tsx hold the cards and running config; every memory figure and LED reads memoryOf and loadsOf
  • handleApply and handleRestart only wait and fire a sonner toast; send the configOf JSON that Copy and Download write to your server there
  • The drawing lives in SCENE in server-scene.ts, sorted once by paintOrder; each model lists gpus that must match a card in CARD_X
  • AiUsage takes no props and calls no API; its figures are typed constants, mostly in components/data.tsx, so swap them for your data
  • Money prints through en-US USD helpers such as formatDollars in formatters.ts, so another currency starts there

Third-party API docs

  • Sonner v2: API reference, docs
Markdownhttps://reui.io/blocks/ai-agents/ai-usage/ai-usage-4.md
MCPget_block("ai-usage-4")
Installnpx shadcn@latest add @reui/ai-usage-4
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in the Local Models Block

  • AlertReUI
  • Alert Dialog
  • Avatar
  • BadgeReUI
  • Button
  • Button Group
  • Dropdown Menu
  • Field
  • FrameReUI
  • Icon TileReUI
  • Item
  • Popover
  • Progress
  • Select
  • Slider
  • Spinner
  • Switch
  • Toggle Group
  • Tooltip

Dependencies

  • cn
  • sonner

Shadcn Local Models Block

Local model settings with a GPU server cutaway whose card LEDs show model memory. Part of the ReUI Shadcn AI & Agents AI Usage blocks collection.

Size open weight models on your own GPU server: an isometric server whose card LEDs show memory in use, model rows, an inspector, and a header to review pending changes, fit, copy, download or restart. ReUI Frame, Alert; shadcn Slider, Popover.

It is composed from Alert, Alert Dialog, Avatar, Badge, Button, Button Group, Dropdown Menu, Field, and more, so every part of it is a primitive you can restyle with your own design tokens.

What You Can Build With the Local Models Block

  • Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
  • Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
  • Combine it with the other Shadcn AI & Agents AI Usage blocks to assemble a full screen instead of a single section.

All Shadcn AI & Agents AI Usage Blocks

The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.

  • Usage Planner Usage planner with a stepped token ruler, model cards and a live spend estimate
  • Spend Map Spend map that fans monthly AI spend out by model, team, agent and API key
  • Edge Nodes Edge AI node fleet with an isometric inference box you open, inspect and power cap

Related Shadcn AI & Agents Block Categories

  • AI Chat (13) Conversation surfaces for AI products, from full chat shells to embeddable threads, sheets, and launchers.
  • Agent Activity (5) Agent run views, from live step feeds and approvals to research traces, MCP call tables, and run reports.

All Shadcn Block Groups

Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.

  • Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
  • Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
  • Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
  • Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
  • Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
  • Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
  • Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.

Frequently Asked Questions

When should I use the Local Models block?

Use it for settings for open weight models on a workspace GPU server, sized by precision, context and parallel requests.

The AI Usage category fits:

  • A self-serve planner where an admin sets next month's token volume, model and add-ons against a budget
  • A month to date breakdown of AI spend by model, team, agent and API key, with the caps at risk
  • Inference on your own hardware: edge nodes under a power budget, or open weight models sized to a GPU server

For planning next month's hosted model spend against a budget, use the Usage Planner block. For staff back office for invoices, subscriptions, dunning and metered charges, use the Billing blocks. For public plan tiers or an upgrade paywall shown before anyone has usage, use the Pricing blocks. For an operator console for provider health, routing and quotas across an org, use the AI Ops blocks.

What is the Local Models block built with?

Local Models uses Alert, Alert Dialog, Avatar, Badge, Button, Button Group, Dropdown Menu, Field, Frame, Icon Tile, Item, Popover, Progress, Select, Slider, Spinner, Switch, Toggle Group, Tooltip. Installing the block through the ReUI registry pulls those dependencies in for you.

Can I restyle the Local Models block?

Yes. It reads your design tokens, so switching style, radius, base color, font, or icon library in the customizer restyles it without touching the markup.

How should I use Shadcn ai usage blocks in a real project?

Treat them as structured starting points. Keep the layout, hierarchy, and interaction ideas that work, then replace placeholder content, data wiring, and business logic with your own product requirements.
PreviousEdge Nodes

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App Shell
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats2 meter cards moved here from Charts, 17 in all
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedAdded 2 new Data Grid Advanced blocks, 5 in all
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area ChartAdded a new Inbound Leads area chart block
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sankey ChartNew Sankey Chart category with 3 flow chart blocks
  • Slope ChartNew Slope Chart category with 2 rank-shift chart blocks
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity
  • AI UsageNew AI Usage category with 2 spend blocks

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users
  • Digital TwinNew Digital Twin category with 2 interactive 3D blocks

Templates

  • E-commerce
  • SaaS
  • Dashboard
  • Landing
  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K
  1. Blocks
  2. AI & Agents
  3. AI Usage
  4. Local Models
MarkdownShare

Shadcn Local Models

Size open weight models on your own GPU server: an isometric server whose card LEDs show memory in use, model rows, an inspector, and a header to review pending changes, fit, copy, download or restart. ReUI Frame, Alert; shadcn Slider, Popover.