For builders · OpenAI

The OpenAI API,
in plain words.

The models behind ChatGPT, called from your own code and paid for by use. It covers text, images, speech and transcription, so one account can do several jobs.

  • Best for: adding OpenAI’s models to your own site or app

What it is good at

Where The OpenAI API earns its place

Several kinds of work in one account

Text, images, speech and transcription from the same place.

The same job, many times

Sorting, tagging and summarising at volume with one instruction.

A choice of sizes

Smaller, cheaper models for simple work and larger ones for hard work.

Try this first

Instructions for sorting incoming messages

Copy it, change the parts in brackets, and send it. It follows the five parts of a brief, cut down to what this job needs.

You sort incoming messages for [the business] into one of these categories: [category], [category], [category].

Reply with the category name and nothing else.

If a message fits none of them, reply: other.

If a message is abusive or about an emergency, reply: urgent.

On the timeline

How The OpenAI API got here

The moments from our AI timeline that shaped it.

14 March 2023

GPT-4 raises the ceiling

A model good enough for real work: long documents, harder reasoning, and pictures as input. AI moved from a curiosity to a tool people paid for.

See it on the timeline
12 September 2024

o1 thinks before it answers

A model that spends time reasoning through a problem before replying. Slower and better on hard questions, and the start of choosing how much thinking a task deserves.

See it on the timeline
7 August 2025

GPT-5

One system that decides for itself when to answer quickly and when to think longer. Less choosing between models, more describing the job well.

See it on the timeline
17 November 2026

GPT-6.2 Astra and Sol

OpenAI’s newest models, announced the same day, aimed at professional work, coding and operating a computer at lower cost.

See it on the timeline

Go further

Learn The OpenAI API properly

Free courses from our course list, and pages here that go deeper.

DeepLearning.AI and OpenAI

ChatGPT Prompt Engineering for Developers

About an hour on the two principles behind good prompts and how to improve one step by step. Aimed at developers, but the ideas apply to anyone.

Open the course

Before you rely on it

What to watch

Your API key is a password that spends money. Keep it on the server, never in a page, and set a spending limit.

Prices and model names change often. Check the current page before you estimate a cost.

The obvious question

The OpenAI API or the Claude API?

This site’s chat runs on Claude, a deliberate choice: Claude communicates better. For a first AI feature either one will do. For something that talks or writes we would start with Claude; if you need images, speech or transcription, the OpenAI API has those in one account.

The full comparisonRead about The Claude API

Next

The tool is half of it.
The brief is the other half.

Let the builder write a brief for your own job, or start from one already written.