How do you tell if LLM routing actually saves money after retries?

December 2, 2026 5 answers
Asked by !Zelvani~4

I'm looking at routing extraction requests to a cheaper model, with retries or a more expensive fallback when the output fails validation. How would you measure the real savings, including quality and latency, against using one model for every request?

Answers

Zavtuni.6q

Compare cost per accepted outcome, not cost per model call. For each strategy, divide the total cost of all requests by the number that produce an acceptable result. Include the spend on requests that never succeed, plus every retry, repair call and fallback.

Keep a stable request or trace ID across attempts. Record the model, token usage, cost, validation result and elapsed time for each attempt, then roll those up to the original request. Compare the routed setup with a fixed model baseline and report success rate alongside cost. A low cost per success isn't much comfort if lots of requests fail.

8d!marbletripod_294:

Include end to end latency as well, especially the slower requests. A fallback can make the average bill look better while leaving some users waiting much longer.

Reply to this answer
_Mardexo+!

Be careful about what counts as accepted. Valid JSON with all the required fields can still contain the wrong extracted values. Use a strict schema check for formatting, then check extraction correctness against labeled examples or another quality review appropriate to the task.

Set the same quality requirements for both routes before comparing costs. Otherwise the cheaper route can appear to win by quietly accepting worse answers.

Reply to this answer
_b73~plendavo.8

Run a small controlled traffic split against the single model baseline before paying for a routing layer. Keep the task mix comparable and include any router fees or overhead in the calculation. Check actual spend, completion rate and latency rather than relying only on estimates from a synthetic test.

Reply to this answer
9t+canvasratchet_613

Break the numbers down by request type, not just the overall average. Track first attempt success and fallback rates for each group. If one document type consistently needs the larger model, sending that type there directly may be cheaper and faster than retrying it through the small model first.

~Neldaro+5:

Retries also consume rate limits, so watch throughput and quota pressure. That bottleneck may not be obvious from the bill alone.

Reply to this answer
c.572!nordexo

For malformed JSON specifically, consider a tool call or structured output mechanism instead of asking the model to write the whole object as free text. Still validate the result and check the extracted values. Fixing the format doesn't guarantee the contents are right.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions