Hacker News new | ask | show | jobs
by sleey 991 days ago
> The calculating method is based on the latest available pricing data released by OpenAI at https://openai.com/pricing. However, please note that actual costs may vary and we cannot guarantee the price.

I guess in that case we can just use this as reference and calculate it by yourself

From https://help.openai.com/en/articles/4936856-what-are-tokens-...

1 token ~= 4 chars in English

1 token ~= ¾ words

100 tokens ~= 75 words

Or

1-2 sentence ~= 30 tokens

1 paragraph ~= 100 tokens

1,500 words ~= 2048 tokens

1 comments

It's done by tokens. You have to convert the text to tokens... Some languages are 20x different from these estimates