You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first GitHub Action for tracking LLM API costs in CI pipelines.
Teams using AI in CI (code review, test generation, PR summaries) have zero visibility into spend. llm-cost-tracker gives you cost breakdowns, budget alerts, PR comment reports, and artifact output — entirely from built-in pricing tables, no external API required.
Features
Cost Calculation — built-in pricing tables for OpenAI, Anthropic, Google Gemini, and Cohere
Budget Alerts — set per-run budget limits, get warned or fail the build on overrun
PR Comment Report — post a detailed markdown cost breakdown to the PR
Log File Scanning — scan CI logs for OpenAI/Anthropic response payloads automatically
Artifact Output — write cost records as JSON or CSV for trend analysis
GitHub Job Summary — cost table written to the Actions job summary
No external APIs — all pricing built in, works offline