1.13 Understanding Run & Case Cost
How CertiQA converts each turn’s token usage into a real USD figure on every run and case, and what it means when cost shows as “-” instead of a dollar amount.
Where the Dollar Figure Actually Comes From
Section titled “Where the Dollar Figure Actually Comes From”certiqa-agent-runner records prompt and completion token counts for every single turn it runs – not an estimate after the fact, but the actual usage each provider’s API response reports for that call. At the start of a run or experiment, the runner fetches the platform’s current model price table (a lookup keyed by provider and model, giving USD per 1,000 prompt tokens and USD per 1,000 completion tokens separately, since most providers charge a different rate for each), multiplies those rates by the tokens each turn actually consumed, and sums the result first per case and then per run. Because it’s built turn-by-turn from real usage rather than an average, two cases that superficially look identical – same prompt template, same expected outcome – can post noticeably different costs if one triggered a longer chain of tool calls or a more verbose model response.
Where You See It
Section titled “Where You See It”Reading a Dash Correctly
Section titled “Reading a Dash Correctly”A dash in the Cost column means unknown, not free, and that distinction matters more than it looks. If a case ran against a model/provider pair that has no entry in the price table yet, its cost is deliberately left null rather than rendered as $0.00 – showing $0.00 would misleadingly assert the case cost nothing to run, when the true situation is that CertiQA simply doesn’t have a price on file for that particular model. Cost figures that do render show 4 decimal places (for example $0.0142) rather than the usual 2, because a single turn against a cheap model is very often well under a whole cent, and rounding to $0.01 would make every such case look identical.