I counted tokens for the same data in 7 formats. Pretty JSON costs 3× CSV
Most of us paste data into LLM prompts as JSON, often straight from JSON.stringify(data, null, 2). I had never checked what that costs in tokens, so I took one table, wrote it in seven formats and cou