2 ms·
The second way produces more billable output tokens. Worse, when you feed that code back into the LLM service, the extra whitespace counts as input tokens.
by tomjakubowski 5mo ago
The second way produces more billable output tokens. Worse, when you feed that code back into the LLM service, the extra whitespace counts as input tokens.
- torginus 5mo agoan LF is 1 character, just like a space. Its just looks bigger to our puny human brains.
- tomjakubowski 5mo agoIt isn't a 1:1 substitution. Indenting each parameter like in the second example adds additional space characters: in this case, 4 extra spaces per parameter.