DOROTHY LABSDorothy Merge Lab
← Back to article
EXPERIMENT REPORT

What happens to cost when an AI agent works through multiple steps?

Study date: 2026-11-25Dorothy Labs
KEY RESULT
97.52%

reduction in calculated cost (USD)

Five-step workflow

1/1 correct final fact
Reference0.08716
Studied configuration0.00216
Absolute reduction0.085
Reference0.08716
Studied configuration0.00216

What was tested

Two controlled agent workflows with five and four steps.

Detailed measurements

five-step workflow

MetricReferenceStudied configuration
Calls55
Input tokens32,24729,763
Output tokens2,2671,899
Calculated cost (USD)0.087160.00216
Call time (ms)20,42611,662
Correct11
Total evaluated11

four-step workflow

MetricReferenceStudied configuration
Calls44
Input tokens8,9327,069
Output tokens2,2301,551
Calculated cost (USD)0.040160.00134
Call time (ms)22,4659,389
Correct22
Total evaluated22

Experimental methodology

Applied technique

Model routing in agent workflows

Selective use of AI capacity across a multi-step investigation.

01

Experiment definition

Two controlled workflows with five and four calls.

02

Comparative execution

Reference and experimental configurations compared within each workflow.

03

Measurement

Combined calculated cost and duration per workflow.

04

Result validation

Final-fact checks: 1/1 and 2/2 respectively in both workflows.

Files and references

Recorded laboratory data and provider documentation.