/** * 用量面板 - 3 统计卡(今日/7 天/30 天)+ 分模型用量表 + 用量说明 */ import { useTranslations } from 'next-intl'; import { modelUsage } from './data'; import { cls, StatCard } from './ui'; export function UsagePanel() { const t = useTranslations(); return (
| {t('pt_model')} | {t('c_requests')} | Token in | Token out | {t('c_cost')} |
|---|---|---|---|---|
| {row.model} | {row.requests} | {row.tokensIn} | {row.tokensOut} | {row.cost} |