The economics of prompt compression depend not only on reducing input tokens but on how compression changes output length, which is typically priced several times higher. We evaluate this in a pre-registered six-arm randomized controlled trial of prompt compression on production multi-agent task-orchestration, analyzing 358 successful Claude Sonnet 4.5 runs (59-61 per arm) drawn from a randomized corpus of 1,199 real orchestration instructions. We compare an uncompressed control with three uniform retention rates (r=0.8, 0.5, 0.2) and two structure-aware strategies (entropy-adaptive and recency-weighted), measuring total inference cost (input+output) and embedding-based response similarity. Moderate compression (r=0.5) reduced mean total cost by 27.9%, while aggressive compression (r=0.2) increased mean cost by 1.8% despite substantial input reduction, consistent with small mean output expansion (1.03x vs. control) and heavy-tailed uncertainty. Recency-weighted compression achieved 23.5% savings and, together with moderate compression, occupied the empirical cost-similarity Pareto frontier, whereas aggressive compression was dominated on both cost and similarity. These results show that "compress more" is not a reliable production heuristic and that output tokens must be treated as a first-class outcome when designing compression policies.
Figures & tables
Paper
Year
Output Measured
Total Cost
Gap
LLMLingua ( Jiang et al., 2023 )
2023
No
No
Yes
LLMLingua-2 ( Pan et al., 2024 )
2024
No
No
Yes
FrugalGPT ( Chen et al., 2023 )
2023
Formula only
No
Yes
Selective Context ( Li et al., 2023 )
2023
No
No
Yes
RECOMP ( Xu et al., 2023 )
2023
No
No
Yes
Gist Tokens ( Mu et al., 2023 )
2023
No
No
Yes
Table 1: Output token dynamics gap in the prompt compression literature. The overwhelming majority of compression research measures only input token reduction, ignoring output tokens that cost 3–5 × more per token. This systematic omission undermines cost-effectiveness claims.
Task Type
Count
%
Mean Length (chars)
Est. Tokens
Implementation
707
59.0
895
∼ 224
Breakdown
159
13.3
133
∼ 33
Validation
153
12.8
709
∼ 177
Post-orchestration
78
6.5
430
∼ 108
Review
68
5.7
669
∼ 167
Execution
23
1.9
702
∼ 176
Table 2: Corpus composition by task type and length tercile ( N=1,199 ).
Arm
Mean In Tok
Mean Out Tok
Mean Cost ($)
Total Cost ($)
Latency (ms)
Control
59
609
0.0093
0.0466
13,122
Light
49
811
0.0123
0.0616
16,285
Moderate
41
613
0.0093
0.0466
13,671
Aggressive
30
161
0.0025
0.0125
4,124
Adaptive
46
420
0.0064
0.0322
9,370
Recency
41
504
0.0077
0.0384
11,583
Table 3: Pilot run summary statistics ( n=30 ; 5 trials per arm).
Figure 1: CONSORT flow diagram. Enrollment: 1,577 records → 1,337 after exclusions → 1,199 after deduplication and randomization. All 1,199 trials were submitted to the API; 841 failed after retries (primarily credit-balance errors), leaving a complete-case inferential set of 358 successful trials (59–61 per arm).
Metric
Full Randomized ( N=1,199 )
Complete-Case ( N=358 )
Mean input tokens (original)
179.6
76.0
Median input tokens (original)
126.0
78.5
Implementation tasks, n (%)
707 (59.0%)
176 (49.2%)
Breakdown tasks, n (%)
159 (13.3%)
159 (44.4%)
Execution tasks, n (%)
23 (1.9%)
23 (6.4%)
All other task types, n (%)
310 (25.9%)
0 (0.0%)
Table 4: Full randomized set vs complete-case successful-response set.
Arm
Assigned
Successful
Mean Cost ($)
Successes/$
Cost Reduction vs Control
Control
197
59
0.004682
64.0
—
Light
199
60
0.003992
75.5
14.7%
Moderate
201
60
0.003256
91.7
30.5%
Aggressive
202
61
0.004419
68.3
5.6%
Adaptive
199
59
0.003878
76.4
17.2%
Recency
201
59
0.003389
86.6
27.6%
Table 5: Assignment-level deployment sensitivity across all randomized submissions.