One extra space cost me ๐๐% ๐ฆ๐จ๐ซ๐ ๐ญ๐จ๐ค๐๐ง๐ฌ. ๐คฏ
This story is from 2026-11-30. It is preserved in the archive; the latest stories are on the live feed.
I ran a small experiment with OpenAI's tokenizer (tiktoken), and it explains a lot about LLM cost, speed, and context. "Hello World" โ ๐ ๐ญ๐จ๐ค๐๐ง๐ฌ "Hello World" (2 spaces) โ ๐ ๐ญ๐จ๐ค๐๐ง๐ฌ That second space becomes its own token (id 220). Same words. ๐๐% ๐ฆ๐จ๐ซ๐ ๐ญ๐จ๐ค๐๐ง๐ฌ. Small detail,โฆ
Read the full story at DEV Community โ Machine Learning โ
Timeline ยท 1 report
- 2026-11-30 17:19 ยท DEV Community โ Machine Learning
One extra space cost me ๐๐% ๐ฆ๐จ๐ซ๐ ๐ญ๐จ๐ค๐๐ง๐ฌ. ๐คฏ