Model usage

Model usage is a AI tools block from Orvain UI, built for React and Vue with a matching Figma frame.

Best for

Picking a model and effort, and seeing what an answer used and cost

Anatomy

Model and effort picker in the composer · thinking and the answer · a receipt of tokens and cost · a breakdown · a nudge to a cheaper model near the limit

MCPConnect the MCP server

Ask about your refunds, tickets or payouts.

Using Stripe refunds and 6 Zendesk ticketsContext used: 9%

In the Orvain Library

Get Model usage for your product

The block’s code in React and Vue, its frame in the Figma file, and the Orvain MCP so your AI tools build with it. Part of every Library plan, alongside every other block.

  • React
  • Vue
  • Figma frame
  • Orvain MCP

About this block

Part of AI tools

What’s inside

05parts

The pieces it is built from. Keep them all, or drop the ones your product doesn’t need.

  1. Model and effort pickerin the composer
  2. Thinking and the answer
  3. A receipt of tokens and cost
  4. A breakdown
  5. A nudge to a cheaper model near the limit

Responsive behaviour

600 px

Drawn at this width and never stretched past it. Below it, controls, text and spacing step down from the box the block sits in, not the window.

1440pxDesktop · 12 columns

When to use it

Where AI tools earns its place

Reach for AI tools

  • An assistant that acts through other apps, where each call and its result should be checkable.
  • Answers built from the web or from documents, where the sources decide whether the answer can be trusted.
  • Generation people refine rather than accept whole: a draft, an image, a page, a code change.
  • Usage that costs money or room, such as tokens, context or a budget, and that people choose how to spend.

Reach for something else

  • A plain conversation with no tools or sources. The assistant thread in the AI Chat family is lighter and says everything there is.
  • A multi-step agent run with approvals and checkpoints. The Agents family is built around the run rather than one reply.
  • A form someone fills in by hand. A form layout is faster than asking a model to read what the person could have typed.

Accessibility

06to keep

What the block ships with. Hold on to these as you make it yours.

  • Named controlsEvery icon-only button keeps a text label, so a screen reader can say what it does.
  • Keyboard firstEvery control is reachable with Tab, and its focus ring stays visible.
  • More than colourA state never rides on colour alone; a mark or a word goes with it.
  • Contrast holdsRetheme freely, but keep text at or above the contrast it ships with.
  • Calm motionFor visitors who ask for reduced motion, things simply appear.
  • Room to hitTargets stay at least 24px, with space between neighbours.

Notes for AI

1 line

Is all your assistant needs. With the Orvain MCP connected, it builds the block from your own tokens and components.

Add the Orvain “Model usage” block to this page: model and effort picker in the composer, thinking and the answer, a receipt of tokens and cost, a breakdown, a nudge to a cheaper model near the limit.

Works in
Connect the MCP

Questions about Model usage.

What is the Model usage block?

Model usage is a AI tools block from Orvain UI, built for React and Vue with a matching Figma frame. Best for picking a model and effort, and seeing what an answer used and cost.

What is the Model usage block made of?

Is the Model usage block responsive?

Is the Model usage block accessible?

How do I add the Model usage block to my project?

When should I not use a AI tools block?

More AI tools blocks

All AI tools

AI builder canvas

Building a page with a team of agents on a canvas, then pointing at a part to change it

AI code review

Reviewing an agent's code change hunk by hunk before it applies

Context window

Seeing what fills a chat's context and making room before it runs out

Answer feedback

Telling the assistant what was wrong with an answer

File parsing

Reading a document into fields and sending them where they go

Image generation

Making an image from a prompt and refining it in place

Memory panel

Showing what the assistant remembers about you, and letting you change it

Smart recommendation

One suggestion at a time from what the data shows, with why and what it is worth

Run controls

Steering, pausing or stopping a long answer while it runs

Tool calls

Showing what an assistant did in other apps to get to its answer

Voice agent

Watching an AI phone agent handle a call, and stepping in when it needs you

Web search

An answer from the web with its sources, and a way to correct it

Writing assistant

Drafting a reply with the assistant and shaping it before you send it

The Orvain Dispatch

Premium components, free in your inbox.

Join the Orvain Dispatch and get production-ready components, free to keep: React and Vue code plus the Figma frame, yours to ship.

Just components, never spam. You can unsubscribe anytime.