Unverified50% confidenceFactExact time
The chat API is stateless, so to achieve multi-turn conversation the client must put the previous user and assistant messages into the messages array of the current request, and the history messages are billed again as input tokens every turn.
1
Sources
50%
Confidence
Long-term
Relevance
10/15/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedChatGPT API采用无状态设计,每次请求都需要将完整的对话历史作为输入发送并计费79% similarUnverifiedMulti-turn conversation models accept a `messages` array containing a list of historical messages, with full context carried in each request; some specialized models' APIs only accept a single `prompt` input and do not process historical context.78% similarUnverifiedChat Completion API的上下文并非由系统自动保存,模型本身是无状态的,需要开发者通过messages消息列表手动传入历史对话记录77% similarUnverifiedChat assistants use the large model's Chat Completion interface and maintain a message history list to achieve multi-turn conversation context memory, while text generation is similar to a single Completion interface call that does not retain conversation history.76% similarUnverifiedChat Model的输入是一个消息列表,输出是结构化消息对象AIMessage,对应ChatOpenAI、ChatAnthropic等类72% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1037058API
curl https://kongchang.com/api/v1/knowledge/claims/1037058MCP
get_claim(id=1037058)