发布

  • [OPIK-6820] [FE] feat: add total tokens KPI card to AI Spend home (#7048)

    frostbyte_neo 发布于 2026-06-15 07:58:40 +00:00

    Replace the placeholder "Budget remaining" card on the AI Spend home
    dashboard with a "Total tokens" KPI (with period-over-period trend),
    summing the cache-tier token metrics the summary endpoint already returns
    (spend_input/cache_read/cache_creation/output_tokens) on the cc.billing
    schema. FE-only — no backend change needed.

    Co-authored-by: Claude Opus 4.8 noreply@anthropic.com

    下载附件