Feature Request: Usage history tracking for Pro/Max subscription users
Resolved 💬 3 comments Opened Dec 13, 2025 by paulnegz Closed Dec 17, 2025
Feature Request
Summary: Provide Pro/Max subscription users with access to their detailed token usage history, similar to what API users get via the Admin API.
Problem
Currently, subscription users (Pro/Max) have no official way to view:
- Historical token usage across sessions
- Cumulative usage over time (weekly/monthly/all-time)
- Breakdown by model (Opus, Sonnet, Haiku)
- Usage trends and patterns
Current Limitations:
/costcommand shows: "With your Claude Max subscription, no need to monitor cost — your subscription includes Claude Code usage."- Claude Console only tracks API usage, not subscription usage
claude.ai/settings/usageshows limited current-period info, no history- Local JSONL files get pruned, losing historical data
Workarounds (inadequate):
- Third-party tools like
ccusageparse local files but can't recover pruned data - No way to get complete historical picture
Proposed Solution
Option A: API Endpoint for Subscription Users
Extend the Admin API or create a new endpoint:
GET /v1/users/me/usage_history
Returns token usage grouped by day/week/month with model breakdown.
Option B: Enhanced /usage Command
Add a Claude Code command that queries Anthropic's backend:
/usage --history # Show all-time usage
/usage --month 2025-12 # Show specific month
/usage --export csv # Export data
Option C: Claude.ai Dashboard Enhancement
Provide detailed usage history at claude.ai/settings/usage including:
- Historical graphs
- Token breakdowns
- Export functionality
Use Cases
- Personal tracking - Users want to understand their usage patterns
- Optimization - Identify which tasks consume most tokens
- Planning - Decide whether to upgrade/downgrade subscription tier
- Transparency - Know what you're getting for your subscription cost
Related Issues
- #10388 - Agent Token Usage API (related but focused on programmatic agent access)
- #13891 - All-time cumulative token usage command
References
---
🤖 Generated with Claude Code
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗