Lurker News

Comments (2,507) 254 threads

Show all comments

Showing thread 108 of 254

attilaberczik2 replies#
Prices differences with the last models:

ChatGPT API $0.002 per 1k tokens gpt-4 $0.03 per 1k prompt tokens and $0.06 per 1k completion tokens gpt-4 32k context $0.06 per 1k prompt tokens and $0.12 per 1k completion tokens
Does completion tokens mean that you also get charged for the answers that the AI gives?

f_devd#
> Does completion tokens mean that you also get charged for the answers that the AI gives?

Seems like it, prompt tokens = input, completion tokens = output

minimaxir#
Yes. The `usage` field currently breaks out the token counts for both prompt and completion.

Prompt tokens should have always been cheaper than completion due to how they work.