| Mobile Web

How to avoid AI cost shock: Changing prompts cuts bills by 92 percent

An experiment found that efficiently managing an AI agent’s prompts and work history can cut operating costs by as much as 92 percent. Keeping a prompt cache by reusing existing input data proved more effective than simply reducing token usage. OpenRouter compared token use, costs and accuracy across different prompt structures, including time-stamped system prompts, fixed headers and trimmed tool outputs. It said results may vary by model and pricing scheme.