Coding agent cost calculator
Compare two sets of token counts at the same rates. Total input includes cached input. Enter output separately.
How the estimate works
Subtract cached tokens from total input to get uncached input. Multiply each of the three token counts by its rate per million, then add the three costs.
The starting values come from 24 Codex runs, 12 with the default instructions and 12 with shorter ones. The rates are the Standard-tier credits I recorded on October 1, 2026. Use your own rates to compare another workload. See the experiment and its results.