#what are all of the available apis?
1 messages · Page 1 of 1 (latest)
Hi @lofty sphinx. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
OpenAI provides a range of APIs that allow developers to interact with their advanced AI models. Here are some of the key APIs mentioned in the provided knowledge sources:
-
Chat Completions API: This API is used to interact with the newer models like
gpt-4,gpt-4-turbo-preview, andgpt-3.5-turbo. The endpoint for this API is<https://api.openai.com/v1/chat/completions.> Source (https://platform.openai.com/docs/guides/text-generation) -
Completions API: This API is used to interact with the updated legacy models like
gpt-3.5-turbo-instruct,babbage-002, anddavinci-002. The endpoint for this API is<https://api.openai.com/v1/completions.> Source (https://platform.openai.com/docs/guides/text-generation) -
Models API: This API is used to interact with the list of available models. The endpoint for this API is
<https://api.openai.com/v1/models.> Source (https://community.openai.com/t/491835)
Please note that the availability of models may vary, and you should check the official OpenAI API documentation (https://platform.openai.com/docs/introduction) for the most up-to-date information.
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@lofty sphinx kapa.ai is still learning and improving, please let us know how it did by reacting below
@opaque obsidian show all apis and their costs
Let me check the knowledge base for you. One moment! :books:
Based on the provided knowledge sources, OpenAI offers several APIs, each with its own pricing. Here are some of the key APIs and their associated costs:
-
ChatGPT API: The cost of using the ChatGPT API is separate from the ChatGPT platform subscription. The API usage has its own separate cost. For detailed pricing, you can refer to the OpenAI Pricing page (https://openai.com/pricing). Source (https://help.openai.com/en/articles/8792828-what-is-chatgpt-team#h_1392977172)
-
GPT-4 API: The pricing for GPT-4 varies based on the context length of the models. For example, for models with 128k context lengths (e.g.,
gpt-4-turbo), the price is $10.00 per 1 million prompt tokens and $30.00 per 1 million sampled tokens. For more detailed pricing, please refer to the OpenAI Pricing page (https://openai.com/pricing). Source (https://help.openai.com/en/articles/7127956-how-much-does-gpt-4-cost)
Please note that the cost of API usage is charged by the number of tokens used. You can find more details about token pricing here (https://openai.com/pricing). Source (https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them#h_4f7e925c57)