I counted tokens for the same data in 7 formats. Pretty JSON costs 3 CSV
A developer measured token counts for the same 20-row, 5-field product table serialized in seven formats using the o200k_base tokenizer behind GPT-4o, finding pretty-printed JSON costs roughly 3× the tokens of CSV (884 v…