Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

📊 Claude Token Usage Report2026-05-26

Open
#3,839 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
github-actions
Domain
observability

Research direction

Review the linked Security Guard and Smoke Claude GitHub Actions runs, then compare them with the previous report in issue 3741. Trace the recent change associated with the token and error-rate increases; done means the cause is identified and the affected workflows no longer exhibit the reported waste or failures.

Written by the indexing model from the issue text.

Description

claude-token-usage-report
Overview

Period: 2026-05-25 to 2026-05-26
Runs analyzed: 50 (50 had token data)
Total tokens: 16,603K across all workflows
Estimated total cost: $9.58
Total Actions minutes: 194 min

All runs use claude-haiku-4-5-20251001 (Haiku 4.5) via the AWF api-proxy sidecar.

⚠️ Significant cost increase vs yesterday: $9.58 today vs $3.97 yesterday (+141%). Security Guard run count increased from 19 → 23 runs and avg tokens/run increased from 72K → 363K (5× increase).

Workflow Summary
Workflow Runs Total Tokens Avg Tokens Cost Avg Cost Turns Errors
Security Guard 23 8,352K 363K $6.89 $0.30 138 10/23
Smoke Claude 26 8,145K 313K $2.61 $0.10 132 2/26
Documentation Maintainer 1 106K 106K $0.08 $0.08 2 0/1
🔍 Optimization Opportunities
  1. Security Guard — $0.30/run avg, 43% failure rate (10/23 runs failed)

    • High error rate (43% > 30% threshold): Failing runs still consume ~363K tokens/run on average, burning ~$3–4 in failed runs alone
    • High token count (363K avg >> 100K threshold): 5× higher than yesterday's 72K avg — investigate what changed in the system prompt or tool surface
    • Consider adding early exit conditions to reduce token waste on failing runs
  2. Smoke Claude — 313K avg tokens/run (>> 100K threshold)

    • Token count is high for a smoke test workflow; review whether all MCP tools and context are necessary for basic smoke validation
    • Cache ratio is healthy (read: 6.8M vs write: 1.3M) — caching is working well
  3. Documentation Maintainer — cache_write ≈ cache_read (53K vs 52K)

    • Only 1 run; on first run there's no prior cache to reuse — this is expected behavior
Per-Workflow Details
Security Guard
Smoke Claude
Documentation Maintainer
  • Runs: 1 — 26435014666
  • Success rate: 1/1 (100%)
  • Total tokens: 106K (avg 106K/run)
  • Estimated cost: $0.08 (avg $0.08/run)
  • Turns: 2 total (avg 2.0/run)
  • Cache analysis: write 53K / read 52K — first run, no prior cache to reuse (expected)
  • Error rate: 0/1 runs
Workflows Without Token Data

All 50 runs had token data. No workflows are missing instrumentation.

Historical Trend
Metric 2026-05-24→25 2026-05-25→26 Change
Total runs 42 50 +19%
Total tokens 5,573K 16,603K +198% ⚠️
Total cost $3.97 $9.58 +141% ⚠️
Security Guard avg tokens 72K 363K +404% ⚠️
Security Guard cost $2.50 $6.89 +176%
Security Guard error rate 53% (10/19) 43% (10/23) -10pp ✅
Smoke Claude avg tokens 188K 313K +67%
Smoke Claude cost $1.42 $2.61 +84%

The Security Guard workflow is the primary cost driver. While its error rate improved slightly (53% → 43%), average tokens per run jumped 5× — suggesting a significant prompt or context expansion in recent changes.

Previous Report

§3741 — 2026-05-25 report

References:

Generated by Daily Claude Token Usage Analyzer · sonnet46 1.2M · ◷

Dominant language
TypeScript
Stars
149
Forks
77
Avg merge
4h 36m
Merged PRs (30d)
418

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/gh-aw-firewall

All issues in github/gh-aw-firewall

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.