GCX1 wire-format benchmark scorecard

May 18, 2026 · View on GitHub

tiktoken cl100k_base (Claude 3 / Opus 4 / Sonnet 4 / Haiku 4.5 / GPT-4o family)

casetoolbytes (json)bytes (gcx)Δ%tokens (json)tokens (gcx)Δ%gzip (json)gzip (gcx)Δ%round-trip
01_search_symbols_smallsearch_symbols720522−27.5%181125−30.9%219227+3.7%
02_search_symbols_largesearch_symbols42012924−30.4%1068742−30.5%850823−3.2%
03_get_symbol_source_smallget_symbol_source731731−0.0%257255−0.8%359372+3.6%
04_get_symbol_source_largeget_symbol_source16911663−1.7%534532−0.4%678689+1.6%
05_batch_symbolsbatch_symbols1077702−34.8%335241−28.1%450423−6.0%
06_find_usages_smallfind_usages1287989−23.2%335255−23.9%339327−3.5%
07_find_usages_largefind_usages1783920−48.4%569351−38.3%271261−3.7%
08_get_file_summaryget_file_summary21721599−26.4%567431−24.0%575560−2.6%
09_analyze_hotspotsanalyze_hotspots17311037−40.1%506318−37.2%500449−10.2%
10_analyze_dead_codeanalyze_dead_code1132825−27.1%288198−31.2%365355−2.7%
11_contracts_listcontracts22961562−32.0%580463−20.2%630608−3.5%
12_get_callers_mediumget_callers30212204−27.0%750532−29.1%450427−5.1%
13_smart_contextsmart_context18161178−35.1%471299−36.5%585494−15.6%
14_get_dependents_smallget_dependents1269929−26.8%329239−27.4%318307−3.5%
15_get_test_targetsget_test_targets1256997−20.6%311262−15.8%340357+5.0%
16_find_implementationsfind_implementations936690−26.3%224157−29.9%247259+4.9%
17_find_cyclesanalyze_cycles224192−14.3%8790+3.4%145165+13.8%
18_graph_statsgraph_stats494512+3.6%162174+7.4%335368+9.9%
19_get_editing_contextget_editing_context927708−23.6%233171−26.6%329318−3.3%
20_get_repo_outlineget_repo_outline784690−12.0%237224−5.5%358363+1.4%

Summary (cl100k_base): 20/20 cases. Median token savings: −27.4%. Median byte savings: −26.8%. Round-trip integrity: 20/20.

Claude Opus 4.7 (estimated (×1.35 scalar over cl100k_base))

casetooltokens (json)tokens (gcx)Δ%source
01_search_symbols_smallsearch_symbols244169−30.7%est.
02_search_symbols_largesearch_symbols14421002−30.5%est.
03_get_symbol_source_smallget_symbol_source347344−0.9%est.
04_get_symbol_source_largeget_symbol_source721718−0.4%est.
05_batch_symbolsbatch_symbols452325−28.1%est.
06_find_usages_smallfind_usages452344−23.9%est.
07_find_usages_largefind_usages768474−38.3%est.
08_get_file_summaryget_file_summary765582−23.9%est.
09_analyze_hotspotsanalyze_hotspots683429−37.2%est.
10_analyze_dead_codeanalyze_dead_code389267−31.4%est.
11_contracts_listcontracts783625−20.2%est.
12_get_callers_mediumget_callers1013718−29.1%est.
13_smart_contextsmart_context636404−36.5%est.
14_get_dependents_smallget_dependents444323−27.3%est.
15_get_test_targetsget_test_targets420354−15.7%est.
16_find_implementationsfind_implementations302212−29.8%est.
17_find_cyclesanalyze_cycles117122+4.3%est.
18_graph_statsgraph_stats219235+7.3%est.
19_get_editing_contextget_editing_context315231−26.7%est.
20_get_repo_outlineget_repo_outline320302−5.6%est.

Summary (Opus 4.7): 20/20 cases. Median token savings: −27.3%. Exact rows: 0/20 (rest estimated via ×1.35 scalar).