terset
Color theme

Benchmark, real files

Accuracy on real files

Accuracy was level. Every format got 39 or 40 of 40 questions right on each model. Terset used fewer whole-prompt input tokens overall: 22.5% fewer on Claude Opus 5.5 and 18.8% fewer on GPT 6.2 Sol, against compact JSON. These runs used Terset 1.1. A sample of 40 questions is too small to show a difference in accuracy between formats.

Results by model

Real public files: the USGS earthquake feed for one day and the National Weather Service forecast grid for one square. 40 questions, 3 formats, 2 models.

Claude Opus 5.5

Claude Opus 5.5: correct answers and whole-prompt input tokens per file and format, with the change against compact JSON
FileFormatCorrectInput tokensvs compact JSON
USGS earthquakesCompact JSON19 of 201,640,419-
TOON19 of 201,750,739+6.7%
Terset19 of 201,083,999 (fewest)−33.9%
NWS forecast gridCompact JSON20 of 20836,270-
TOON20 of 20689,150 (fewest)−17.6%
Terset20 of 20835,730−0.1%
Both filesCompact JSON39 of 402,476,689-
TOON39 of 402,439,889−1.5%
Terset39 of 401,919,729 (fewest)−22.5%

GPT 6.2 Sol

GPT 6.2 Sol: correct answers and whole-prompt input tokens per file and format, with the change against compact JSON
FileFormatCorrectInput tokensvs compact JSON
USGS earthquakesCompact JSON20 of 201,106,938-
TOON20 of 201,295,938+17.1%
Terset19 of 20770,058 (fewest)−30.4%
NWS forecast gridCompact JSON20 of 20683,766-
TOON20 of 20625,026 (fewest)−8.6%
Terset20 of 20683,566−200 tokens
Both filesCompact JSON40 of 401,790,704-
TOON40 of 401,920,964+7.3%
Terset39 of 401,453,624 (fewest)−18.8%

Input tokens are summed over every question on that file. Bold marks the fewest input tokens in each group. Minus means fewer tokens than compact JSON.

Where Terset saves tokens, and where it does not

USGS earthquakes

  • Terset used the fewest input tokens on both models.
  • Against compact JSON, Terset used 33.9% fewer on Claude Opus 5.5 and 30.4% fewer on GPT 6.2 Sol.
  • TOON used 6.7% more on Claude Opus 5.5 and 17.1% more on GPT 6.2 Sol.

NWS forecast grid

  • TOON used the fewest input tokens on both models.
  • Against compact JSON, Terset used 0.1% fewer on Claude Opus 5.5 and 200 fewer tokens on GPT 6.2 Sol.
  • So on this file Terset saves under 1.0% against compact JSON on both models.
  • TOON used 17.6% fewer on Claude Opus 5.5 and 8.6% fewer on GPT 6.2 Sol.

The files alone

Counted with o200k_base, with no question and no instructions:

  • USGS earthquakes, one day: Terset has 30.5% fewer tokens than compact JSON and 40.6% fewer tokens than TOON.
  • NWS forecast grid, nested: Terset has 15.5% fewer tokens than compact JSON and 7.3% fewer tokens than TOON.

Every wrong answer

4 wrong of 240 answers.

Every wrong answer: the model, the format, the file, the question, the expected answer and what the model said
ModelFormatFileQuestionExpectedModel said
Claude Opus 5.5Compact JSONUSGS earthquakesr006: How many features have properties.mag at or above 1?182No answer (output limit)
Claude Opus 5.5TOONUSGS earthquakesr006: How many features have properties.mag at or above 1?182No answer (output limit)
Claude Opus 5.5TersetUSGS earthquakesr006: How many features have properties.mag at or above 1?182No answer (output limit)
GPT 6.2 SolTersetUSGS earthquakesr007: How many features have properties.mag at or above 2.5?4140

Claude Opus 5.5 returned no answer to r006 in all three formats. Each time it used the whole output limit of 2,048 tokens before it wrote one. The limit is the same in every format.

We did not rerun with a higher limit, because that would change the method after seeing the results.

Method

  • Both files were fetched and frozen byte for byte on 2026-11-17, before any token count.
  • Code wrote the 40 questions, 20 per file, and computed each answer from the data. They were frozen before any model call. None was removed after.
  • Each question went once to each model in each format, with the whole file in the prompt, at temperature zero.
  • Code scored every answer against the expected answer. No model judged them.
  • One run per model, two runs in all, so there is no estimate of run to run variance.
  • Input tokens are what each API reported for the whole prompt: the instructions, the format notes, the file and the question.

Raw runs and questions

Tokens are the main unit here. The run reports also give cost at these list prices:

  • Claude Opus 5.5: $4 per million input tokens and $20 per million output tokens, read on 2026-11-26. Claude Opus 5.5 price page
  • GPT 6.2 Sol: $2 per million input tokens and $10 per million output tokens, read on 2026-11-26. GPT 6.2 Sol price page

400 questions on the same files

Accuracy was level across the three formats. No gap between them is statistically significant.

Claude Opus 5.5 got 398 of 400 right in compact JSON, 398 in TOON and 400 in Terset.

GPT 6.2 Sol got 389 of 400 right in compact JSON, 389 in TOON and 390 in Terset.

Both files together, Terset used 22.5% fewer input tokens than compact JSON on Claude Opus 5.5 and 18.8% fewer on GPT 6.2 Sol.

Per file it differs. On the NWS forecast grid, Terset used about as many input tokens as compact JSON, and TOON used the fewest.

These runs used Terset 1.1. On the NWS forecast grid, Terset 1.2 used 6.6% fewer input tokens than TOON on Claude Opus 5.5 and 7.5% fewer on GPT 6.2 Sol. See the Terset 1.2 run below.

How it ran

  • The same two files, asked 400 new questions: 200 per file, 25 of each of eight kinds.
  • The kinds are field retrieval, count, extreme, nested lookup, count with two conditions, compare, position and rank.
  • Code wrote the questions and computed each answer from the data. They were frozen before any model call. None was removed after.
  • A separate pilot of 24 questions ran first. It changed no question, and its scores are not in these tables.
  • The output limit was 8,192 tokens per call, the same in every format.
  • Each model answered every question in each format, with the whole file in the prompt. These runs used Terset 1.1. Code scored every answer. No model judged them.

Claude Opus 5.5

Claude Opus 5.5, 400 questions: correct answers and whole-prompt input tokens per format, both files together, with the change against compact JSON
FileFormatCorrectInput tokensvs compact JSON
Both filesCompact JSON398 of 40024,769,266-
TOON398 of 40024,401,266−1.5%
Terset400 of 40019,199,666 (fewest)−22.5%

GPT 6.2 Sol

GPT 6.2 Sol, 400 questions: correct answers and whole-prompt input tokens per format, both files together, with the change against compact JSON
FileFormatCorrectInput tokensvs compact JSON
Both filesCompact JSON389 of 40017,908,786-
TOON389 of 40019,211,386+7.3%
Terset390 of 40014,537,986 (fewest)−18.8%

Input tokens are summed over every question on both files. Bold marks the fewest input tokens. Minus means fewer tokens than compact JSON.

The same question in two formats

This compares answers to the same question asked in two formats. It counts only the questions one format got right and the other got wrong.

The gap is Terset's share of right answers minus the other format's, in percentage points.

The exact McNemar test gives p. A gap counts as statistically significant when p is under 0.05. No p here is under it, and every 95% interval includes zero.

For each model, Terset against each other format on the same 400 questions: how many only Terset got right, how many only the other format got right, the gap in percentage points, its 95% interval and the exact McNemar p value
ModelTerset againstOnly Terset rightOnly the other rightGap, points95% interval, pointsExact p
Claude Opus 5.5Compact JSON20+0.5−1.0 to 2.00.5
TOON20+0.5−1.0 to 2.00.5
GPT 6.2 SolCompact JSON76+0.25−2.9 to 3.41
TOON54+0.25−2.5 to 2.91

400 questions, file by file

USGS earthquakes

  • Terset used the fewest input tokens on both models.
  • Against compact JSON, Terset used 33.9% fewer on Claude Opus 5.5 and 30.4% fewer on GPT 6.2 Sol.
  • TOON used 6.7% more on Claude Opus 5.5 and 17.1% more on GPT 6.2 Sol.

NWS forecast grid

  • TOON used the fewest input tokens on both models.
  • Against compact JSON, Terset used 0.1% fewer on Claude Opus 5.5 and 2,000 fewer tokens on GPT 6.2 Sol.
  • So on this file Terset saves under 1.0% against compact JSON on both models.
  • TOON used 17.6% fewer on Claude Opus 5.5 and 8.6% fewer on GPT 6.2 Sol.

These runs used Terset 1.1. On the NWS forecast grid, Terset 1.2 used 6.6% fewer input tokens than TOON on Claude Opus 5.5 and 7.5% fewer on GPT 6.2 Sol. See the Terset 1.2 run below.

Claude Opus 5.5

Claude Opus 5.5, 400 questions: correct answers and whole-prompt input tokens per file and format, with the change against compact JSON
FileFormatCorrectInput tokensvs compact JSON
USGS earthquakesCompact JSON200 of 20016,404,962-
TOON199 of 20017,508,162+6.7%
Terset200 of 20010,840,762 (fewest)−33.9%
NWS forecast gridCompact JSON198 of 2008,364,304-
TOON199 of 2006,893,104 (fewest)−17.6%
Terset200 of 2008,358,904−0.1%

GPT 6.2 Sol

GPT 6.2 Sol, 400 questions: correct answers and whole-prompt input tokens per file and format, with the change against compact JSON
FileFormatCorrectInput tokensvs compact JSON
USGS earthquakesCompact JSON191 of 20011,069,994-
TOON193 of 20012,959,994+17.1%
Terset193 of 2007,701,194 (fewest)−30.4%
NWS forecast gridCompact JSON198 of 2006,838,792-
TOON196 of 2006,251,392 (fewest)−8.6%
Terset197 of 2006,836,792−2,000 tokens

Input tokens are summed over every question on that file. Bold marks the fewest input tokens in each group. Minus means fewer tokens than compact JSON.

400 questions: wrong answers

36 wrong of 2,400 answers: 4 on Claude Opus 5.5 and 32 on GPT 6.2 Sol.

Scoring is strict: the answer must be the value alone. One wrong answer ended with the expected value after other text: Claude Opus 5.5, TOON, q140. It stays counted as wrong.

Claude Opus 5.5

Claude Opus 5.5: wrong answers of 400 by question kind and format
Question kindCompact JSONTOONTerset
Field retrieval000
Count100
Extreme000
Nested lookup000
Count with two conditions100
Compare010
Position000
Rank010
All kinds220

GPT 6.2 Sol

GPT 6.2 Sol: wrong answers of 400 by question kind and format
Question kindCompact JSONTOONTerset
Field retrieval000
Count10118
Extreme000
Nested lookup000
Count with two conditions101
Compare000
Position001
Rank000
All kinds111110
Claude Opus 5.5: every wrong answer4 wrong answers, each with the question, the expected answer and what the model said.
Every wrong answer from Claude Opus 5.5: the format, the file, the question kind, the question, the expected answer and what the model said
FormatFileKindQuestionExpectedModel said
TOONUSGS earthquakesCompareq140: Which feature id, "us7000tyrd" or "uu80164966", has the smaller properties.rms?uu80164966us7000tyrd rms 0.73; uu80164966 rms 0.14. uu80164966
Compact JSONNWS forecast gridCountq227: How many entries in properties.temperature.values have a numeric value greater than 11?7980
Compact JSONNWS forecast gridCount with two conditionsq301: How many entries in properties.temperature.values have a numeric value greater than 3.6 and a validTime start at or after "2026-11-17T20:00:00+00:00"?143142
TOONNWS forecast gridRankq391: In properties.probabilityOfPrecipitation.values, what is the exact validTime of the entry with the fourth highest numeric value?2026-11-22T06:00:00+00:00/PT6H2026-11-23T00:00:00+00:00/PT6H
GPT 6.2 Sol: every wrong answer32 wrong answers, each with the question, the expected answer and what the model said.
Every wrong answer from GPT 6.2 Sol: the format, the file, the question kind, the question, the expected answer and what the model said
FormatFileKindQuestionExpectedModel said
TOONUSGS earthquakesCountq029: How many features have properties.mag greater than 1.975?8482
Compact JSONUSGS earthquakesCountq033: How many features have properties.sig greater than 66?7574
TOONUSGS earthquakesCountq036: How many features have properties.nst greater than 36.5?4342
TersetUSGS earthquakesCountq036: How many features have properties.nst greater than 36.5?4341
Compact JSONUSGS earthquakesCountq038: How many features have properties.dmin greater than 0.008?189192
TOONUSGS earthquakesCountq038: How many features have properties.dmin greater than 0.008?189190
Compact JSONUSGS earthquakesCountq039: How many features have properties.dmin greater than 0.022?164166
Compact JSONUSGS earthquakesCountq041: How many features have properties.dmin greater than 0.056?112113
TOONUSGS earthquakesCountq042: How many features have properties.dmin greater than 0.148?7879
TersetUSGS earthquakesCountq042: How many features have properties.dmin greater than 0.148?7877
TersetUSGS earthquakesCountq044: How many features have properties.rms greater than 0.065?179181
TOONUSGS earthquakesCountq045: How many features have properties.rms greater than 0.36?6059
TersetUSGS earthquakesCountq045: How many features have properties.rms greater than 0.36?6059
Compact JSONUSGS earthquakesCountq047: How many features have properties.gap greater than 53.5?181180
TersetUSGS earthquakesCountq047: How many features have properties.gap greater than 53.5?181182
Compact JSONUSGS earthquakesCountq048: How many features have properties.gap greater than 78.5?131132
Compact JSONUSGS earthquakesCountq049: How many features have properties.gap greater than 109.5?8684
TOONUSGS earthquakesCountq049: How many features have properties.gap greater than 109.5?8685
TersetUSGS earthquakesCountq049: How many features have properties.gap greater than 109.5?8684
Compact JSONUSGS earthquakesCountq050: How many features have properties.gap greater than 149?4037
TOONUSGS earthquakesCountq050: How many features have properties.gap greater than 149?4039
TersetUSGS earthquakesCountq050: How many features have properties.gap greater than 149?4037
Compact JSONUSGS earthquakesCount with two conditionsq122: How many features have properties.gap greater than 85.5 and properties.net "ak"?3837
TOONNWS forecast gridCountq227: How many entries in properties.temperature.values have a numeric value greater than 11?7978
Compact JSONNWS forecast gridCountq233: How many entries in properties.relativeHumidity.values have a numeric value greater than 65?8382
Compact JSONNWS forecast gridCountq236: How many entries in properties.apparentTemperature.values have a numeric value greater than 7.5?116115
TOONNWS forecast gridCountq236: How many entries in properties.apparentTemperature.values have a numeric value greater than 7.5?116115
TersetNWS forecast gridCountq236: How many entries in properties.apparentTemperature.values have a numeric value greater than 7.5?116115
TOONNWS forecast gridCountq243: How many entries in properties.windDirection.values have a numeric value greater than 235?3940
TOONNWS forecast gridCountq246: How many entries in properties.probabilityOfPrecipitation.values have a numeric value greater than 2.5?98
TersetNWS forecast gridCount with two conditionsq302: How many entries in properties.temperature.values have a numeric value greater than 8 and a validTime start at or after "2026-11-19T10:00:00+00:00"?9089
TersetNWS forecast gridPositionq373: What is the exact validTime of entry 8 in properties.probabilityOfPrecipitation.values, counting from 1 in the given order?2026-11-23T00:00:00+00:00/PT6H2026-11-22T18:00:00+00:00/PT6H

400 questions: run notes and files

The weather file with Terset 1.2

Claude Opus 5.5 got 200 of 200 right with Terset 1.2 and used 23.0% fewer input tokens than compact JSON.

GPT 6.2 Sol got 199 of 200 right with Terset 1.2 and used 15.4% fewer input tokens than compact JSON.

None of the paired tests found a statistically significant accuracy difference.

How it ran

  • Both models answered the same 200 weather questions again with Terset 1.2. Each prompt included the whole forecast grid.
  • The compact JSON, TOON and Terset 1.1 results come from the earlier 400-question runs on the same weather questions.
  • Code scored each answer against the frozen answer key. Each call had an output limit of 8,192 tokens.
For each model on the weather file: correct answers and whole-prompt input tokens in compact JSON, TOON, Terset 1.1 and Terset 1.2
ModelFormatCorrectInput tokens
Claude Opus 5.5Compact JSON198 of 2008,364,304
TOON199 of 2006,893,104
Terset 1.1200 of 2008,358,904
Terset 1.2200 of 2006,439,504
GPT 6.2 SolCompact JSON198 of 2006,838,792
TOON196 of 2006,251,392
Terset 1.1197 of 2006,836,792
Terset 1.2199 of 2005,782,592

Input tokens are summed over every weather question.

Terset 1.2 against each format

Each pair uses the same question. The exact p-value comes from a two-sided McNemar test. All questions use one file, so treat these results as descriptive.

For each model, Terset 1.2 against each other format on the same weather questions: how many only Terset 1.2 got right, how many only the other got right, the input token change, the gap in percentage points, its 95% interval and the exact McNemar p value
ModelTerset 1.2 againstOnly 1.2 rightOnly the other right1.2 input tokensGap, points95% interval, pointsExact p
Claude Opus 5.5Compact JSON2023.0% fewer+1−2.1 to 4.00.5
TOON106.6% fewer+0.5−2.2 to 3.11
Terset 1.10023.0% fewer0−2.2 to 2.21
GPT 6.2 SolCompact JSON2115.4% fewer+0.5−3.1 to 4.01
TOON417.5% fewer+1.5−2.7 to 5.50.375
Terset 1.13115.4% fewer+1−2.9 to 4.80.625

Terset 1.2: wrong answers and run files

1 wrong of 400 Terset 1.2 answers, on GPT 6.2 Sol.

Every wrong Terset 1.2 answer on the weather file: the model, the question, the expected answer and what the model said
ModelQuestionExpectedModel said
GPT 6.2 Solq358: What is the exact validTime of entry 56 in properties.relativeHumidity.values, counting from 1 in the given order?2026-11-20T02:00:00+00:00/PT1H2026-11-20T01:00:00+00:00/PT1H