Cost

We counted the input token of the prompts generated by LISP, as well as the output token of the LLM’s response, and calculated the amount spent.

Token Consumption: The pricing of gpt-3.5-turbo we use is “US$0.50 per 1M input tokens”and “US$1.50 per 1M output tokens”

LISP

 # Input Token# Output Token# Cost
commons-lang319,877,5171,726,83012.529812
JFreeChart3,020,835324,2401.9969238
JGraphT2,341,596251,3341.5479114
guava3,485,580374,1212.3041429
joda-time3,306,834354,9362.1859817
threeten4,247,010435,8432.7774227
time4j2,804,631287,8201.834147
ical4j8,053,296826,4585.2666223
sis-utility15,889,0051,255,6749.828611
xchart3,926,481402,9512.5678059
# SUM66,952,7856,240,20742.8393807

LISP-CG

 # Input Token# Output Token# Cost
commons-lang320,764,0982,127,64513.574352
JFreeChart5,544,456411,1983.389278
JGraphT4,297,776318,7412.627192
guava6,397,452474,4623.910706
joda-time6,069,378450,1293.710157
threeten5,219,025490,0413.34479
time4j3,446,526323,613 2.208823
ical4j9,896,454929,2326.3424792
sis-utility17,849,9821,751,99411.553664
xchart4,825,137453,0573.092353
# SUM84,310,2847,730,11253.7537942

LLM-Baseline

 # Input Token# Output Token# Cost
commons-lang32,931,549540,3302.2764086
JFreeChart909,048167,5530.705896
JGraphT704,646129,8790.547173
guava1,048,902193,3290.814495
joda-time995,112183,4140.772726
threeten570,174105,0930.442751
time4j376,53069,3990.292383
ical4j1,964,694353,6641.5129235
sis-utility4,936,167888,5583.801126
xchart957,909172,4340.737644
# SUM15,394,7312,803,65311.9035261