OpenAI-compatible API

An API that accepts the same request and reply shapes as OpenAI's, so existing client code and libraries work against another model server.

In more detail

Local servers such as Ollama and LM Studio, and routers such as OpenRouter, offer one. Compatibility usually covers the common fields; features such as caching, citations or reasoning settings often differ, so test what you rely on.

Related terms

Taught in

References

Certification courses