OpenAI Completions vs Responses API: Which to Use in 2026
Table of contents:
Quick Answer: OpenAI has three text APIs:
Completions: the legacy, prompt-in, text-out API.
Chat Completions: takes a list of messages and returns one reply.
Responses: the newest. It can call several tools in one request, keep conversation state on OpenAI's servers, and carry reasoning between turns.
In the OpenAI completions vs responses API choice, OpenAI recommends the Responses API for all new projects. Chat Completions is still supported and not deprecated. Stay on it for simple stateless calls, or if you want code that also runs on other providers. The legacy Completions models were shut down on September 28, 2026.
If you're starting a new integration, or wondering whether your Chat Completions code is on borrowed time, the OpenAI completions vs responses API question is the first one to settle.
The two APIs look similar in a five-line example, but they diverge quickly once you add tools, reasoning models or long conversations.
This OpenAI completions vs responses API guide compares them side by side and shows the same request in both.
It also covers when Chat Completions is still the better choice and how to migrate.
If you call more than one provider, the API you pick also decides how easily you can switch models later.
ScriptRun's OpenAI-compatible API gives you one key for many models, from OpenAI and other providers.
Everything here is based on OpenAI's migration guide and deprecations page, checked on November 25, 2026.
Disclosure: ScriptRun publishes this article and sells API access to models from several providers.
OpenAI completions vs. responses API: what’s different
Here's the OpenAI completions vs responses API comparison as of November 2026.
Most of the decision is in the columns for Chat Completions and Responses.
Feature | Completions (legacy) | Chat Completions | Responses |
Endpoint | /v1/completions | /v1/chat/completions | /v1/responses |
Launched | 2020 | March 2023 | March 2025 |
Status | Models shut down Sep 28, 2026 | Supported, not deprecated | Recommended for new projects |
Input | A prompt string | An array of messages | A string or an array of typed items |
Output | Text | choices[].message | An output array of items, plus the output_text helper |
Conversation state | None | You resend the history | previous_response_id or the Conversations API, or resend it yourself |
Built-in tools | None | None | Web search, file search, computer use, code interpreter, remote MCP, image generation |
Function calling | No | Yes | Yes (different shape) |
Structured Outputs | No | Yes, via response_format | Yes, via text.format |
Tool calls with reasoning (GPT-5.4 and later) | No | Only with reasoning effort "none" | Yes |
Multiple generations (n) | Yes | Yes | No, one per request |
Audio | No | Yes | "Coming soon" |
Copied by other providers | Rarely now | Widely | Growing (some in beta) |
OpenAI completions vs responses API: a short history
Part of the confusion comes from the name.
When people search "OpenAI completions vs responses API", some mean the original Completions API and some mean Chat Completions.
They're different endpoints:
-
Completions (2020). You sent a prompt string and the model continued it. Models such as text-davinci-003 and gpt-3.5-turbo-instruct used it.
-
Chat Completions (March 2023). It launched with GPT-3.5 Turbo. You send a list of messages with roles (system, user, assistant), and it later added function calling. Its request shape became an informal industry standard that most providers and gateways copy.
-
Assistants API (late 2023). A stateful beta with threads and hosted tools. It never caught on widely, and it shut down on August 26, 2026.
-
Responses (March 2025). OpenAI built it to be "as approachable as Chat Completions, as powerful as Assistants", and designed for reasoning and multimodal models.
The legacy Completions API is now effectively over.
OpenAI's deprecations page lists gpt-3.5-turbo-instruct, babbage-002 and davinci-002 as shut down on September 28, 2026.
So in practice, the OpenAI responses API vs completions choice today is a choice between Chat Completions and Responses.
The rest of this guide focuses on those two, because any OpenAI completions vs responses API decision you make now is really about them.
What is the OpenAI responses API
The OpenAI Responses API is a single endpoint for building agentic AI applications.
OpenAI's own blog describes the shift this way: "Chat Completions gave you a simple turn-based chat interface. Responses instead gives you a structured loop for reasoning and acting."
Three ideas set it apart, and they explain most of the OpenAI completions vs responses API gap:
-
An agentic loop. In one request, the model can call several tools (web search, file search, code interpreter, a remote MCP server or your own functions) before it gives its final answer.
-
Items instead of messages. A response is a list of typed items: a reasoning item, a function call, a function call output, a message. You see what the model did as well as what it said.
-
Preserved reasoning. With reasoning models, Responses can carry the model's reasoning into the next turn. In Chat Completions, reasoning is dropped between calls.
OpenAI says these changes pay off.
In its internal tests, GPT-5 scored 3% higher on SWE-bench and 5% higher on TAUBench through Responses than through Chat Completions, and cache use improved by 40–80%.
These are OpenAI's own figures, not independent benchmarks.
Key differences in the OpenAI completions vs responses API debate
This is where the chat completions vs responses API choice gets concrete.
Each difference below affects how you write and maintain your code.
1. Request and response shape
Chat Completions takes messages and returns choices, each with a message. Responses takes input, which can be a plain string or a list of items, and returns an output array.
For simple text, the SDK's output_text helper gives you the answer directly. Instructions can go in a separate instructions parameter instead of a system message.
Responses also drops the n parameter.
Chat Completions can return several alternative answers in one call; Responses always returns one.
For simple apps, these shape changes are the only OpenAI completions vs responses API difference you'll notice.
2. Conversation state and previous_response_id
State is where the OpenAI completions vs responses API gap is widest for chat apps.
With Chat Completions, you keep the conversation yourself and resend the full history on every call.
The Responses API gives you three options:
-
Resend the history yourself, as before.
-
Chain calls with previous_response_id, so OpenAI supplies the earlier turns.
-
Use the Conversations API for a long-lived conversation object.
The OpenAI responses API previous_response_id option needs stored responses, which is the default.
Two catches from the community are worth knowing:
Instructions don't carry over. Pass the instructions parameter again on each call.
You're still billed for the history. Chained turns are still sent to the model as input tokens. You just don't have to send them over the network yourself.
3. Tools and reasoning models
This is the biggest practical difference in the OpenAI completions vs responses API comparison.
OpenAI's built-in tools (web search, file search, computer use, code interpreter, remote MCP and image generation) are available only in Responses.
Reasoning summaries are too.
There's also a hard limit in Chat Completions.
OpenAI's comparison guide states: "Starting with GPT-5.4, Chat Completions does not support tool calling with reasoning_effort values other than none."
So if you want a recent reasoning model to think and call your functions in the same request, you need Responses.
4. Structured Outputs and function calling
Both APIs support Structured Outputs and function calling, but on the OpenAI completions vs responses API side by side, the request shapes differ:
-
Structured Outputs: response_format in Chat Completions becomes text.format in Responses. The Python SDK's responses.parse() accepts a Pydantic model through text_format.
-
Function definitions: in Chat Completions, a tool wraps its details in a function object. In Responses, name, description and parameters sit directly on the tool.
-
Function results: in Chat Completions you send a tool message. In Responses you send a function_call_output item with the matching call_id.
If you also call Claude or Gemini, the shapes differ again. See our guide to function calling across OpenAI, Claude and Gemini.
5. Storage, data retention and encrypted reasoning
On storage, the OpenAI completions vs responses API defaults are now close. Responses are stored by default.
Chat completions are also stored by default for accounts created recently. On both APIs, store: false turns storage off.
If your organization can't let OpenAI keep data, for example under zero data retention, you can still pass reasoning between turns.
Set store: false and request encrypted reasoning content, then send it back with the next request.
6. Cost and caching
Price is rarely what decides the OpenAI completions vs responses API question.
Both APIs charge the same way: per input and output token, at each model's rates.
At launch, OpenAI told Fast Company that Responses would cost about the same to run as Chat Completions.
The difference comes from caching: OpenAI reports 40–80% better cache use with Responses in internal tests, and cached input tokens are cheaper.
Built-in tools cost extra. Web search, for example, is billed at $10 / 1K calls plus the tokens of the content it reads, and file search tool pricing "applies to the Responses API only".
Check the OpenAI pricing page before you budget.
For more ways to save, see our guide to cutting LLM API costs.
OpenAI Responses API Python example: the same request in both APIs
Here's a minimal OpenAI Responses API Python example next to its Chat Completions version.
It shows the OpenAI completions vs responses API difference in code, using the official openai package.
Chat Completions first:
from openai import OpenAI
client = OpenAI()
completion = client.chat.completions.create(
model="gpt-5.6",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Write a one-sentence bedtime story about a unicorn."},
],
)
print(completion.choices[0].message.content)
The same request in the Responses API:
from openai import OpenAI
client = OpenAI()
response = client.responses.create(
model="gpt-5.6",
instructions="You are a helpful assistant.",
input="Write a one-sentence bedtime story about a unicorn.",
)
print(response.output_text)
A follow-up question using previous_response_id, so you don't resend the first turn:
follow_up = client.responses.create(
model="gpt-5.6",
instructions="You are a helpful assistant.",
previous_response_id=response.id,
input="Now give the unicorn a name.",
)
print(follow_up.output_text)
A built-in tool takes one line. This request lets the model search the web before it answers:
response = client.responses.create(
model="gpt-5.6",
tools=[{"type": "web_search"}],
input="What changed in the OpenAI API this week?",
)
print(response.output_text)
Swap the model name for the one you use; the examples follow the request shapes in OpenAI's migration guide.
OpenAI completions vs responses API: when Chat Completions is still the right choice
OpenAI's advice is clear, but the openai chat completions vs responses decision still depends on your app.
Chat Completions remains the better fit when:
-
You want portability. Chat Completions is the format other providers copy. Many vendors and gateways offer an OpenAI-compatible Chat Completions API, so the same code can call models from several companies. Responses support elsewhere is newer and sometimes partial, which can tip the OpenAI completions vs responses API choice.
-
Your calls are simple and stateless. Classification, extraction or a single-turn answer with no tools gains little from Responses. Sean Goedecke, a developer who wrote a widely shared critique of the new API, argues that Chat Completions is the simpler of the two.
-
You need several answers per call through n, or audio input and output.
-
You run fine-tuned models. Researchers on LessWrong found that the same fine-tuned model behaved differently on the two APIs. A model trained to write ungrammatically did so in about 90% of answers through Chat Completions but only about 10% through Responses, at temperature 0. If you fine-tune, test both sides of the OpenAI completions vs responses API before you deploy.
Small behavior differences show up elsewhere too.
One developer documented in the OpenAI Developer Community that, with one tool and tool_choice set to "required", Responses made exactly one tool call per request, while Chat Completions made parallel calls.
Run your own OpenAI completions vs responses API tests before you switch a production workload.
Using models from several providers?
ScriptRun gives you one OpenAI-compatible API key for models from OpenAI and other providers.
It works with the OpenAI SDK in the Chat Completions format: change the base_url and the key.
It adds smart routing, failover between providers and retries with backoff.
Responses API on OpenRouter, Azure and LiteLLM
If you don't call OpenAI directly, the OpenAI completions vs responses API question becomes a question about your provider: what matters is whether your provider or gateway supports the Responses API, and how fully.
In the responses API vs chat completions API comparison, this is often the deciding factor:
Platform | Responses API support (checked Nov 25, 2026) |
Azure OpenAI | Supported. The Azure OpenAI Responses API is called through the /openai/v1/ base URL with the standard OpenAI SDK. |
OpenRouter | The OpenRouter Responses API is in beta and "stateless only": previous_response_id and store: true are rejected with a 400, so you resend the history yourself. |
LiteLLM | The LiteLLM Responses API endpoint follows OpenAI's spec. For providers without their own Responses support, LiteLLM converts the request to Chat Completions behind the scenes. |
xAI | Recommends Responses, and labels its own Chat Completions endpoint "Deprecated" and "Legacy". |
The pattern is clear: Responses is spreading, but Chat Completions is still the common denominator across providers.
See which providers support an OpenAI-compatible API for the wider picture, or our comparison of LLM gateways.
How to migrate from Chat Completions to the Responses API
Once you've settled the OpenAI completions vs responses API question for a feature, migration is mostly mechanical.
You don't have to migrate everything at once.
Both APIs work side by side under the same API key, so you can move one feature at a time.
A checklist:
-
Change the endpoint: client.chat.completions.create becomes client.responses.create.
-
Rename the input: messages becomes input. Simple message lists work unchanged. Optionally move the system message to instructions.
-
Read the output differently: choices$0$.message.content becomes output_text, or loop over output items when you use tools.
-
Update Structured Outputs: response_format becomes text.format.
-
Flatten function definitions and return results as function_call_output items.
-
Decide on state: keep resending history, chain with previous_response_id, or use the Conversations API.
-
Decide on storage: set store: false if you don't want responses kept, and request encrypted reasoning if you need it.
-
Replace n with several requests if you relied on it.
-
Re-run your evaluations, especially for fine-tuned models and tool-calling flows.
For long-running jobs, the Responses API also has a background mode, so you can start a task and check on it later.
This works well with asynchronous AI workflows.
The bottom line on OpenAI completions vs responses API
For a new OpenAI project, the OpenAI completions vs responses API answer is simple: start with Responses.
It's where OpenAI's tools, reasoning features and new models land first, and from GPT-5.4 it's the only way to combine reasoning with tool calls.
Keep Chat Completions where it still earns its place: simple calls, fine-tuned models you've already evaluated, and code that has to run across providers.
If you work with several providers, ScriptRun's OpenAI-compatible API lets you reach models from OpenAI and other providers with one key.
FAQs about OpenAI completions vs responses API
What is chat completion API?
The Chat Completions API is OpenAI's message-based endpoint, /v1/chat/completions, launched in March 2023. You send a list of messages with roles (system, user and assistant), and it returns the model's reply. It supports function calling, vision and Structured Outputs. Its format is widely copied, so many other providers accept the same requests.
How to use OpenAI Responses API?
Install the openai package and call client.responses.create() with a model and an input, which can be a plain string. Read the answer from response.output_text, which replaces choices[0].message.content from the Chat Completions side of the OpenAI completions vs responses API. Add tools for built-in tools such as web search, and previous_response_id to continue a conversation. The Python examples above show all three.
What is OpenAI Responses API?
The OpenAI Responses API is the newest way to call OpenAI models, launched in March 2025. It combines the simplicity of Chat Completions with the tools and state of the Assistants API. It can call several tools in one request and keep the conversation on OpenAI's servers. It also preserves reasoning between turns.
When to use OpenAI Responses API?
Use it for new OpenAI projects, especially agents, tool use and multi-turn apps. It's also the API to use for recent reasoning models: from GPT-5.4, they can only call tools while reasoning through Responses. That's the short OpenAI completions vs responses API rule. Stay on Chat Completions for simple stateless calls, for the n parameter or audio, or when the same code must run on other providers.
When to use assistant API vs chat completion API?
Neither, for the Assistants part: the Assistants API shut down on August 26, 2026. OpenAI's replacement is the Responses API with the Conversations API. Chat Completions is still available for simple, stateless calls.
Is chat completions API deprecated OpenAI 2025?
No, not in 2025 and not as of November 2026. Chat Completions isn't on OpenAI's deprecations page, and OpenAI's guide says it "remains supported". OpenAI does recommend Responses for all new projects, and expects it to become the default "just as Chat Completions replaced Completions". What was deprecated is the Assistants API and the legacy Completions models, so the OpenAI completions vs responses API choice today is between two supported APIs.
Related posts
Zapier Alternatives: 8 Tools Compared on Price (2026)
Zapier alternatives compared: what each tool costs, how it counts usage, a 10,000-action cost example, and open-source and enterprise picks.
LLM Vision API: Processing Images and PDFs Across OpenAI, Claude, and Gemini
Run images and PDFs through OpenAI, Claude, and Gemini from one OpenAI-compatible LLM vision API. Includes Python and TypeScript base64 examples, 2026 token math, pre-resizing, JSON extraction, and async Workflow API batch jobs.
What Is OpenRouter? How It Works, Pricing and Limits (2026)
What is OpenRouter and should you use it? How the gateway works, what it costs, free limits, Auto Router and Fusion, privacy and who owns it.
OpenAI API Alternative: 8 Providers Compared for 2026
Eight OpenAI API alternatives compared on current prices, speed, context and what changes when you switch, with a checklist and a gateway option.








