---
title: "cost-pane"
url: "https://claudemods.dev/ko/builds/cost-pane-30896f"
source: "https://github.com/anthonyhungnguyen/claude-code-mods/tree/main/cost-pane"
source_type: "github"
repo: "https://github.com/anthonyhungnguyen/claude-code-mods/tree/main/cost-pane"
author: "anthonyhungnguyen"
author_handle: "anthonyhungnguyen"
stars: 0
category: "사용량 및 비용"
categories: ["cost"]
tags: ["claude-code", "cost-tracking", "hooks", "mod", "statusline", "tokens"]
permission_level: 0
scan_complete: true
install: "claude plugin marketplace add anthonyhungnguyen/claude-code-mods\nclaude plugin install cost-pane"
added: "2026-10-05T17:17:09.790Z"
updated: "2026-10-02T06:26:05Z"
locale: "ko"
content_locale: "ko"
---

# cost-pane

세션별·일별 토큰 및 미국 달러 지출을 기록하고 세션이 바뀌어도 유지하는 Claude Code mod입니다.

## Description

cost-pane은 세션 및 일일 미국 달러 지출을 보여 주는 상태 줄과 7일 sparkline을 추가하고, 토큰 수·캐시 적중률·최근 7일의 일별 막대를 표시하는 `/cost-pane` 패널을 제공합니다. USD는 mod가 로드된 뒤 각 턴의 `/cost`에서 가져옵니다. 각 세션은 플러그인 저장소에 `s:<session-id>:<day>` 키를 쓰고, 일일 합계는 모든 세션을 더하며 30일보다 오래된 키는 정리합니다. 날짜는 베트남 시간（UTC+7）을 사용하고 hooks/register.tsx의 `dayOf`에서 설정합니다. 폴더를 ~/.claude/mods/cost-pane에 추가하면 설치됩니다.

## Install

```
claude plugin marketplace add anthonyhungnguyen/claude-code-mods
claude plugin install cost-pane
```

## Original README

# cost-pane

A Claude Code mod that tracks token and USD spend per session and per day, kept across sessions.

```
💸 $1.23 session · $5.67 today · 7d ▁▃▂▅▇▄█ $12.34
```

The status line shows the line above. `/cost-pane` opens a pane with token counts, cache hit rate and one bar per day for the last 7 days.

## Install

See the [repo README](../README.md); the folder to add is `~/.claude/mods/cost-pane`.

## How it counts

- USD is what `/cost` reports, counted per turn from the moment the mod loads.
- Each session writes its own `s:<session-id>:<day>` key to the plugin store (`~/.claude/plugins/store/cost-pane_inline-*.json`). Daily totals sum every session; keys older than 30 days are pruned.
- Days are Vietnam time (UTC+7), set in `dayOf` in `hooks/register.tsx`.
