[KongchangAI]
ConceptOpenAI-compatible API / OpenAI 兼容 API

OpenAI-Compatible API

Refers to the practice by third-party model providers of offering services that replicate the endpoint formats of OpenAI, such as /v1/chat/completions, so that existing OpenAI clients and SDKs can connect directly.

Core Facts

Timeline (last 90 days)

Oct 18

Deployment uses llama.cpp's llama-server rather than Ollama, with a context length of 128k tokens and 2 parallel slots, exposing an OpenAI-compatible interface.

Unverified50%
Oct 17

An OpenAI-compatible interface does not mean fully identical capabilities; features that cloud models support, such as function calling, structured output, and long context, may be missing or unstable on small local models.

Unverified50%
Oct 12

OpenAI-compatible interfaces usually cover only the core fields, and implementations of extended capabilities such as tools, response_format, and streaming events are not fully consistent across vendors; when encountering unsupported features, they may return a parameter error or silently ignore it.

Unverified50%
Sep 19

The popularity of the OpenAI-compatible interface standard is a de facto convention formed by the community to mitigate the problem of vendor lock-in.

Unverified70%
Sep 11

The zai provider depends on @ai-sdk/openai-compatible, indicating it is most likely built on top of an OpenAI-compatible interface.

Verified85%

All Facts (5)

Source Articles