#How much does GPT4 cost?
1 messages · Page 1 of 1 (latest)
Hi @wooden wind. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
The cost of using GPT-4 depends on the context length of the models you are using and the number of tokens processed. Here are the pricing details:
- For models with 128k context lengths (e.g.,
gpt-4-1106-previewandgpt-4-1106-vision-preview), the price is $0.01 per 1k prompt tokens and $0.03 per 1k sampled tokens. - For models with 8k context lengths (e.g.,
gpt-4andgpt-4-0314), the price is $0.03 per 1k prompt tokens and $0.06 per 1k sampled tokens. - For models with 32k context lengths (e.g.,
gpt-4-32kandgpt-4-32k-0314), the price is $0.06 per 1k prompt tokens and $0.12 per 1k sampled tokens.
Please note that you are charged for every token going in and every token coming out. You can find more details on the Pricing page (https://openai.com/pricing) of OpenAI.