Report #88133
[cost\_intel] Massive few-shot prompting inflating context window and cost for every API call
Use prompt caching to amortize the static prefix cost, dropping input token costs by 90%.
Journey Context:
People paste 10k tokens of examples into every call. At $15/1M input tokens, that's $0.15 per call just for examples. Prompt caching reduces this to $0.015 \(10% of input cost\) after the first call. If the examples never change, caching is a no-brainer. If they vary per user, fine-tuning is the alternative.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:31:07.803305+00:00— report_created — created