Responses
is set to replace Completions
. Responses combines completions style with Assistants API capabilities in one.
curl https://api.openai.com/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer OPENAI_API_KEY" \ -d '{ "model": "gpt-4.1-nano", "messages": [ { "role": "developer", "content": "You are a helpful assistant." }, { "role": "user", "content": "Hello!" } ] }'
Responses API = Agentic API primitive
Built-in tools:
curl https://api.openai.com/v1/responses \ -H "Content-Type: application/json" \ -H "Authorization: Bearer OPENAI_API_KEY" \ -d '{ "model": "gpt-4.1-nano-2025-04-14", "input": [ {"role": "front desk agent", "content": "greet a guest"} ] }'
Responses
API will succeed Assistants
API after achieving parity.
Assistants
API will sunset around first half of 2026.Used to orchestrate single-agent and multi-agent workflows.