One review sends the diff plus short instructions and policy notes. It returns review comments, so output stays a fraction of input.
Redact secrets before sending code to a hosted service. Send only the files the review needs.
Diff size | Input tokens | Output tokens | Cost (units) |
|---|---|---|---|
Small | 4000 | 400 | 0.0168 |
Typical | 12000 | 800 | 0.0456 |
Large | 25000 | 1500 | 0.093 |
The typical review carries 12000 input tokens and 800 output tokens. Substitution gives 0.0456 units at the EXAMPLE prices.
EXAMPLE prices (not real prices): 3 units per 1M input tokens, 12 units per 1M output tokens
typical review: 12000 input tokens, 800 output tokens
input part = 12000 / 1000000 x 3 = 0.036 units
output part = 800 / 1000000 x 12 = 0.0096 units
per review = 0.036 + 0.0096 = 0.0456 unitsForty typical reviews a day cost 40 times one review. That product is the daily budget line.
40 reviews a day at 0.0456 units each
daily total = 40 x 0.0456 = 1.824 units per dayInput gives 0.012 units and output gives 0.0048 units. The total is 0.0168 units.
The daily total halves to 0.912 units. Cost is linear in review count at a fixed mix.