Skip to content
Cynco UI

AI

Context

A token-usage meter with a hover card breaking down input, output, reasoning and cache tokens and cost.

import { Context } from "@cynco-labs/ui/ai";

Example

Use

Showing how much of the model's context window is used.

Props

usedTokens, maxTokens, usage, modelId; ContextTrigger, ContextContent › ContextContentHeader, ContextContentBody (usage rows), ContextContentFooter.

Notes

Cost uses tokenlens model prices.

Source Demo source Markdown