Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

200 lines @ 40 tokens per line equates to 8,000 tokens. That costs $1.60. for one query.


Someone making $100 per hour would be able to analyze those 200 logs for about 7 minutes for that cost. That's a person you pay over 200k of salary.

I analyze logs at work all the time and I analyze way more than 200 lines and it takes way less than 7 minutes to analyze those 200 lines.

Somehow I don't think it would be more cost effective to have an intern paste those into ChatGPT over and over and blow through a ton of money doing it.


$100 / hour = $1.67 per minute

7 minutes = $11.69


I guess I "forgot to carry the 2". Thanks! (as in, where did I get the 7 min from - no I don't remember)


Without even trying to check the math, I can tell you this is wrong. Cost is way way less. With 8k context i havent even been close to 1USD a day even with huge prompts. Yes i have API access to GPT-4


For GPT-4 input cost is 3 cents per 1,000 tokens (8K context). So input cost for 8,000 tokens is 24 cents. Output is 6 cents per 1,000 tokens, but answer will hopefully be a lot shorter.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: