API fundamentals
Is ChatGPT an API?
ChatGPT is an application you can talk to by typing or speaking. OpenAI also offers an API: a way for other applications to send requests to AI models and receive answers. Using ChatGPT and using that API are two different ways to access AI capabilities.
For example, you can open ChatGPT, paste a paragraph, and ask for a shorter version. A developer could also add a “Shorten this text” button to a writing app. Behind that button, the app sends the paragraph to the OpenAI API and displays the result.
In the first case, you are using ChatGPT directly. In the second, the writing app handles the exchange for you. You do not need to understand or see the API request to use the button.
This is an example of using the API. Opening ChatGPT and asking it directly is a separate workflow.