rul1an/llm-cost

Estimate LLM costs in CI, enforce budgets, and (optionally) post sticky PR comments via llm-cost ci-action.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandCommand to run: 'ci-action' (default), 'check', 'estimate', 'convert'.noci-action
formatOutput format: 'text' (default) or 'sarif'.notext
argsExtra arguments to pass to the tool (e.g. --actuals foo.csv).no""
actualsPath to actuals file for check/governance (FOCUS-format CSV, e.g. actuals.csv).no""
sarif-outputOutput path for SARIF file (only if format=sarif).nollm-cost.sarif
fail-on-errorIf false, do not fail the job on non-zero exit codes (annotation-only).notrue
skip-installIf true, skip install.sh and use llm-cost already on PATH (for PR testing).nofalse
versionRelease tag to install (e.g. v1.1.0). Use 'latest' to resolve via GitHub API.nolatest
releases-repoRepo that hosts llm-cost release assets (owner/name).noRul1an/llm-cost
manifestPath to llm-cost.toml.nollm-cost.toml
budgetBudget in USD (string, e.g. 1.00). If set, ci-action enforces it.no""
fail-on-increaseFail if cost delta > 0.nofalse
post-commenttrue|false|auto. auto should skip posting on fork PRs.noauto
comment-thresholdMinimum absolute delta (USD) before commenting.no0
github-tokenToken used for GitHub API (PR comments). Defaults to workflow github.token if omitted.no""
verifytrue|false. If true, require checksum verification.notrue
sha256Optional expected sha256 for the downloaded binary (strong pin).no""
namedescription
exit-codeExit code returned by llm-cost.
sarif-filePath to SARIF file produced (if format=sarif).