passdrill
AI & LLM Engineering · Building with LLM APIs · Card 008/012 medium

A developer building a multi-turn conversational app compares OpenAI's Chat Completions API to its Responses API. According to OpenAI's documentation, what is a key difference in how each manages conversation state across turns?

  1. Chat Completions automatically stores and threads every conversation server-side with no client involvement, while the Responses API requires the client to resend the entire message history on every call
  2. Both APIs require the exact same manual approach: the client must always reconstruct and resend the full list of prior user and assistant messages with every request, with no built-in alternative in either API
  3. The Responses API has no way to maintain multi-turn context at all, and is only suitable for single-turn, stateless requests unrelated to any previous exchange
  4. With Chat Completions, the client must append prior turns into the message array and resend the full history each call, while the Responses API can instead reference a prior turn via a `previous_response_id` parameter so the server carries the context forward
Next card → Shuffle