Start the free course

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.

An app can use AI without sending you to ChatGPT.
An app can use AI without sending you to ChatGPT.You click Shorten in a writing app. The app sends text to the OpenAI API. The app receives the generated shorter version and shows it to you.You, in a writing appSelect a paragraphClick “Shorten”The app sends your textOpenAI APIReceives the app’s requestReturns AI-generated textThe app receives the resultBack in your writing appYou see the shorter paragraph

This is an example of using the API. Opening ChatGPT and asking it directly is a separate workflow.

Further reading

Browse all API questions