Skip to content
Back to skills

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
ai-agentsapi

Works with

  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 105-billing-data-analysis_57458d6f --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 105 Billing Data Analysis 57458d6f?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 105 Billing Data Analysis 57458d6f
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-105-billing-data-analysis-57458d6f/badge)](https://www.skillsdirectory.com/skills/tools-only-105-billing-data-analysis-57458d6f)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# πŸ“Š 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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…