[KongchangAI]
ProductChat Completions API

OpenAI Chat Completions

A conversational completion API interface provided by OpenAI that supports both streaming and non-streaming responses. Usage data in streaming mode must be enabled through stream_options.

Core Facts

Timeline (last 90 days)

Oct 31

The system prompt is a special instruction passed separately from user messages in a conversation API, usually located at the very front of the message list, and in OpenAI's Chat Completions interface it corresponds to the message whose role is "system".

Unverified60%
Oct 29

openai-compatible is a kind of "protocol adapter base" that lets any vendor following the OpenAI Chat Completions interface style (Z.ai, DeepSeek, Together, etc.) integrate with very little code.

Verified75%
Oct 25

The role of AgentScope's Message has three values: User, System, and Agent, corresponding to the user, system, and assistant role conventions in the OpenAI Chat Completions protocol.

Unverified50%
Oct 19

@ai-sdk/openai-compatible is the common compatibility layer for many OpenAI-compatible model services, and changes to its version may affect multiple provider adapter packages at once.

Verified85%
Oct 19

The strict sequence requirement of the tool-calling API is that every tool_call must be immediately followed by a tool message with a matching id, otherwise the server may return a 400 error or behave undefinedly.

Unverified50%
Oct 19

For the same MiniMax M3.1 Flash model, the effort field is named reasoning_effort, output_config.effort, and reasoning.effort under the OpenAI Chat Completions, Anthropic Messages, and OpenAI Responses protocols respectively; all three accept the five values low/medium/high/xhigh/max, and all default to max.

Unverified50%
Oct 18

Using the three environment variables OPENAI_API_KEY, OPENAI_BASE_URL and OPENAI_MODEL, Qwen Code can be configured to connect to a custom OpenAI-compatible API without a configuration file.

Unverified50%
Oct 18

Qwen Code is a terminal coding agent launched by the Tongyi team, originally forked from Gemini CLI and switched to the OpenAI Chat Completions protocol.

Unverified50%
Oct 18

The OpenAI Chat Completions protocol is currently the de facto standard for LLM inference access; mainstream self-hosted frameworks such as vLLM, Ollama and LiteLLM all implement it, and their common trait is exposing a /v1/chat/completions endpoint and accepting Bearer authentication.

Unverified50%
Oct 18

Strata is compatible with the OpenAI Chat Completions interface specification; point the base URL to local port 8080 and fill in any key to use it.

Unverified50%

5 more timeline events

All Facts (16)

Verified

@ai-sdk/openai-compatible is the common compatibility layer for many OpenAI-compatible model services, and changes to its version may affect multiple provider adapter packages at once.

85%
Verified

openai-compatible is a kind of "protocol adapter base" that lets any vendor following the OpenAI Chat Completions interface style (Z.ai, DeepSeek, Together, etc.) integrate with very little code.

75%
Verified

ZAI chose to take the OpenAI-compatible path; the benefit is fast integration and a small maintenance surface, and the cost is the inability to expose unique capabilities beyond the OpenAI protocol.

75%
Verified

The openai-compatible package encapsulates common logic such as request construction, streaming SSE parsing, and function/tool calling, allowing providers to connect simply by configuring the endpoint and authentication method.

75%
Verified

Claude uses the Anthropic Messages API format, while the GPT series uses the OpenAI Chat Completions format, and the two have fundamentally different interface specifications.

65%
Unverified

In traditional interfaces such as OpenAI Chat Completions, messages with the system role are usually conventionally placed at the very front of the message array, as the global setting for the entire session.

70%
Unverified

Ollama's interface design is highly compatible with OpenAI's /v1/chat/completions specification.

70%
Unverified

The system prompt is a special instruction passed separately from user messages in a conversation API, usually located at the very front of the message list, and in OpenAI's Chat Completions interface it corresponds to the message whose role is "system".

60%
Unverified

GLM (glm-4.5-air) is Zhipu AI's large language model series, called via the OpenAI-compatible API provided by Z.ai, with interface paths, request bodies, and response formats largely consistent with the OpenAI Chat Completions specification.

60%
Unverified

The role of AgentScope's Message has three values: User, System, and Agent, corresponding to the user, system, and assistant role conventions in the OpenAI Chat Completions protocol.

50%
Unverified

The strict sequence requirement of the tool-calling API is that every tool_call must be immediately followed by a tool message with a matching id, otherwise the server may return a 400 error or behave undefinedly.

50%
Unverified

For the same MiniMax M3.1 Flash model, the effort field is named reasoning_effort, output_config.effort, and reasoning.effort under the OpenAI Chat Completions, Anthropic Messages, and OpenAI Responses protocols respectively; all three accept the five values low/medium/high/xhigh/max, and all default to max.

50%
Unverified

Qwen Code is a terminal coding agent launched by the Tongyi team, originally forked from Gemini CLI and switched to the OpenAI Chat Completions protocol.

50%
Unverified

The OpenAI Chat Completions protocol is currently the de facto standard for LLM inference access; mainstream self-hosted frameworks such as vLLM, Ollama and LiteLLM all implement it, and their common trait is exposing a /v1/chat/completions endpoint and accepting Bearer authentication.

50%
Unverified

Using the three environment variables OPENAI_API_KEY, OPENAI_BASE_URL and OPENAI_MODEL, Qwen Code can be configured to connect to a custom OpenAI-compatible API without a configuration file.

50%
Unverified

Strata is compatible with the OpenAI Chat Completions interface specification; point the base URL to local port 8080 and fill in any key to use it.

50%

Source Articles