DT
โ†
Back to Blog
AI EngineeringJuly 5, 2026 โ€ข 9 min read

You Are Using the
Wrong Model for the Job

Lessons from two opposite bugs that turned out to be the same mistake. Drawn from building SembleOps, a personal operations ensemble.

๐Ÿ“ Show Notes & Ideasโ–ผ
๐Ÿ“
Notes & Ideas

Danny's Quick Takes:

  • โ†’max_tokens and max_completion_tokens are not the same. One caps the visible answer. The other caps thinking plus the answer, and reasoning models spend the thinking tokens first.
  • โ†’A low cap on a reasoning model gives you nothing, not something short. The model burns the budget thinking, returns an empty answer, and still reports HTTP 200. It looks like a success.
  • โ†’Empty completion = failure. Detect it, log the finish_reason, and retry or fall through to the next model. Never pass a blank result to a user.
  • โ†’Not every task needs a reasoning model. Routing, classification, and extraction are pattern-matching jobs. Minimal reasoning took my routing call from 33 seconds down to 2.
  • โ†’Control length in the prompt, not the cap. Give a word range and a structure. The token cap is runaway protection, not a steering wheel.

The Bottom Line:

Choose the smallest model that does the job, tell it how long the answer should be, and never accept an empty result as a success. A token cap is there for safety, not for control, and a powerful model is a tool, not the default.

0

ยฉ 2026 DTHOMPSONDEV. All rights reserved.

RRSS Feed