17:03
2026-10-02
dev.to
large-language-models
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 …