Chat Completions API

OpenAI's older, widely copied API that takes a list of role-tagged messages and returns choices, each with a message and a finish reason.

In more detail

Many other providers and local servers imitate its shape, which is what OpenAI-compatible usually means. OpenAI still supports it but steers new projects to the Responses API.

Related terms

Taught in

References

Certification courses