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
| File | Format | Correct | Input tokens | vs compact JSON |
|---|---|---|---|---|
| USGS earthquakes | Compact JSON | 19 of 20 | 1,640,419 | - |
| TOON | 19 of 20 | 1,750,739 | +6.7% | |
| Terset | 19 of 20 | 1,083,999 (fewest) | −33.9% | |
| NWS forecast grid | Compact JSON | 20 of 20 | 836,270 | - |
| TOON | 20 of 20 | 689,150 (fewest) | −17.6% | |
| Terset | 20 of 20 | 835,730 | −0.1% | |
| Both files | Compact JSON | 39 of 40 | 2,476,689 | - |
| TOON | 39 of 40 | 2,439,889 | −1.5% | |
| Terset | 39 of 40 | 1,919,729 (fewest) | −22.5% |
GPT 6.2 Sol
| File | Format | Correct | Input tokens | vs compact JSON |
|---|---|---|---|---|
| USGS earthquakes | Compact JSON | 20 of 20 | 1,106,938 | - |
| TOON | 20 of 20 | 1,295,938 | +17.1% | |
| Terset | 19 of 20 | 770,058 (fewest) | −30.4% | |
| NWS forecast grid | Compact JSON | 20 of 20 | 683,766 | - |
| TOON | 20 of 20 | 625,026 (fewest) | −8.6% | |
| Terset | 20 of 20 | 683,566 | −200 tokens | |
| Both files | Compact JSON | 40 of 40 | 1,790,704 | - |
| TOON | 40 of 40 | 1,920,964 | +7.3% | |
| Terset | 39 of 40 | 1,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.
| Model | Format | File | Question | Expected | Model said |
|---|---|---|---|---|---|
| Claude Opus 5.5 | Compact JSON | USGS earthquakes | r006: How many features have properties.mag at or above 1? | 182 | No answer (output limit) |
| Claude Opus 5.5 | TOON | USGS earthquakes | r006: How many features have properties.mag at or above 1? | 182 | No answer (output limit) |
| Claude Opus 5.5 | Terset | USGS earthquakes | r006: How many features have properties.mag at or above 1? | 182 | No answer (output limit) |
| GPT 6.2 Sol | Terset | USGS earthquakes | r007: How many features have properties.mag at or above 2.5? | 41 | 40 |
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
- Claude Opus 5.5 run, every answer (real-opus-2026-11-26.json)
- Claude Opus 5.5 run, report (real-opus-2026-11-26.md)
- GPT 6.2 Sol run, every answer (real-sol-2026-11-26.json)
- GPT 6.2 Sol run, report (real-sol-2026-11-26.md)
- The frozen questions and answers (questions.json)
- Sources, hashes and the question freeze (README.md)
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
| File | Format | Correct | Input tokens | vs compact JSON |
|---|---|---|---|---|
| Both files | Compact JSON | 398 of 400 | 24,769,266 | - |
| TOON | 398 of 400 | 24,401,266 | −1.5% | |
| Terset | 400 of 400 | 19,199,666 (fewest) | −22.5% |
GPT 6.2 Sol
| File | Format | Correct | Input tokens | vs compact JSON |
|---|---|---|---|---|
| Both files | Compact JSON | 389 of 400 | 17,908,786 | - |
| TOON | 389 of 400 | 19,211,386 | +7.3% | |
| Terset | 390 of 400 | 14,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.
| Model | Terset against | Only Terset right | Only the other right | Gap, points | 95% interval, points | Exact p |
|---|---|---|---|---|---|---|
| Claude Opus 5.5 | Compact JSON | 2 | 0 | +0.5 | −1.0 to 2.0 | 0.5 |
| TOON | 2 | 0 | +0.5 | −1.0 to 2.0 | 0.5 | |
| GPT 6.2 Sol | Compact JSON | 7 | 6 | +0.25 | −2.9 to 3.4 | 1 |
| TOON | 5 | 4 | +0.25 | −2.5 to 2.9 | 1 |
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
| File | Format | Correct | Input tokens | vs compact JSON |
|---|---|---|---|---|
| USGS earthquakes | Compact JSON | 200 of 200 | 16,404,962 | - |
| TOON | 199 of 200 | 17,508,162 | +6.7% | |
| Terset | 200 of 200 | 10,840,762 (fewest) | −33.9% | |
| NWS forecast grid | Compact JSON | 198 of 200 | 8,364,304 | - |
| TOON | 199 of 200 | 6,893,104 (fewest) | −17.6% | |
| Terset | 200 of 200 | 8,358,904 | −0.1% |
GPT 6.2 Sol
| File | Format | Correct | Input tokens | vs compact JSON |
|---|---|---|---|---|
| USGS earthquakes | Compact JSON | 191 of 200 | 11,069,994 | - |
| TOON | 193 of 200 | 12,959,994 | +17.1% | |
| Terset | 193 of 200 | 7,701,194 (fewest) | −30.4% | |
| NWS forecast grid | Compact JSON | 198 of 200 | 6,838,792 | - |
| TOON | 196 of 200 | 6,251,392 (fewest) | −8.6% | |
| Terset | 197 of 200 | 6,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
| Question kind | Compact JSON | TOON | Terset |
|---|---|---|---|
| Field retrieval | 0 | 0 | 0 |
| Count | 1 | 0 | 0 |
| Extreme | 0 | 0 | 0 |
| Nested lookup | 0 | 0 | 0 |
| Count with two conditions | 1 | 0 | 0 |
| Compare | 0 | 1 | 0 |
| Position | 0 | 0 | 0 |
| Rank | 0 | 1 | 0 |
| All kinds | 2 | 2 | 0 |
GPT 6.2 Sol
| Question kind | Compact JSON | TOON | Terset |
|---|---|---|---|
| Field retrieval | 0 | 0 | 0 |
| Count | 10 | 11 | 8 |
| Extreme | 0 | 0 | 0 |
| Nested lookup | 0 | 0 | 0 |
| Count with two conditions | 1 | 0 | 1 |
| Compare | 0 | 0 | 0 |
| Position | 0 | 0 | 1 |
| Rank | 0 | 0 | 0 |
| All kinds | 11 | 11 | 10 |
Claude Opus 5.5: every wrong answer4 wrong answers, each with the question, the expected answer and what the model said.
| Format | File | Kind | Question | Expected | Model said |
|---|---|---|---|---|---|
| TOON | USGS earthquakes | Compare | q140: Which feature id, "us7000tyrd" or "uu80164966", has the smaller properties.rms? | uu80164966 | us7000tyrd rms 0.73; uu80164966 rms 0.14. uu80164966 |
| Compact JSON | NWS forecast grid | Count | q227: How many entries in properties.temperature.values have a numeric value greater than 11? | 79 | 80 |
| Compact JSON | NWS forecast grid | Count with two conditions | q301: 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"? | 143 | 142 |
| TOON | NWS forecast grid | Rank | q391: 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/PT6H | 2026-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.
| Format | File | Kind | Question | Expected | Model said |
|---|---|---|---|---|---|
| TOON | USGS earthquakes | Count | q029: How many features have properties.mag greater than 1.975? | 84 | 82 |
| Compact JSON | USGS earthquakes | Count | q033: How many features have properties.sig greater than 66? | 75 | 74 |
| TOON | USGS earthquakes | Count | q036: How many features have properties.nst greater than 36.5? | 43 | 42 |
| Terset | USGS earthquakes | Count | q036: How many features have properties.nst greater than 36.5? | 43 | 41 |
| Compact JSON | USGS earthquakes | Count | q038: How many features have properties.dmin greater than 0.008? | 189 | 192 |
| TOON | USGS earthquakes | Count | q038: How many features have properties.dmin greater than 0.008? | 189 | 190 |
| Compact JSON | USGS earthquakes | Count | q039: How many features have properties.dmin greater than 0.022? | 164 | 166 |
| Compact JSON | USGS earthquakes | Count | q041: How many features have properties.dmin greater than 0.056? | 112 | 113 |
| TOON | USGS earthquakes | Count | q042: How many features have properties.dmin greater than 0.148? | 78 | 79 |
| Terset | USGS earthquakes | Count | q042: How many features have properties.dmin greater than 0.148? | 78 | 77 |
| Terset | USGS earthquakes | Count | q044: How many features have properties.rms greater than 0.065? | 179 | 181 |
| TOON | USGS earthquakes | Count | q045: How many features have properties.rms greater than 0.36? | 60 | 59 |
| Terset | USGS earthquakes | Count | q045: How many features have properties.rms greater than 0.36? | 60 | 59 |
| Compact JSON | USGS earthquakes | Count | q047: How many features have properties.gap greater than 53.5? | 181 | 180 |
| Terset | USGS earthquakes | Count | q047: How many features have properties.gap greater than 53.5? | 181 | 182 |
| Compact JSON | USGS earthquakes | Count | q048: How many features have properties.gap greater than 78.5? | 131 | 132 |
| Compact JSON | USGS earthquakes | Count | q049: How many features have properties.gap greater than 109.5? | 86 | 84 |
| TOON | USGS earthquakes | Count | q049: How many features have properties.gap greater than 109.5? | 86 | 85 |
| Terset | USGS earthquakes | Count | q049: How many features have properties.gap greater than 109.5? | 86 | 84 |
| Compact JSON | USGS earthquakes | Count | q050: How many features have properties.gap greater than 149? | 40 | 37 |
| TOON | USGS earthquakes | Count | q050: How many features have properties.gap greater than 149? | 40 | 39 |
| Terset | USGS earthquakes | Count | q050: How many features have properties.gap greater than 149? | 40 | 37 |
| Compact JSON | USGS earthquakes | Count with two conditions | q122: How many features have properties.gap greater than 85.5 and properties.net "ak"? | 38 | 37 |
| TOON | NWS forecast grid | Count | q227: How many entries in properties.temperature.values have a numeric value greater than 11? | 79 | 78 |
| Compact JSON | NWS forecast grid | Count | q233: How many entries in properties.relativeHumidity.values have a numeric value greater than 65? | 83 | 82 |
| Compact JSON | NWS forecast grid | Count | q236: How many entries in properties.apparentTemperature.values have a numeric value greater than 7.5? | 116 | 115 |
| TOON | NWS forecast grid | Count | q236: How many entries in properties.apparentTemperature.values have a numeric value greater than 7.5? | 116 | 115 |
| Terset | NWS forecast grid | Count | q236: How many entries in properties.apparentTemperature.values have a numeric value greater than 7.5? | 116 | 115 |
| TOON | NWS forecast grid | Count | q243: How many entries in properties.windDirection.values have a numeric value greater than 235? | 39 | 40 |
| TOON | NWS forecast grid | Count | q246: How many entries in properties.probabilityOfPrecipitation.values have a numeric value greater than 2.5? | 9 | 8 |
| Terset | NWS forecast grid | Count with two conditions | q302: 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"? | 90 | 89 |
| Terset | NWS forecast grid | Position | q373: 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/PT6H | 2026-11-22T18:00:00+00:00/PT6H |
400 questions: run notes and files
- A time limit stopped the full Claude Opus 5.5 run once. It resumed with the same run id and answered all 400 questions in each format. One interrupted call stays in the run's budget ledger as a charge. The retry gave the scored answer.
- One run per model, two runs in all, so there is no estimate of run to run variance.
- The pilot runs are linked below for reference. Their scores are not in these tables.
- Claude Opus 5.5 run, every answer (real400-opus-2026-11-28.json)
- Claude Opus 5.5 run, report (real400-opus-2026-11-28.md)
- GPT 6.2 Sol run, every answer (real400-sol-2026-11-28.json)
- GPT 6.2 Sol run, report (real400-sol-2026-11-28.md)
- Claude Opus 5.5 pilot, every answer (real400-pilot-opus-2026-11-28.json)
- Claude Opus 5.5 pilot, report (real400-pilot-opus-2026-11-28.md)
- GPT 6.2 Sol pilot, every answer (real400-pilot-sol-2026-11-28.json)
- GPT 6.2 Sol pilot, report (real400-pilot-sol-2026-11-28.md)
- The 400 frozen questions and answers (questions.json)
- The 24 pilot questions (pilot.json)
- Sources, hashes and the question freeze (README.md)
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.
| Model | Format | Correct | Input tokens |
|---|---|---|---|
| Claude Opus 5.5 | Compact JSON | 198 of 200 | 8,364,304 |
| TOON | 199 of 200 | 6,893,104 | |
| Terset 1.1 | 200 of 200 | 8,358,904 | |
| Terset 1.2 | 200 of 200 | 6,439,504 | |
| GPT 6.2 Sol | Compact JSON | 198 of 200 | 6,838,792 |
| TOON | 196 of 200 | 6,251,392 | |
| Terset 1.1 | 197 of 200 | 6,836,792 | |
| Terset 1.2 | 199 of 200 | 5,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.
| Model | Terset 1.2 against | Only 1.2 right | Only the other right | 1.2 input tokens | Gap, points | 95% interval, points | Exact p |
|---|---|---|---|---|---|---|---|
| Claude Opus 5.5 | Compact JSON | 2 | 0 | 23.0% fewer | +1 | −2.1 to 4.0 | 0.5 |
| TOON | 1 | 0 | 6.6% fewer | +0.5 | −2.2 to 3.1 | 1 | |
| Terset 1.1 | 0 | 0 | 23.0% fewer | 0 | −2.2 to 2.2 | 1 | |
| GPT 6.2 Sol | Compact JSON | 2 | 1 | 15.4% fewer | +0.5 | −3.1 to 4.0 | 1 |
| TOON | 4 | 1 | 7.5% fewer | +1.5 | −2.7 to 5.5 | 0.375 | |
| Terset 1.1 | 3 | 1 | 15.4% fewer | +1 | −2.9 to 4.8 | 0.625 |
Terset 1.2: wrong answers and run files
1 wrong of 400 Terset 1.2 answers, on GPT 6.2 Sol.
| Model | Question | Expected | Model said |
|---|---|---|---|
| GPT 6.2 Sol | q358: 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/PT1H | 2026-11-20T01:00:00+00:00/PT1H |