Jobs, not the retired timing API
GitHub is closing the workflow timing endpoints. PRCost uses started_at and completed_at from the Actions jobs API.
GitHub Actions, priced on the pull request
PRCost reads each job’s start and finish, rounds up to the next minute, and multiplies by GitHub’s published runner rate. One comment on the pull request stays current as runs finish.
Pull request comment, as GitHub receives it
## PRCost **Estimated Actions cost for this pull request:** $0.228 **Versus `main`:** $0.222 above a typical `main` pass ($0.006 across 5 recent runs) (+3700%). **Slowest job:** lint · 6m 05s **Most expensive job:** build · $0.186 _1 workflow run on this pull request._ | Job | Runner | Minutes | Cost | | --- | --- | ---: | ---: | | build | macOS 3-core or 4-core | 3 | $0.186 | | lint | Linux 2-core | 7 | $0.042 | **Last 7 pull requests** ██░░░░░░ #38 $0.048 ██░░░░░░ #39 $0.051 ██░░░░░░ #40 $0.044 ███░░░░░ #41 $0.09 ██░░░░░░ #42 $0.062 ██░░░░░░ #43 $0.07 ████████ **#44** $0.228 <sub>List price from each job’s start and finish, rounded up to the next minute, times GitHub’s published per-minute rate. Standard runners on public repositories and self-hosted jobs are $0. Larger runners are billed on public repositories. Included plan minutes can reduce the GitHub invoice. This comment is not a bill. Job timing comes from the Actions jobs API, not the retired timing endpoints.</sub>
GitHub is closing the workflow timing endpoints. PRCost uses started_at and completed_at from the Actions jobs API.
Partial minutes round up. Linux 2-core is $0.006, Windows 2-core is $0.010, and macOS is $0.062. Larger runners are in the same rate table.
Standard runners on public repositories cost $0. Self-hosted jobs cost $0. Larger runners are billed even when the repository is public.
Free
$0
One repository per organization.
Pro
$19
Per organization, each month. For every repository in the organization.
Register the app from this site after deploy, or post app-manifest.json to GitHub. Permissions are actions:read, pull_requests:write, and metadata:read. Job timing does not need the checks API.
Origin used for the manifest: https://prcost.pages.dev