Why a short prompt can cost more than a long one
This story is from 2026-10-09. It is preserved in the archive; the latest stories are on the live feed.
Say a model charges $2 per million input tokens and $10 per million output tokens. Now compare two requests: Input tokens Output tokens Cost Short question, long answer 1,000 2,000 $0.022 Long question, short answer 3,000 100 $0.007 The "small" prompt costs about three times more. Output tokens are…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-09 18:29 · DEV Community — AI
Why a short prompt can cost more than a long one