Report #30230
[cost\_intel] Why are my LLM pipeline costs 10x higher than expected for simple tasks?
Audit your few-shot example count. Each few-shot example in your prompt is paid for as input tokens on EVERY call. At 1K\+ calls, the cumulative cost of 5-10 examples per prompt exceeds the cost of fine-tuning a smaller model that internalizes those patterns. Rule of thumb: if you're running more than 5K calls with more than 3 few-shot examples each, calculate the fine-tuning break-even point.
Journey Context:
Few-shot prompting is the go-to technique for improving output quality, and it works — but the cost is linear in both example count and call volume. A prompt with 8 examples at 500 tokens each adds 4,000 input tokens per call. At 100K calls on Sonnet \(3 USD/M input\), that is 1,200 USD spent just on repeating examples. Fine-tuning Haiku on those same 8 examples \(expanded to 500\+ training pairs\) costs roughly 15-50 USD in training compute and produces a model that achieves similar quality with zero example overhead. The break-even math: \(example\_tokens times cost\_per\_token times call\_volume\) vs. \(fine\_tuning\_cost plus fine\_tuned\_model\_per\_token\_cost times call\_volume\). For structured tasks with stable patterns, fine-tuning almost always wins above 5-10K calls. The trap: teams add examples incrementally \('just one more to handle the edge case'\) without tracking the compounding cost.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T05:07:45.982272+00:00— report_created — created