AI ML
Post #7433, on Nov 18, 2025 in TG
TOON Format Beats JSON for LLM Data Retrieval Accuracy While Using Fewer Tokens
Description
A dark-themed benchmark chart titled 'Per-Model Accuracy' showing 'Accuracy across 4 LLMs on 209 data retrieval questions'. Four models are compared: claude-haiku-4-5-20251001, gemini-2.5-flash, gpt-5-nano, and grok-4-fast-non-reasoning. Each model shows horizontal bar charts comparing six data formats: TOON, JSON, YAML, XML, JSON compact, and CSV. TOON consistently ranks #1 or near-top across all models. For claude-haiku: TOON 59.8% vs JSON 57.4%. For gemini-2.5-flash: TOON 87.6% vs JSON 77.0%. For gpt-5-nano: TOON 90.9% vs JSON 89.0%. For grok-4-fast: TOON 57.4% vs JSON 55.5%. The bottom states the key tradeoff: 'TOON achieves 73.9% accuracy (vs JSON's 69.7%) while using 39.6% fewer tokens on these datasets.'
Use J and K for navigation
Comments
21Comment deleted
We spent a decade declaring 'JSON won the format wars' only for LLMs to show up and say 'actually, this format you never heard of parses better and costs 40% less -- you're welcome.'
A new data format that's more accurate and uses 40% fewer tokens? I'm sure the benchmarks were run on a perfectly curated dataset that only contains the word 'aardvark'
What part of it supposed to be a meme material? Comment deleted
Can someone explain this one? Comment deleted
What Comment deleted
Did this benchmark just test llm ability to read info from some formats ? Like, you give llm json and query like data["data"][0]["data"] ? Comment deleted
Plain-English questions about data. They have examples here: https://github.com/toon-format/toon?tab=readme-ov-file#question-types Comment deleted
ai bros be benchmarking that TROON Comment deleted
troonin my model rn Comment deleted
ngmghhhhh Comment deleted
So, basically, it is Yaml2. Nice. Comment deleted
Who even chooses those names bruh 💔🥀 Comment deleted
https://www.improvingagents.com/blog/toon-benchmarks Comment deleted
toon toon toon toon toon sachoor Comment deleted
https://t.me/devs_chat/176551 brotha Comment deleted
I think Yaml could do the same with a bit of type-awareness hikes: !!csv id,name,distanceKm,elevationGain,companion,wasSunny 1,Blue Lake Trail,7.5,320,ana,true 2,Ridge Overlook,9.2,540,luis,false 3,Wildflower Loop,5.1,180,sam,true Comment deleted
https://t.me/devs_chat/176551 Comment deleted
TOON results cannot be consistent enough because modern LLMs weren't trained on such data. So the results will differ regarding on how good did you describe the format in your prompt. The model can easily hallucinate out and start producing YAML response because TOON and YAML are quite familiar Comment deleted
Stupid hype retards, my X feed is plagued with this shit. Also weird-angled Frieren. 😭 Comment deleted
Fun fact: most benchmarks are meaningless because if you alter the question even a bit the LLM flops Comment deleted
probably even for the benchmarks made between different models Comment deleted