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

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?



> 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


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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: