rc397/Calcis LLM Cost Estimate

Estimate LLM API costs for prompt files in PRs. Cost deltas, budget gates, 25+ models.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
api-keyCalcis API key (starts with calc_). Get one at https://calcis.dev/dashboardyes
modelDefault LLM model to estimate costs for (e.g. claude-sonnet-4-6, gpt-4o). Overridden by `model` in .calcis.yml when present.noclaude-sonnet-4-6
file-patternsComma-separated glob patterns for prompt files to scan. Overridden by `file-patterns` in .calcis.yml when present.no**/*.prompt,**/prompts/**
max-filesMaximum number of files to estimate per run (prevents excessive API calls)no10
monthly-callsEstimated API calls per month. When set, the PR comment includes a monthly cost projection. Overridden by `projection.monthly-calls` in .calcis.yml.no""
fail-on-budgetWhen true, the calcis/cost check fails if any `.calcis.yml` fail threshold is exceeded. Set to false to configure budgets without blocking merges during rollout.notrue
namedescription
total-costTotal estimated cost of the PR in USD
delta-totalTotal cost delta in USD (PR total minus base total)
files-scannedNumber of prompt files scanned
files-skippedNumber of files skipped (over limit, too large, or empty)
budget-statusBudget evaluation result: pass, warn, or fail
monthly-projectionProjected monthly cost in USD when monthly-calls is configured (otherwise 0)