← Back to Kontasks
Token Usage & Cost Report - Recent Sessions
Actual token usage and costs from StatusLine data
Output
📊 Token Usage & Cost Report
⚠️ Data Source Limitation
StatusLine hooks don't work when Claude runs via dashboard console (konsole subprocess). The data below is from direct CLI sessions only (Jan 4-6, 2026). Current dashboard sessions aren't captured.
Session Summary (from StatusLine)
| Session | Model | Input | Output | Cache Read | Cost |
|---|---|---|---|---|---|
| 0329a60f | Opus 4.5 | 329,883 | 137,742 | 76,383 | $124.68 |
| 73341d25 | Opus 4.5 | 58,937 | 31,956 | 62,814 | $19.19 |
| 602caf7c | Opus 4.5 | 461,451 | 6,391 | 100,752 | $1.95 |
| 24575d81 | Opus 4.5 | 74,403 | 755 | 40,272 | $0.40 |
Totals (Jan 4-6)
Total Cost
$146.22
Total Input
924K
Total Output
177K
Cost Breakdown Analysis
| Cost Component | Amount | % of Total |
|---|---|---|
| Output tokens (177K × $75/M) | ~$13.28 | 9% |
| Input tokens (924K × $15/M) | ~$13.86 | 9% |
| Cache creation (bulk of cost) | ~$119 | 82% |
| Cache reads (280K × $1.50/M) | ~$0.42 | <1% |
Big Session Deep Dive: 0329a60f
This session cost $124.68 - let's break it down:
- Ran for ~6.5 hours (Jan 4, 16:35 - 23:02)
- 137,742 output tokens - that's a lot of rich HTML kontasks!
- At $75/M output: output alone = ~$10.33
- Massive cache creation drove most of the cost
- Cache reads were only 76K tokens (underutilized)
💡 Key Insights
- Cache creation is 82% of cost - CLAUDE.md is ~120K tokens, re-cached frequently
- Rich HTML output adds ~10% to costs vs plain text
- Long sessions benefit more from cache reads (cheaper)
- Dashboard sessions aren't tracked - we need to add telemetry to konsole
Data Source
Source: /konnectvol/konsole/data/statusline-raw.jsonl (417 records)
Period: Jan 4-6, 2026 (direct CLI sessions only)
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
vibetools
Tags
coststokensusagesessions
Created
7 Jan 2026, 8:52 am
Updated
7 Jan 2026, 8:52 am
Timing
⏱️ 78.6s
0 tools
● TTFE 0%
● Thinking 100%
● Tools 0%
Created By
claude
Raw Data
{
"id": "fe958d3b-d378-4a23-a6b6-3e3732063519",
"type": "general",
"status": "completed",
"title": "Token Usage & Cost Report - Recent Sessions",
"description": "Actual token usage and costs from StatusLine data",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:sans-serif;\"><h2 style=\"color:#fff;margin:0 0 20px 0;\">📊 Token Usage & Cost Report</h2><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h3 style=\"margin:0 0 12px 0;color:#ef4444;\">⚠️ Data Source Limitation</h3><p style=\"color:#e0e0e0;line-height:1.7;margin:0;\">StatusLine hooks <strong>don't work</strong> when Claude runs via dashboard console (konsole subprocess). The data below is from <strong>direct CLI sessions only</strong> (Jan 4-6, 2026). Current dashboard sessions aren't captured.</p></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h3 style=\"margin:0 0 16px 0;color:#61afef;\">Session Summary (from StatusLine)</h3><table style=\"width:100%;border-collapse:collapse;\"><tr style=\"border-bottom:1px solid #3d3d3d;\"><th style=\"text-align:left;padding:10px;color:#7f848e;\">Session</th><th style=\"text-align:left;padding:10px;color:#7f848e;\">Model</th><th style=\"text-align:right;padding:10px;color:#7f848e;\">Input</th><th style=\"text-align:right;padding:10px;color:#7f848e;\">Output</th><th style=\"text-align:right;padding:10px;color:#7f848e;\">Cache Read</th><th style=\"text-align:right;padding:10px;color:#7f848e;\">Cost</th></tr><tr style=\"border-bottom:1px solid #3d3d3d;background:#2a3a4d;\"><td style=\"padding:10px;color:#e5c07b;font-family:monospace;\">0329a60f</td><td style=\"padding:10px;\">Opus 4.5</td><td style=\"padding:10px;text-align:right;\">329,883</td><td style=\"padding:10px;text-align:right;color:#ef4444;\">137,742</td><td style=\"padding:10px;text-align:right;color:#22c55e;\">76,383</td><td style=\"padding:10px;text-align:right;color:#ef4444;font-weight:bold;\">$124.68</td></tr><tr style=\"border-bottom:1px solid #3d3d3d;\"><td style=\"padding:10px;color:#e5c07b;font-family:monospace;\">73341d25</td><td style=\"padding:10px;\">Opus 4.5</td><td style=\"padding:10px;text-align:right;\">58,937</td><td style=\"padding:10px;text-align:right;\">31,956</td><td style=\"padding:10px;text-align:right;color:#22c55e;\">62,814</td><td style=\"padding:10px;text-align:right;color:#f97316;font-weight:bold;\">$19.19</td></tr><tr style=\"border-bottom:1px solid #3d3d3d;\"><td style=\"padding:10px;color:#e5c07b;font-family:monospace;\">602caf7c</td><td style=\"padding:10px;\">Opus 4.5</td><td style=\"padding:10px;text-align:right;\">461,451</td><td style=\"padding:10px;text-align:right;\">6,391</td><td style=\"padding:10px;text-align:right;color:#22c55e;\">100,752</td><td style=\"padding:10px;text-align:right;\">$1.95</td></tr><tr><td style=\"padding:10px;color:#e5c07b;font-family:monospace;\">24575d81</td><td style=\"padding:10px;\">Opus 4.5</td><td style=\"padding:10px;text-align:right;\">74,403</td><td style=\"padding:10px;text-align:right;\">755</td><td style=\"padding:10px;text-align:right;color:#22c55e;\">40,272</td><td style=\"padding:10px;text-align:right;\">$0.40</td></tr></table></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h3 style=\"margin:0 0 12px 0;color:#c678dd;\">Totals (Jan 4-6)</h3><div style=\"display:grid;grid-template-columns:repeat(3,1fr);gap:16px;\"><div style=\"background:#1a1a2e;padding:16px;border-radius:8px;text-align:center;\"><div style=\"color:#7f848e;font-size:0.85rem;margin-bottom:4px;\">Total Cost</div><div style=\"color:#ef4444;font-size:1.5rem;font-weight:bold;\">$146.22</div></div><div style=\"background:#1a1a2e;padding:16px;border-radius:8px;text-align:center;\"><div style=\"color:#7f848e;font-size:0.85rem;margin-bottom:4px;\">Total Input</div><div style=\"color:#61afef;font-size:1.5rem;font-weight:bold;\">924K</div></div><div style=\"background:#1a1a2e;padding:16px;border-radius:8px;text-align:center;\"><div style=\"color:#7f848e;font-size:0.85rem;margin-bottom:4px;\">Total Output</div><div style=\"color:#e5c07b;font-size:1.5rem;font-weight:bold;\">177K</div></div></div></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h3 style=\"margin:0 0 12px 0;color:#98c379;\">Cost Breakdown Analysis</h3><table style=\"width:100%;border-collapse:collapse;\"><tr style=\"border-bottom:1px solid #3d3d3d;\"><th style=\"text-align:left;padding:8px;color:#7f848e;\">Cost Component</th><th style=\"text-align:right;padding:8px;color:#7f848e;\">Amount</th><th style=\"text-align:right;padding:8px;color:#7f848e;\">% of Total</th></tr><tr style=\"border-bottom:1px solid #3d3d3d;\"><td style=\"padding:8px;\">Output tokens (177K × $75/M)</td><td style=\"padding:8px;text-align:right;color:#ef4444;\">~$13.28</td><td style=\"padding:8px;text-align:right;\">9%</td></tr><tr style=\"border-bottom:1px solid #3d3d3d;\"><td style=\"padding:8px;\">Input tokens (924K × $15/M)</td><td style=\"padding:8px;text-align:right;color:#f97316;\">~$13.86</td><td style=\"padding:8px;text-align:right;\">9%</td></tr><tr style=\"border-bottom:1px solid #3d3d3d;\"><td style=\"padding:8px;\">Cache creation (bulk of cost)</td><td style=\"padding:8px;text-align:right;color:#ef4444;\">~$119</td><td style=\"padding:8px;text-align:right;\">82%</td></tr><tr><td style=\"padding:8px;\">Cache reads (280K × $1.50/M)</td><td style=\"padding:8px;text-align:right;color:#22c55e;\">~$0.42</td><td style=\"padding:8px;text-align:right;\"><1%</td></tr></table></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h3 style=\"margin:0 0 12px 0;color:#61afef;\">Big Session Deep Dive: 0329a60f</h3><p style=\"color:#9ca3af;margin:0 0 12px 0;\">This session cost <strong style=\"color:#ef4444;\">$124.68</strong> - let's break it down:</p><ul style=\"color:#e0e0e0;line-height:1.8;margin:0;padding-left:20px;\"><li>Ran for ~6.5 hours (Jan 4, 16:35 - 23:02)</li><li><strong>137,742 output tokens</strong> - that's a lot of rich HTML kontasks!</li><li>At $75/M output: output alone = ~$10.33</li><li>Massive cache creation drove most of the cost</li><li>Cache reads were only 76K tokens (underutilized)</li></ul></div><div style=\"background:#1a365d;padding:16px;border-radius:6px;border-left:4px solid #3b82f6;\"><h4 style=\"margin:0 0 8px 0;color:#fff;\">💡 Key Insights</h4><ul style=\"color:#e0e0e0;line-height:1.8;margin:0;padding-left:20px;\"><li><strong>Cache creation is 82% of cost</strong> - CLAUDE.md is ~120K tokens, re-cached frequently</li><li><strong>Rich HTML output</strong> adds ~10% to costs vs plain text</li><li><strong>Long sessions</strong> benefit more from cache reads (cheaper)</li><li><strong>Dashboard sessions aren't tracked</strong> - we need to add telemetry to konsole</li></ul></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-top:16px;\"><h4 style=\"margin:0 0 8px 0;color:#fff;\">Data Source</h4><p style=\"color:#9ca3af;margin:0;font-size:0.9em;\">Source: <code style=\"background:#3d3d3d;padding:2px 6px;border-radius:3px;\">/konnectvol/konsole/data/statusline-raw.jsonl</code> (417 records)<br>Period: Jan 4-6, 2026 (direct CLI sessions only)</p></div></div>",
"requestedAt": "2026-01-07T02:35:00.000Z",
"requestId": "097301a2-86ae-4d67-8a8e-e69a0c630cac",
"choices": [
{
"label": "Add konsole telemetry",
"value": "Add token usage tracking to konsole for dashboard sessions",
"primary": true
},
{
"label": "Reduce cache costs",
"value": "How can we reduce the cache creation costs?"
},
{
"label": "Compare Haiku costs",
"value": "What would the same sessions cost with Haiku instead of Opus?"
}
],
"turnTiming": {
"totalMs": 78612,
"ttfeMs": 83,
"thinkingMs": 78529,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-06T22:52:43.846Z",
"updatedAt": "2026-01-06T22:52:51.178Z",
"requestId": "097301a2-86ae-4d67-8a8e-e69a0c630cac",
"scope": "vibetools",
"tags": [
"costs",
"tokens",
"usage",
"sessions"
],
"targetUser": "claude"
}