COMPARISON19 min read

OpenAI Background Mode vs Real-Time API

Choose OpenAI Background Mode when a task can wait and needs durable async execution; use real-time endpoints when people need an immediate response.

P
PADISO teamPublished 28 Nov 2026

OpenAI Background Mode is for work that can run asynchronously, where you want to avoid holding a client connection open and can accept a completion window. The real-time API is better when a user or system needs an immediate response, streaming, or a tight response-time expectation. For independent bulk jobs, also compare the Batch API before choosing either.

This is an architecture decision, not just a price comparison. Your choice affects queue behaviour, retries, tool loops, user experience, data handling and how you measure cost. If you are planning an agent workflow, our AI agents and automation service can help you test these trade-offs against a real production flow.

OpenAI Background Mode vs real-time API: what are you comparing?

Both modes let your application send work to OpenAI’s Responses API. The difference is how your application waits for the answer and, with discounted background completion windows, how long the provider may take to process it.

A real-time request is a foreground call. Your service sends a request and waits for the response, often using server-sent events to stream output as it is generated. That suits a chat interface, an interactive copilot, or a backend action that must finish before a user can continue.

A background request is accepted for processing without making your application hold the original connection open until the model finishes. Your application stores the returned response ID, then retrieves the result later or receives a notification. With the completion-window options described in the December 2026 research, a request can target a longer processing window in return for a lower token rate.

This distinction is easy to blur. Background Mode is not simply a longer HTTP timeout. It changes your workflow from request-and-wait to submit-track-retrieve. It also is not the same as the Batch API. Batch is designed for independent requests submitted together as a file. Background Mode is useful when work needs an asynchronous lifecycle but may still need tools or successive model turns.

Question Real-time API Background Mode
Does the caller wait for the model? Yes, until response completion or connection interruption No, the initial request returns a response object for later tracking
Is output streamed as it is generated? Yes, when streaming is enabled Not for the discounted 2-hour and 8-hour windows described here
Is there a discounted completion window? No, standard token rates The supplied December 2026 research lists 2-hour and 8-hour windows at discounted rates
Does it suit interactive chat? Yes Usually not, unless the user experience is designed around a pending task
Can it suit agent workflows? Yes, if the application manages the loop and connections Yes, when the workflow can run asynchronously and continue across turns
What does the application need to build? Connection handling, timeouts, streaming and synchronous error handling Job state, retrieval or webhook handling, retries, cancellation and expiry management

OpenAI’s Background Mode API guide describes the background request pattern and response retrieval. The underlying product is still the Responses API. Your decision is about how to execute and manage a response, not whether you need a different model family.

When should you use the real-time API?

Use real-time execution when waiting is part of the product experience and the user expects an answer now. This is the straightforward choice for a customer support response, an in-product copilot, a search assistant, or an approval step where a person is watching the screen.

Choose it for interactive work

Streaming lets your interface display partial output while generation continues. That can make a longer response feel more responsive, but it does not make the model finish sooner. It changes when the user sees the first useful content. A streamed answer also needs UI behaviour for interruptions, partial results, retries and a user who navigates away.

Real-time is also a natural fit when a downstream service cannot proceed until it has the model’s result. For example, if an API request must return a classification to a calling system before that system can route a case, putting the model call in a background queue means changing the caller contract. You may need a callback, a status endpoint or a later reconciliation process.

Account for the connection, not just model latency

With a foreground call, your application needs to hold a connection open while the model works. That connection may be interrupted by your own request timeout, an API gateway, a serverless execution limit, a mobile network, or a client closing the page. A long-running model response therefore creates operational work even when the model itself is healthy.

These limits are not a reason to move every slow request to Background Mode. First check whether the request is genuinely interactive. If the user needs to wait, consider streaming, a clear progress state and a sensible timeout. If the user does not need to wait, shift the workflow to an asynchronous contract rather than extending a fragile connection indefinitely.

Real-time execution also makes it easier to meet a short response-time target, but it does not guarantee a specific latency. Model load, prompt size, reasoning effort, tool calls and output length all affect response time. Set expectations using measurements from your own workload, not an assumption that every call completes in a few seconds.

Real-time pros and cons

Pros

  • Supports immediate user interaction and streamed output.
  • Fits request-response APIs that must return an answer to the caller.
  • Makes it easier to put a person into the loop during the model’s response.
  • Avoids introducing a separate job-tracking lifecycle for simple calls.

Cons

  • The caller must manage connections, timeouts and partial or interrupted output.
  • Long model or tool runs can exceed gateway or serverless limits.
  • It uses standard token rates rather than the discounted completion windows listed for Background Mode.
  • A multi-step agent may keep an application request open for too long unless the application breaks the work into separate steps.

For a product or service where model execution crosses multiple systems, the bigger question is often how to design the full platform rather than which endpoint to call. Our platform engineering team works on the infrastructure, integration and reliability choices around these workflows.

When is OpenAI Background Mode the better fit?

Choose Background Mode when the task is not waiting on a person and can be completed after the initiating request has returned. Typical examples include document review, overnight processing, enrichment, reconciliation, and an agent that can spend time consulting tools before it reaches a result.

The supplied December 2026 research describes three completion choices: soonest, which runs at standard rates, plus 2h and 8h windows with token discounts. The research lists the 2-hour option at 30% below standard rates and the 8-hour option at 40% below standard rates. Treat those figures as date-specific, and verify current availability, model eligibility and billing rules in OpenAI’s Background Mode documentation before you commit a design.

The point is not that every request will take the full window. A completion window is a scheduling target, not a promise that work will finish at a particular minute. The research describes the windows as best-effort targets. Your application should be able to handle a job that finishes early, finishes later than your preferred time, fails, or remains pending while you investigate an incident.

What changes in the application?

A background workflow needs an explicit job lifecycle. At minimum, persist the response ID, your own job ID, the business object being processed, the requested completion window, the submission time and the current state. The OpenAI response ID is useful for retrieval, but it should not be your only link to the task. Your internal job record is where you track the customer, document, invoice or workflow that the response belongs to.

A practical lifecycle looks like this:

  1. Validate the task and the data it needs.
  2. Create a local job record with a stable idempotency strategy.
  3. Submit the request with background processing enabled and save the returned response ID.
  4. Mark the job as submitted or queued, then return a task reference to the caller.
  5. Retrieve the result by webhook or polling, validate the response and store the outcome.
  6. Run any permitted follow-up tool work, then record the final business state.
  7. Send a notification or make the result available to the system or person that requested it.

The webhook or polling worker should be safe to run more than once. Duplicate notifications should not create duplicate payments, tickets or records. Similarly, a timeout while submitting a request should not lead to an untracked second job. Use an internal state machine and reconcile your local records against provider response status.

The OpenAI Responses API event reference is a starting point for understanding response events, but your production design still needs to cover the events and retrieval behaviour supported by your chosen background workflow. Do not treat notification delivery as the only way to learn that a job finished. Maintain a recovery path, such as scheduled reconciliation or polling for jobs that have not reached a terminal state.

Background Mode pros and cons

Pros

  • The initiating service does not have to hold a client connection open through a long model run.
  • Discounted completion windows can reduce token charges for work that can wait, subject to the current model and account rules.
  • It supports a durable job pattern for document workflows and other asynchronous work.
  • The supplied research describes continuation support for multi-turn workflows, so a tool-using agent need not be reduced to one static request.
  • A pending job can be tracked, retrieved and, where supported, cancelled separately from the original request.

Cons

  • It is not suitable for a user waiting for an immediate answer.
  • Your application must manage job state, notifications, retrieval, retries, failure handling and reconciliation.
  • Discounted completion windows are not interactive streaming, and their stated windows should not be treated as a precise deadline guarantee.
  • You must verify details such as model eligibility, service-tier requirements, retention behaviour and current prices in the official documentation.
  • Async design can add complexity that is not worthwhile for a small, fast request.

How much can Background Mode save?

Use token cost as one input, not the whole business case. The supplied research, verified in December 2026, lists 30% lower token rates for the 2-hour window and 40% lower rates for the 8-hour window compared with standard rates. It also lists the Batch API at 50% lower token rates, with a completion window of up to 24 hours. These are not interchangeable options: Batch has more restrictions on dynamic, multi-turn work.

The following example uses the GPT-6.2 Sol rates in the supplied December 2026 research. It assumes one million input tokens and one million output tokens, and converts USD to AUD at the dossier’s reference rate of US$1 = A$1.55. It is an illustration of token charges, not a forecast of your invoice. Check the official Background Mode guide and your account’s current pricing before using any rates for a budget.

Processing option Research turnaround description Input per 1M tokens Output per 1M tokens Combined for 1M input + 1M output
Real-time, standard Immediate execution when capacity is available US$2.00, about A$3.10 US$10.00, about A$15.50 US$12.00, about A$18.60
Background soonest Background execution at standard rates US$2.00, about A$3.10 US$10.00, about A$15.50 US$12.00, about A$18.60
Background 2h Target within 2 hours, 30% below standard US$1.40, about A$2.17 US$7.00, about A$10.85 US$8.40, about A$13.02
Background 8h Target within 8 hours, 40% below standard US$1.20, about A$1.86 US$6.00, about A$9.30 US$7.20, about A$11.16
Batch API Target within 24 hours, 50% below standard US$1.00, about A$1.55 US$5.00, about A$7.75 US$6.00, about A$9.30

The combined number is a simple addition of input and output token rates. Actual jobs usually have different input and output volumes. If your system sends a large context with a short answer, input tokens dominate. If it generates long reports, output tokens can dominate. Model selection, retries, tool-call turns and prompt caching can also change the total.

A sound comparison uses your own workload sample. Measure tokens per completed business task, including unsuccessful attempts and follow-up turns. Then compare the cost per successful result, not only cost per API request. Our guide to cost per successful agent task explains why a cheap attempt can still produce an expensive workflow if it needs multiple retries or human correction.

Include the costs outside the token line

A lower token rate may not lower total cost if it creates a costly operational path. Include engineering and infrastructure needed for queue workers, a database, alerting, reconciliation, dead-letter handling and retention controls. Include the cost of a result arriving too late, such as a missed internal hand-off or a delayed customer response.

Also check whether the workflow can use Batch. If every request is independent and the full input set is known before processing starts, the Batch API may deliver a lower token rate according to the supplied research. If the workflow depends on a model result to decide which tool or request comes next, a static file-based batch is a poor match. Compare the actual orchestration pattern, not just the headline discount.

The cost figures above apply to the named model and date in the supplied research. The dossier also describes separate long-context pricing rules and a regional processing premium. Those details are especially likely to change or depend on eligibility, so verify them against the exact model’s current rate card rather than assuming they apply to every request.

How do latency and reliability differ?

Real-time and background processing have different meanings of latency. For real-time, measure time to first useful output and time to completion. For Background Mode, measure time from submission to acceptance, time to first processing if available, and time to final result. Reporting one average latency for both hides the question the architecture is meant to answer.

A user-facing chat may care about the first visible token. A nightly document audit may care about whether all documents finish before a review meeting. Set service objectives around business needs, then measure the full workflow against them.

Measure Why it matters Real-time Background Mode
Time to first output User perception, especially in a streamed interface Often the main interaction measure Usually not useful for a queued task unless progress events are available
Time to final result When the work is actually complete Must fit within the caller’s timeout or async fallback Compare against the selected completion window and business deadline
Connection failure rate Shows whether foreground calls are being interrupted A core operational risk for long requests Reduced for the original waiting connection, but job retrieval can still fail
Completion and failure rate Indicates whether requests reach a useful terminal state Track response and tool outcomes Track queued, running, completed, failed and locally reconciled jobs
Cost per successful task Captures retries, tokens and corrections Compare across endpoint and model choices Compare discounted token rates with orchestration and retry costs

The research notes report that background submission returns a queued response quickly and that discounted requests share an organisation-level background limit with Batch. It also describes separate rate-limit treatment from interactive requests. Since these operational details can change, confirm the current limit and accounting rules in your OpenAI project before designing capacity around them.

The most important reliability principle is to separate submission from completion. A successful submission does not mean the work has completed. A webhook arriving does not mean your system has committed the result. A model response that looks complete does not mean a downstream tool action succeeded. Track each stage and make the transitions observable.

For a background worker, define what happens when:

  • The initial API request times out and you do not know whether OpenAI accepted it.
  • A webhook is delayed, duplicated or never reaches your system.
  • A response fails or is cancelled after submission.
  • A tool call returns an error or the result is no longer valid.
  • A job completes after the business deadline.
  • Your application receives a result but cannot safely persist it.

Use bounded retries with back-off, and distinguish a retryable transport problem from a permanent input or policy failure. Keep the original request, response ID and relevant status history available for support and audit. Set an alert on jobs older than your expected completion range, but do not assume that one queued job means a platform incident.

Can Background Mode support agent loops and tools?

An agent is a model workflow that can choose tools, inspect their results and continue reasoning. A tool loop is dynamic: the application may not know which requests it needs to make until it sees the model’s preceding response. That makes a static batch of independent prompts a poor fit for some agents.

The supplied December 2026 research says Background Mode supports multi-turn workflows using a continuation_id, and that follow-up turns using the same completion window and identifier receive continuation priority. This is a material distinction from the Batch API as described in the dossier. Treat the exact continuation rules as an implementation requirement to verify in the current Background Mode guide, especially before relying on them to meet a deadline.

A continuation identifier is not a substitute for your own workflow state. Store the tool request, the arguments you approved, the result returned, the model response ID and the business decision made at each step. The model should not be trusted to remember the whole run without your system recording it.

For example, consider an invoice audit that needs to compare an invoice with a purchase order, look up a supplier record, and flag discrepancies for review. The application can submit the job, collect the model’s request for a permitted lookup, call the relevant tool, and submit the tool result as the next turn. The user does not need to hold a browser connection open while the audit progresses. But your system still owns tool access, validation, permissions, audit records and the final business action.

Do not give an agent broader access just because it runs in the background. Apply least privilege, validate tool inputs, constrain which systems it can call, and require human approval for actions that have a material financial or customer impact. A queued workflow can still make a harmful decision; it simply makes that decision later.

When is Batch API better than either option?

Batch is worth adding to the comparison because it can be cheaper than the completion windows in the supplied research, but it is designed for a different shape of work. Use it when the requests are independent, the input set is ready up front, and waiting for the batch to finish is acceptable.

A nightly classification of a fixed collection of support tickets is a good candidate. Each ticket can be processed without waiting for another ticket’s result. A multi-step audit that must query a database based on the model’s first answer is different. It needs a dynamic loop and may be better served by Background Mode or a real-time workflow, depending on how quickly the result is needed.

Workload Best starting point Why
Customer support chat or live copilot Real-time API The user is waiting and benefits from streamed output
Long reasoning call initiated by a user, but no live wait needed Background soonest or a discounted window The job can leave the request connection behind; choose a window only if the delay is acceptable
Nightly backfill of independent records Batch API Inputs are known up front and individual outputs do not drive later requests
Document audit with sequential database or MCP tool use Background Mode The workflow can be asynchronous but may need dynamic tool turns
Midday task needed before an afternoon meeting Background 2h, if current terms and measured timings fit It offers a completion-window target and a listed discount, but do not treat the target as a hard deadline
Payment, account change or another immediate decision Real-time with controls, or a human-approved process Delay and workflow design do not replace the need for appropriate safeguards

For model context protocol (MCP) connections, where a model can interact with tools exposed through a standard protocol, decide whether the tool execution and approval model works asynchronously. Our MCP server development service focuses on designing those integrations, including the boundaries between model reasoning and systems that hold business data.

What should you verify before moving a workload?

The supplied research describes several details that should be treated as release-specific rather than assumed to be permanent API behaviour. Check these in official documentation and with a small production-like test before committing to a design:

  • Whether the model and project support the completion window you intend to use.
  • Which service_tier values qualify for the discounted option.
  • Whether streaming is available for your chosen mode and window.
  • How continuation works for tool turns, including the identifiers and request fields that must remain consistent.
  • How background and Batch requests count towards your project’s rate limits.
  • How long response data remains available, and how your project’s data controls affect retrieval.
  • What cancellation does, whether it is idempotent, and what happens to work already in progress.
  • How pricing applies to long inputs, cached prompts, regional processing and retries.

The supplied notes call out a prompt-cache boundary between standard synchronous calls and discounted background windows. If your cost model depends on repeated prompts, test whether the intended cache is shared across the modes you plan to use. Do not assume that warming a prompt prefix on a real-time call reduces the cost of a later background run.

For regulated Australian organisations, review data handling with your privacy, risk and security teams before sending production information. The notes describe temporary retention behaviour for Zero Data Retention projects, but retention arrangements are account- and configuration-specific. Confirm the current terms and technical behaviour directly, and design your retrieval worker so it collects the response promptly. For financial services or insurance teams, our AI guidance for financial services and AI guidance for insurance are relevant starting points for the wider control discussion.

How should you make the decision?

Use this decision sequence with one representative workload, not a hypothetical average:

  1. Does someone need the result while they are waiting? If yes, start with real-time. If no, continue.
  2. Are all requests independent and ready up front? If yes, test Batch. If not, continue.
  3. Does the process need tool calls or new model turns based on earlier results? If yes, test Background Mode for asynchronous execution or real-time if the workflow must finish quickly.
  4. What is the actual business deadline? Pick a completion window only if it leaves enough room for retrieval, retries, human review and downstream work.
  5. What is the cost per accepted result? Include tokens, tool calls, unsuccessful attempts, engineering overhead and the cost of late results.
  6. Can the system recover? Test duplicate notifications, worker restarts, delayed jobs, cancellation and submission timeouts before scaling volume.

A simple pilot should include real examples from your intended workload. Capture request size, output size, model, completion time, failure type, number of turns, tool calls and human correction. Compare those results with the current endpoint and a Batch alternative when that is technically possible. If the workload is consequential, involve the people who own risk and operations before moving it into unattended processing.

Verdict by situation

Choose the real-time API for live chat, copilots, user-facing decisions and any request where a person needs a response immediately. Streaming can improve perceived responsiveness. Keep timeouts realistic and build a fallback for interrupted calls.

Choose Background Mode soonest when you need the async job lifecycle to avoid holding open a connection, but you do not need a discounted completion window. It can be useful for long calls that are vulnerable to network or gateway timeouts, while retaining standard token rates according to the supplied research.

Choose Background Mode 2h when a task can wait and the listed 30% token discount is worth the scheduling trade-off. Use it only when a two-hour target leaves enough time for the rest of your workflow, and verify the current terms and model support.

Choose Background Mode 8h for work with a flexible deadline, such as a document audit or an overnight process that needs dynamic tool use. The supplied research lists a 40% discount. Do not choose it for a task that needs a firm same-day response without contingency time.

Choose Batch for a large collection of independent, known requests where a longer completion window is acceptable. Its listed 50% discount can make it attractive, but it is not a drop-in replacement for a multi-turn agent that must decide what to do next.

Where PADISO fits: we help teams design the workflow, select the right execution pattern and build the retrieval, tool and monitoring layers around it. Our AI strategy and solutioning service can start with a workload assessment and a measured comparison of real-time, background and batch execution.

The next step is to take one non-critical workload and measure cost per successful result, end-to-end completion time and recovery behaviour across the options that fit. If you want a structured starting point, use our AI readiness test before deciding what to move into production.

WANT TO TALK THROUGH YOUR SITUATION?

Talk it through with us. Thirty minutes, no slides.

P
Written by the PADISO TeamSydney-based technology leaders who build what they advise on. Seven years of fractional CTO, architecture and AI work for enterprise, government and private equity.

Keep reading

All posts →

Let's talk.

Tell us what you are weighing up, whether it is a build, a roadmap or a deal. You will leave the call knowing your next step.

Book a 30-min callhi@padiso.co