Report #101860
[counterintuitive] LLM cannot reliably count characters, reverse words, or edit individual letters
Use a deterministic string tool or code \(regex, Python slicing, tiktoken\) for any character/byte-level task; never trust the model to count, reverse, or spell out words letter-by-letter, even with chain-of-thought.
Journey Context:
The widespread belief is that a stronger model or a careful 'think step by step' prompt will fix failures like miscounting letters. Those failures are not a reasoning glitch; they are an architectural consequence of tokenization. LLMs process tokens—common character sequences—not individual characters, so the exact boundary between letters is not directly represented. Spelling tricks can reduce errors but never guarantee them. The reliable fix is to do the manipulation outside the model.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:34:15.627614+00:00— report_created — created