Skip to content

πŸ“Š Claude Token Usage Report2026-04-04Β #1670

@github-actions

Description

@github-actions

Overview

Period: 2026-04-03T20:07Z to 2026-04-04T19:18Z (since previous report Β§1646)
Runs analyzed: 4 of 4 Claude-engine runs (all had token data)
Total tokens: 317K across all workflows
Estimated total cost: $0.74

Only Secret Digger (Claude) ran Claude-engine workflows this period β€” no Security Guard or other Claude workflows ran. All 4 runs show consistent, efficient behavior with excellent cache performance.


Workflow Summary

Workflow Runs Requests Total Tokens Est. Cost Cache Rate I/O Ratio Top Model
secret-digger-claude 4 3/run ~79K/run $0.18/run 99.7% 23:1 sonnet-4.6

πŸ” Optimization Opportunities

  1. ℹ️ Secret Digger β€” Cache write rate ~51% β€” Consistent with prior reports. Pattern is structurally sound: request 2 (sonnet) writes ~38K context tokens, request 3 immediately reads them back within the same run. The 37,927-token cache write is identical across all 4 runs (same system prompt size), confirming stability.

    • Recommendation: No action needed. This is expected behavior for a 2-sonnet-turn workflow.
  2. βœ… I/O ratio improved β€” Avg I/O ratio dropped from ~45:1 (previous period) to ~23:1 this period, meaning the model is producing more output tokens relative to input. This is a healthy shift toward more generative responses.

  3. βœ… Haiku pre-classification is cheap β€” The first request per run uses Haiku (123 input, ~90 output tokens, no cache) for what appears to be a routing or classification step. Cost is negligible (<$0.001/run).


Per-Workflow Details

secret-digger-claude

  • Runs: 4 β€” Β§23985786137, Β§23984775302, Β§23983697521, Β§23982686901
  • Requests: 3/run (12 total) β€” 1Γ— Haiku, 2Γ— Sonnet per run
  • Models: claude-haiku-4-5-20251001 (1 req/run), claude-sonnet-4-6 (2 reqs/run)
  • Per-run token breakdown (all runs highly consistent):
    • Input: ~127 tokens
    • Output: 1,280–2,015 tokens
    • Cache read: 37,927 tokens (from prior turn within same run)
    • Cache write: 37,927–39,866 tokens
  • Totals (4 runs): 508 input | 6,745 output | 151,708 cache_read | 158,048 cache_write
  • Cache hit rate: 99.7% (stable, 4/4 runs)
  • Cache write rate: ~51% (stable)
  • Avg latency: 12,271ms/request
  • Estimated cost: $0.18/run Γ— 4 = $0.74 total

Per-run breakdown:

Run Created Output Tokens Cache Read Cache Write Cost Avg Latency
Β§23985786137 19:18Z 1,522 37,927 39,341 $0.18 10,484ms
Β§23984775302 18:18Z 2,015 37,927 39,866 $0.19 13,610ms
Β§23983697521 17:15Z 1,928 37,927 39,742 $0.19 15,405ms
Β§23982686901 16:16Z 1,280 37,927 39,099 $0.18 9,586ms
Workflows Without Token Data (This Period)

No Claude-engine workflows other than Secret Digger ran in the last 24 hours:

  • security-guard β€” no runs (no active PRs with Claude agent review)
  • smoke-claude β€” no runs detected

Historical Trend

Period Workflow Runs Total Cost Cache Rate I/O Ratio
2026-04-04 (today) secret-digger-claude 4 $0.74 99.7% 23:1
2026-04-03 secret-digger-claude 3 ~$0.51 99.7% 38–53:1
2026-04-03 security-guard 1 $0.87 99.1% 57:1

Cost per Secret Digger run: $0.17 β†’ $0.18 (+8%) β€” minor increase, within normal variance. I/O ratio improved significantly (45:1 β†’ 23:1), indicating more generative outputs per run.

Previous Report

πŸ“Š Claude Token Usage Report 2026-04-03 (Β§1646)


References:

Generated by Daily Claude Token Usage Analyzer Β· β—·

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions