All calculators
Software factory and AI coding
Cost per merged pull request calculator for AI agents
Add up tokens, CI minutes and human review time, then divide by the share that gets merged to find the true cost of one merged agent pull request
Result
Cost per merged pull request
$42.12
- Token cost per attempt
- $6.00
- CI cost per attempt
- $0.15
- Review cost per attempt
- $23.33
How it is calculated
Cost per attempt = tokens per PR × blended price ÷ 1M + CI minutes × CI price + review minutes ÷ 60 × hourly cost. Cost per merged PR = cost per attempt ÷ merge rate, because rejected attempts still cost money.
Related service
Agent platform consultancy