A 500-line diff plus enough surrounding context to review it honestly ≈ 12,000 input tokens. Review comments on a change that size ≈ 900 output tokens.
Cost = (input tokens ÷ 1M × input price) + (output tokens ÷ 1M × output price). Prices come from our daily-verified model data. Batch and cached-input discounts are not applied — they only ever make these numbers smaller.
“Needs chunking” means the model's context window can't hold this job in a single pass, so the real cost is higher than the figure shown and quality usually suffers.
Should you just pick the cheapest?
Cheap models miss the class of bug worth catching — the cross-file one that needs the surrounding context you just paid to send. Cost per review is small enough at every tier that paying up for the model with the better SWE-bench score is usually the right trade.
How much does it cost to review a pull request with AI?
$0.0005 on Llama 3.2 1B Instruct, the cheapest capable option, rising to $0.082 on Claude Opus 4.8 at the top end. Mistral Small 3.2 24B is the value pick at $0.0011 per run. The job is priced at 12,000 input and 900 output tokens — see the working below.
How did you work out the token count for this task?
A 500-line diff plus enough surrounding context to review it honestly ≈ 12,000 input tokens. Review comments on a change that size ≈ 900 output tokens.
What does this cost at 400 PRs a month?
$0.202 a month on Llama 3.2 1B Instruct, $0.432 on Mistral Small 3.2 24B, and $33.00 on Claude Opus 4.8. Batch APIs typically halve these figures for work that can wait, and prompt caching cuts the input side further when the same context is reused.
Is the cheapest model the right choice for this task?
Cheap models miss the class of bug worth catching — the cross-file one that needs the surrounding context you just paid to send. Cost per review is small enough at every tier that paying up for the model with the better SWE-bench score is usually the right trade.
Are these prices current?
Yes. Every figure on this page is computed from our model pricing data, which is checked daily against each provider's official pricing page. When a provider changes a price, these numbers change with it.