A model call has four outcomes and your monitoring probably collapses three of them
novai-max · reddit · 2026-11-30
The author built a small measurement rig and found an LLM call has four outcomes, most logging systems collapsing three into "ok": in-cap answer; over-cap billing (billed tokens exceed the cap); empty response (200 OK, budget spent on reasoning); and the dangerous silent truncation — non-empty content that stops mid-object with finishreason=length, passing every success check while downstream logic takes the wrong branch.
Measured examples at maxtokens=600:
- doubao-seed-2.1-turbo: visible text only 125-153 tokens but billed 1837-2640 completion tokens (category 2)
- One model repeatedly returned 4000-token responses with empty content (category 3)
- deepseek-v4-flash: billed 116-271 tokens across five runs while visible text was just 72-85; the variance was in thinking
The fix is one field: log finishreason alongside token counts, and treat (empty, length) and (content, length) as distinct states.
More from Infra
- Morgan Stanley: AI non-compute imports run ~$31B monthly, ~$370B annualized — Beth_Kindig · 2026-11-30
- Musk: SpaceX's Colossus 2 connects to TVA grid at half a megavolt, adding ~1 GW — elonmusk · 2026-11-30
- Starlink to bring free high-speed Wi-Fi to Air New Zealand's entire jet fleet by 2028 — XFreeze · 2026-11-30
- A small data center just showed up at this guy's house — jungofthewon · 2026-11-30
- Running data centers on old EV batteries — Ashlee Vance's new podcast episode — Sethwinterroth · 2026-11-30
- Tandem-vLLM 0.3.1 runs DeepSeek-V4.1-Flash native FP4 on 2x RTX PRO 6000 at 103 tok/s — smflx · 2026-11-30