Back to skills
SKILL.md
105 Billing Data Analysis 57458d6f
ASecurity> Actual billing data exported from Anthropic Console (2026-01-27)
- 9 stars
- 0 votes
- 0 copies
- 0 views
- Added October 11, 2026
Works with
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 105-billing-data-analysis_57458d6f --agent claude-codeAre you the author of 105 Billing Data Analysis 57458d6f?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-105-billing-data-analysis-57458d6f)# π Real Anthropic Billing Data Analysis
> Actual billing data exported from Anthropic Console (2026-01-27)
## Raw Data
| Date | Model | Usage Type | Input Tokens | Cache Write | Cache Read | Output Tokens |
|------|-------|------------|--------------|-------------|------------|---------------|
| 2026-01-27 | claude-3-5-haiku | standard | 8,239 | 0 | 0 | 2,491 |
| 2026-01-27 | claude-sonnet-4 | standard | 79,224 | 1,782 | 39,204 | 71,608 |
| 2026-01-27 | claude-sonnet-4 | **batch** | 3,612 | 0 | 1,782 | 6,016 |
## Cost Analysis
### 1. Haiku Usage (No Optimization)
```
Input: 8,239 Γ $1.00/MTok = $0.0082
Output: 2,491 Γ $5.00/MTok = $0.0125
ββββββββββββββββββββββββββββββββββββ
Total: $0.0207
```
### 2. Sonnet Standard (With Prompt Caching)
```
Input (no cache): 79,224 Γ $3.00/MTok = $0.2377
Cache write: 1,782 Γ $3.75/MTok = $0.0067
Cache read: 39,204 Γ $0.30/MTok = $0.0118 β 90% off!
Output: 71,608 Γ $15.00/MTok = $1.0741
βββββββββββββββββββββββββββββββββββββββββββββββββ
Total: $1.3303
```
**Cache Savings Calculation:**
```
Without cache read discount: 39,204 Γ $3.00/MTok = $0.1176
With cache read discount: 39,204 Γ $0.30/MTok = $0.0118
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π° Saved on cache reads: $0.1058 (90% off!)
```
### 3. Sonnet Batch (With Batch API + Caching)
```
Input (batch): 3,612 Γ $1.50/MTok = $0.0054 β 50% off!
Cache write: 1,782 Γ $3.75/MTok = $0.0067
Cache read: 3,564 Γ $0.30/MTok = $0.0011 β 90% off!
Output (batch): 6,016 Γ $7.50/MTok = $0.0451 β 50% off!
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Total: $0.0583
```
**Batch Savings Calculation:**
```
Without Batch API:
Input: 3,612 Γ $3.00/MTok = $0.0108
Output: 6,016 Γ $15.00/MTok = $0.0902
Total: $0.1010
With Batch API:
Input: 3,612 Γ $1.50/MTok = $0.0054
Output: 6,016 Γ $7.50/MTok = $0.0451
Total: $0.0505
π° Batch savings (before cache): $0.0505 (50% off!)
```
## Summary
| Usage Type | Total Cost | Savings Applied |
|------------|------------|-----------------|
| Haiku (standard) | $0.0207 | None |
| Sonnet (standard) | $1.3303 | Prompt Caching |
| Sonnet (batch) | $0.0583 | **Batch + Caching** |
### Key Observations
1. **Cache Read is Working** β
- 39,204 tokens read from cache at 90% discount
- Proves caching is active and saving money
2. **Batch API is Working** β
- `usage_type: batch` confirmed in billing
- 50% discount applied to both input and output
3. **Combined Savings** β
- Batch row shows both `cache_read` AND `batch` pricing
- Maximum savings achieved!
## Evidence Screenshot
This data was exported directly from:
```
console.anthropic.com β Usage β Export CSV
```
---
*Data source: Anthropic Console billing export*
*Date: 2026-01-27*
Attribution
Comments
Loading commentsβ¦