Log in·Sign up
BestRelay

Back to the Journal

Short Prompts Save Money Only With Small Context

The cheapest prompt is not always the shortest

A short message can trigger an expensive AI request. A long message can sometimes finish the same job for less. The difference comes from everything the model must read and write, not just the words you type into the latest message.

Imagine asking an assistant to review a report. You could send the report with one detailed instruction covering structure, accuracy, and tone. Alternatively, you could request three separate reviews. The second approach feels lighter, but it may require sending the entire report three times.

The useful comparison is total cost per acceptable result. Count the input, output, repeated context, and likely corrections across the whole task.

Token totals matter more than message counts

Models process text in units called tokens: pieces of words, punctuation, and other content. Input tokens are what the model receives. Output tokens are what it generates. Their prices often differ, so cutting input does not necessarily compensate for producing much longer answers.

For a simple comparison, assume a hypothetical model charges $2 per million input tokens and $8 per million output tokens. These are illustrative rates, not a quote for any particular service. Assume no caching or other billable token categories apply.

One combined request contains a 12,000-token report and 1,000 tokens of instructions. It produces a 2,000-token review. Input costs $0.026 and output costs $0.016, making the total $0.042.

Three separate requests each contain the same report plus 300 instruction tokens. Together, they consume 36,900 input tokens. If each produces 800 output tokens, the total output is 2,400 tokens. The combined bill is $0.093, more than twice the single-request cost.

That example holds the report constant, not the quality of the results. Separate reviews might catch more problems. The extra expense can be worthwhile, but it should purchase a measurable improvement.

Smaller requests win when they avoid repeated material

Splitting work becomes economical when each request receives only the information it needs. A review of one paragraph rarely needs an entire report. Three focused requests with 1,000 input tokens and 400 output tokens each would cost $0.0156 at the same illustrative rates.

That saving depends on genuine independence. If a paragraph relies on definitions elsewhere, removing that context can produce a cheap but misleading answer. Likewise, splitting a document may require a final synthesis request, which belongs in the budget.

Conversation history also matters. In many API workflows, earlier messages are included again in later requests. A brief follow-up can therefore carry a substantial input bill. Inspect the actual usage records rather than estimating cost from the visible new message.

Caching changes the arithmetic without removing the tradeoff

Prompt caching can reduce the cost of repeatedly supplying eligible shared context. It does not mean every repeated passage is automatically free. Cache eligibility, minimum sizes, retention periods, and read or write charges depend on the provider and model.

BestRelay publishes this article as a quality-first API relay that forwards each request to the official model named in it, without substitution. Its coverage includes the Claude, GPT, Gemini, DeepSeek, Kimi, GLM, Qwen, and Grok families. Pay-as-you-go billing uses provider-reported token counts, with cache reads and writes priced separately. Those distinctions matter when comparing repeated requests against one larger request.

A small trial reveals the better workflow

Test both approaches on a few representative tasks. Record total charges, completion time, and whether the answer meets your requirements. Include retries and manual corrections. A combined prompt that regularly needs repair may lose its apparent advantage.

Keep the comparison controlled: use the same model, similar output limits, and the same acceptance criteria. BestRelay works with Claude Code, Codex, Gemini CLI, and any OpenAI SDK, allowing these measurements within existing workflows. Create a BestRelay account to try the comparison. Members also earn referral commissions when invited users top up; those rewards are separate from the token-cost calculation.

Start with one coherent request when the work shares substantial context. Split it when tasks are independent, intermediate feedback is valuable, or smaller inputs genuinely remove unnecessary material. Buy useful progress, not merely fewer messages.

Want to try the models discussed here? Sign up