Hacker News new | ask | show | jobs
by shahahmed 1137 days ago
good insight! I use a lookback window of one response, because it gets pretty expensive to do more.
1 comments

Why is it expensive ? you can't just paste the plain text of the whole interaction as input ?
OpenAI charges per token - so whatever I send as context is counted. This easily 2x, 3x, 5x's the costs depending on the length of the chat.