A cheaper model call can cost more to finish

Compare model costs after retries, fallbacks, and corrections. A worked example shows how a cheaper first call can lose its price advantage.

Trying a cheaper model first can save money. It can also mean paying for two calls when the first answer needs replacing. Add retries and someone checking the work, and the price of the first call tells you very little about the bill for the finished task.

To compare models, run the same batch of requests through each setup. Add up the costs, including failed attempts, and divide by the number of usable results. Record the time people spend correcting the answers too.

Compare the whole batch

Suppose you have 100 intake requests. These are invented numbers in arbitrary cost units, used to show the calculation. They aren’t model prices or benchmark results.

In the first setup, each request starts with a small model at 1 unit per call. Eighty requests then need a second model at 4 units each. Choosing between models and calling other tools adds another 80 units. At the end, 90 requests are handled correctly.

The second setup sends every request straight to the other model at 5 units per request. It handles 98 correctly. For this example, that price includes all of its calls and tools.

Setup First calls Second calls Other costs Total cost Correct results Cost per correct result
Small model first 100 × 1 80 × 4 80 500 90 5.56 units
Direct to the other model 100 × 5 0 0 500 98 5.10 units

Both batches cost 500 units. Dividing by the correct results gives 500 ÷ 90 ≈ 5.56 for the first setup and 500 ÷ 98 ≈ 5.10 for the second. The cheap first call lost its advantage because so many requests needed another attempt.

If your requirement was at least 95 correct results, the first setup would also miss it. Human review is separate from these figures. Add its cost only if you state how you’re converting review time into money.

Decide which answers you can use

For an intake request, a correct result might mean that it reached the right team with the right urgency. A request covering two unrelated issues might need a person to decide where it belongs. Check the saved queue as well as the model’s answer.

Use those same checks for each setup. Include requests with missing details and conflicting instructions, and repeat examples where the answer varies between runs. Keep the number of attempts and the failures with your results. Anthropic’s evaluation guide explains how to test the outcome of an agent’s work; our intake example walks through a record you can inspect.

Routing has its own costs

Routing means choosing which code, model, or person handles a request. Sometimes an ordinary condition is enough: a verified account field can identify the destination without another model call. Classification from free text may need a model, while a difficult research request may need a different one.

Ollama’s announcement of Jev-style decision models describes another option for that classification step. It still needs testing on your requests. If you only process a few tasks or can’t tell the categories apart, maintaining several routes may cost more effort than it saves.

Numbers to keep when you compare routes

For each batch, record the requests submitted, correct results, unresolved failures, and total cost. Keep review minutes and completion times alongside them. Measure time until the result is usable, including retries; the first response may arrive long before that.

Break the results down by type of task. Easy requests can make an average look good while a small group of difficult requests consumes most of the money. Keep the model versions, inputs, and routing rules so you can repeat the comparison.

Test the backup model too

A fallback can have different tools, input limits, prices, or data-handling terms. Check those before sending it the same work. Set retry and spending limits, decide which failures need a person, and keep a previous working configuration you can restore.

Cloudflare’s routing documentation describes conditions, quotas, fallbacks, and versioned changes. Those controls can help manage the requests. Your batch results tell you whether the chosen route produces work you can use.

For a closer comparison of classification options, see decision models, rules, and LLMs. Sources in this article were originally checked on October 7, 2026.

Compare your model costs.

Bring a task and a few recent runs. We’ll compare the model charges, retries, and time spent fixing the answers.

Discuss model routing
Call (423) 497-0505 Start a Project