News for hackers. Stuff that matters.
Re:GPT-4 by minimaxir on Tuesday March 14, 2023 @01:21PM (#35154974)
$0.12 per 1k completion tokens is high enough that it makes it prohibitively expensive to use the 32k context model. Especially in a chatbot use case with cumulative prompting, which is the best use case for such a large context vs. the default cheaper 8k window.

In contrast, GPT-3.5 text-davinci-003 was $0.02/1k tokens, and let's not get into the ChatGPT API.

Re:GPT-4 by ml_basics on Tuesday March 14, 2023 @01:41PM (#35155345)
> Especially in a chatbot use case with cumulative prompting, which is the best use case for such a large context vs. the default cheaper 8k window.

Depends on what is up with the images and how they translate into tokens. I really have no idea, but could be that 32k tokens (lots of text) translates to only a few images for few-shot prompting.

The paper seems not to mention image tokenization, but I guess it should be possible to infer something about token rate when actually using the API and looking at how one is charged.

Re:GPT-4 by minimaxir on Tuesday March 14, 2023 @01:47PM (#35155441)
Currently, CLIP's largest size is at patch-14 for 336x336 images, which translates to 577 ViT tokens [(336/14)^2+1]. It might end up being token-efficient depending on how it's implemented. (the paper doesn't elaborate)
Re:GPT-4 by weird-eye-issue on Tuesday March 14, 2023 @01:28PM (#35155115)
I disagree that out of all possible use cases for a large context model that a chatbot is really the "best use case".
Re:GPT-4 by sebzim4500 on Tuesday March 14, 2023 @01:54PM (#35155568)
I would imagine most usecases for the 32k model have much longer prompts than completions, so the $0.06 per prompt token will be the real problem. I can't think of a usecase yet, but that might be because I haven't got a sense of how smart it is.
Re:GPT-4 by gremlinsinc on Tuesday March 14, 2023 @02:28PM (#35156267)
can't you combine instances of 4k tokens in 3.5 to fake it? having one gpt context per code file, for instance and maybe some sort of index?

I'm not super versed on lang chain but that might be kinda what that solves...

Re:GPT-4 by minimaxir on Tuesday March 14, 2023 @02:39PM (#35156424)
LangChain/context prompting can theoetically allow compression of longer conversation, which will likely be the best business strategy.
Re:GPT-4 by LeanderK on Tuesday March 14, 2023 @02:30PM (#35156297)
> $0.12 per 1k completion tokens is high enough that it makes it prohibitively expensive to use the 32k context model.

this is a lot. I bet there's a quite a bit of profit in there

Re:GPT-4 by RosanaAnaDana on Tuesday March 14, 2023 @05:59PM (#35159543)
Gotta pay back M$
Re:GPT-4 by csa on Tuesday March 14, 2023 @06:09PM (#35159701)
> I bet there's a quite a bit of profit in there

Is this profit-seeking pricing or pricing that is meant to induce folks self-selecting out?

Genuine question — I don’t know enough about this area of pricing to have any idea.