News for hackers. Stuff that matters.
Re:Show HN: GPT Home, A Home Assistant Built on the Raspberr... by nirav72 on Saturday May 04, 2024 @09:56PM (#40261730)
Neat. Any estimation on the API usage cost?
Re:Show HN: GPT Home, A Home Assistant Built on the Raspberr... by judahpaul16 on Monday May 06, 2024 @11:11PM (#40281977)
Basically nothing especially if you use cheaper models and set the max token limit in `settings.json`. GPT-4 is $30.00 / 1M tokens for input and $60.00 / 1M tokens for output. For English text, 1 token is approximately 4 characters or 0.75 words. As a point of reference, the collected works of Shakespeare are about 900,000 words or 1.2M tokens. See https://openai.com/api/pricing and https://platform.openai.com/settings/organization/limits for limits.