Sub topic 12
Overthinking and diminishing returns
This chapter assumes you can call a reasoning model with an effort level or thinking budget, and that you know reasoning tokens are billed as output tokens. Those settings are covered in earlier chapters. Here the question is when more thinking stops helping.
Why more thinking does not always help
Extra reasoning tokens give a model room to plan, check its work and try another approach. That helps on hard problems. On easy problems the answer is usually found early, and the remaining tokens add cost and delay without changing the result.
Accuracy gains from added effort tend to shrink at each step. Going from low to medium effort may fix many errors. Going from medium to high may fix only a few, while still raising the bill and the wait. This is diminishing returns.
What overthinking looks like
Overthinking is reasoning that spends tokens without improving the answer, or that makes the answer worse. Common forms:
- Redundant checking. The model verifies a simple fact several times.
- Second-guessing. It reaches a correct answer, doubts it, and switches to a wrong one.
- Inflated scope. A simple lookup or reformatting job turns into a long analysis.
- Budget exhaustion. Reasoning uses up the output limit, so the visible answer is short or empty.
The last form is the most damaging in production. If reasoning shares the output limit, a generous effort setting combined with a small max_tokens can leave no room for the final text.
Signs you are past the knee of the curve
Look for these in your own measurements:
- Accuracy is flat across two effort levels, but latency and cost keep rising.
- Reasoning token counts for simple prompts are large compared with the length of the final answer.
- Some cases are correct at medium effort and wrong at high effort.
- Responses end with the stop reason
length(or the equivalent in your API) instead of a normal finish.
Reasoning token counts come from the usage fields shown in the earlier chapters. Compare them across effort levels on the same prompts.
Picking the cheapest setting that is good enough
A practical rule: choose the lowest effort whose accuracy is within a small tolerance of the best result you measured. The function below applies that rule to results shaped like the output of compare_efforts from the evaluation chapter.
def cheapest_good_effort(results, tolerance=0.03):
"""results: {effort: {"accuracy": float, "seconds_per_case": float}}"""
best = max(r["accuracy"] for r in results.values())
good = {
effort: r
for effort, r in results.items()
if r["accuracy"] >= best - tolerance
}
return min(good, key=lambda effort: good[effort]["seconds_per_case"])
results = {
"low": {"accuracy": 0.70, "seconds_per_case": 2.1},
"medium": {"accuracy": 0.86, "seconds_per_case": 5.4},
"high": {"accuracy": 0.88, "seconds_per_case": 14.8},
}
print(cheapest_good_effort(results))This prints medium. High effort is 2 points more accurate but takes almost three times as long.
The tolerance is a decision about your product, not a fixed constant. A medical-coding check might accept no loss. A draft summarizer might accept ten points.
Ways to reduce overthinking
- Lower the effort or budget for the task class that shows flat results.
- Route by difficulty. Send easy requests to a standard model or to low effort, and keep high effort for hard ones.
- Raise the output limit so reasoning cannot crowd out the answer. Keep it above the thinking budget with room for the reply.
- Remove redundant instructions. Telling a reasoning model to "think step by step" and "double-check everything" can encourage extra checking it already does.
Exercise
A task gives 91% accuracy at medium effort and 92% at high effort. High effort takes three times as long and costs about three times as much. The tolerance is 2 points. Which setting does the "cheapest good effort" rule choose, and why?
Show answer
Medium. Its accuracy is within 2 points of the best result (92% minus 2 is 90%, and 91% is above that), and it is faster and cheaper. The 1-point gain from high effort does not justify triple the latency and cost.