AI engineering glossary · Inference serving optimisation

What is OpenAI-compatible API?

OpenAI-compatible API: An HTTP interface that copies the request and response format of OpenAI's chat and completion endpoints. Many open-source servers offer it, so applications written for one provider can switch by changing only the base URL and model name.

Level: beginnerTopic: Inference serving optimisation

OpenAI-compatible API: an example

Pointing an existing client's base URL at a self-hosted vLLM server lets the same code call an open model.

Related terms

More Inference serving optimisation terms

Where you learn it

OpenAI-compatible API is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.