A structured comparison of three major LLM API formats: OpenAI's Chat Completions (stateless, widest ecosystem), OpenAI's Responses API (agent-oriented with built-in tools and state management), and Anthropic's Messages API (Claude-native with extended thinking and prompt caching). The piece covers design goals, capabilities,
Table of contents
Open AI Responses API vs. Chat Completions vs. Messages API: At a glanceWhat makes each endpoint differentHow Portkey supports all threeMaking calls with each API through PortkeyGetting startedSort: