By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: New Token-Oriented Object Notation (TOON) Hopes to Cut LLM Costs by Reducing Token Consumption
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > New Token-Oriented Object Notation (TOON) Hopes to Cut LLM Costs by Reducing Token Consumption
News

New Token-Oriented Object Notation (TOON) Hopes to Cut LLM Costs by Reducing Token Consumption

News Room
Last updated: 2025/11/22 at 10:23 PM
News Room Published 22 November 2025
Share
New Token-Oriented Object Notation (TOON) Hopes to Cut LLM Costs by Reducing Token Consumption
SHARE

The recently released Token-Oriented Object Notation (TOON) aims to be a schema-aware alternative to JSON that significantly reduces token consumption at a similar level of accuracy. While the existence and quantity of saved tokens depend on the data shape, some benchmarks show that TOON may use 40% fewer tokens in some cases than JSON, potentially resulting in LLM and inference cost savings.

TOON self-describes as a compact, human-readable encoding of the JSON data model for LLM prompts.

Consider the following JSON:


{
  "context": {
    "task": "Our favorite hikes together",
    "location": "Boulder",
    "season": "spring_2025"
  },
  "friends": ["ana", "luis", "sam"],
  "hikes": [
    {
      "id": 1,
      "name": "Blue Lake Trail",
      "distanceKm": 7.5,
      "elevationGain": 320,
      "companion": "ana",
      "wasSunny": true
    },
    {
      "id": 2,
      "name": "Ridge Overlook",
      "distanceKm": 9.2,
      "elevationGain": 540,
      "companion": "luis",
      "wasSunny": false
    },
    {
      "id": 3,
      "name": "Wildflower Loop",
      "distanceKm": 5.1,
      "elevationGain": 180,
      "companion": "sam",
      "wasSunny": true
    }
  ]
}

In the TOON format, the same data becomes:


context:
  task: Our favorite hikes together
  location: Boulder
  season: spring_2025

friends[3]: ana,luis,sam

hikes[3]{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

Running this example in an online playground will show a 55% reduction in tokens vs. pretty-printed JSON, 25% vs. compact JSON, and 38% vs. YAML.

 

As the previous example showcases, TOON combines YAML (for nested objects) and CSV (for uniform arrays) layouts to save tokens. However, for non-uniform data, JSON may be more efficient. For deeply nested objects, YAML may be more token-efficient. For flat datasets, CSV remains the most compact format. TOON adds a small overhead (~5%) with field headers and array declarations, in order to improve LLM accuracy.

Johann Schopplich explained on X:

“Does token efficiency hurt accuracy?”

No 🙂 TOON hits 99.4% accuracy on GPT 5 Nano while using 46% fewer tokens.

Tested across ~160 questions and 3 LLMs with semantic validation.

I think explicit lengths + field lists = fewer mistakes.

Readers may review TOON’s specifications, documentation, online playgrounds, and run their own efficiency and accuracy benchmarks. In latency-critical applications, developers should compare Time To First Token and tokens per second in both formats.

The reference implementation in TypeScript/JavaScript is maintained at github.com/toon-format/toon. The reference implementation includes a complete encoder and decoder, CLI tools for JSON-to-TOON conversion, and performance benchmarks. TOON 1.0 was released under the MIT license two weeks ago.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Today's NYT Mini Crossword Answers for Nov. 23 – CNET Today's NYT Mini Crossword Answers for Nov. 23 – CNET
Next Article 25,000 NC renters could see fairer prices after landmark deal. What is it? 25,000 NC renters could see fairer prices after landmark deal. What is it?
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Which headphones should I get? Bose QC Ultra (Gen 2), Sony XM6, and AirPods Max
Which headphones should I get? Bose QC Ultra (Gen 2), Sony XM6, and AirPods Max
News
5 EVs You Should Avoid (According To Consumer Reports) – BGR
5 EVs You Should Avoid (According To Consumer Reports) – BGR
News
Waymo gets regulatory approval to expand across Bay Area and Southern California |  News
Waymo gets regulatory approval to expand across Bay Area and Southern California | News
News
Google just went rogue with AirDrop, and I’m loving it!
Google just went rogue with AirDrop, and I’m loving it!
News

You Might also Like

Which headphones should I get? Bose QC Ultra (Gen 2), Sony XM6, and AirPods Max
News

Which headphones should I get? Bose QC Ultra (Gen 2), Sony XM6, and AirPods Max

12 Min Read
5 EVs You Should Avoid (According To Consumer Reports) – BGR
News

5 EVs You Should Avoid (According To Consumer Reports) – BGR

9 Min Read
Waymo gets regulatory approval to expand across Bay Area and Southern California |  News
News

Waymo gets regulatory approval to expand across Bay Area and Southern California | News

3 Min Read
Google just went rogue with AirDrop, and I’m loving it!
News

Google just went rogue with AirDrop, and I’m loving it!

10 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?