OpenAI's New 2h/8h Background Windows: Is the Discount Worth It for Your Bot?
OpenAI's Responses API background mode now offers a 2-hour window at 30% below Standard token rates and an 8-hour window at 40% below, as a public beta alternative to the retiring Flex tier. The discount only helps routines that don't need an immediate answer, can run without streaming, and can tolerate a target, not a guarantee.
AI-assisted editorial: researched and drafted with AI using the primary sources linked below. Check the cited evidence and any stated test scope. Illustrative examples are not measured product results. Editorial policy.
Key takeaways
- The discount only applies if your routine can wait: 2h saves 30%, 8h saves 40% off Standard token rates, but both require giving up streaming and accepting a shared queue with the Batch API.
- OpenAI documents these as completion targets, not deadlines, and does not publish what happens when a target is missed — build your own timeout check rather than assume on-time delivery.
- A follow-up tool call only keeps the discount and queue priority if it reuses the same model, service tier, background setting, completion window, and continuation ID; drop any of those and you likely fall back to full price.
Should your bot's routine use the 2h or 8h window?
Use the discounted window only for a routine whose output nobody needs before a fixed, multi-hour deadline. If a human or another process is waiting on the response within minutes, the discount is irrelevant: you need the default soonest window, which carries no discount but keeps regular rate limits and lets you stream.
If the routine already runs unattended overnight, or already queues work for review the next business day, the 8h window is worth testing. If it runs a few hours ahead of a same-day deadline — for example, a midday digest prepared from morning data — the 2h window is the better fit.
Do not switch a routine to a discounted window just because it happens to use a supported model. The saving only materializes if every request in the routine, including any tool-call follow-ups, keeps Standard processing and skips streaming; a routine that streams partial output to a user, or that needs a fast retry path, loses the savings or breaks outright.
What OpenAI actually shipped
Background mode's completion_window parameter now accepts three values. OpenAI's guide explains: Set background_options.completion_window based on how soon you need the initial response. For 2h and 8h, the API targets completion within the selected window after it accepts the request. The default remains soonest, which uses ordinary pricing and limits.
The discount is fixed and tied to the window choice, not negotiated per request. OpenAI's Flex processing guide states the two options directly: The 2-hour window is 30% below Standard token pricing, and the 8-hour window is 40% below. That discount carries through multi-turn work: The discount applies to model token rates on each eligible request, including follow-ups. In this example, both requests qualify for the 40% discount.
Three conditions gate the discount. First, processing: Discounted windows require Standard processing. Set service_tier to default to select Standard. With auto, the request qualifies only if the API selects Standard. Second, streaming is off: Set background to true and set background_options.completion_window to 2h or 8h. Leave stream unset or set it to false. Third, capacity: Requests with 2h or 8h completion windows share the Batch/Background Rate Limit with Batch API jobs.
This is OpenAI's replacement path for the retiring Flex tier. The Flex processing guide says plainly: You can continue using Flex processing on supported models as we wind down the beta. Flex is unavailable on GPT-6.2 Astra and GPT-6.2 Sol, and we won't be adding it to future models. We'll share the retirement date and migration guidance here once the date is confirmed. The background mode guide points the same direction: Starting with GPT-6.2 Astra and Sol, new models launch without Flex processing (service_tier: flex). For long-running Responses API requests, use discounted completion windows with Standard processing on supported models. The GPT-6.2 model guide confirms the same substitution: For long-running Responses API requests, use discounted completion windows in background mode as an alternative to Flex processing. Background mode requests support a two-hour or eight-hour completion window with Standard processing. OpenAI's guide does not publish a complete list of every eligible model beyond GPT-6.2 Astra and Sol, so confirm eligibility for any other model by testing a request rather than assuming it works.
Sources: Background mode | OpenAI API, Flex processing | OpenAI API, Using GPT-6.2 | OpenAI API.
Illustrative example: an overnight digest bot
This is a hypothetical walkthrough, not a measured BotBento test. Say a small-team bot compiles a daily summary from a project tracker export every night and a teammate reads it the next morning. Nobody needs the result before 7am, so the deadline is roughly eight hours away when the job starts at 11pm.
The bot submits a single Responses API call with background set to true, completion_window set to 8h, service_tier set to default, and stream left unset. Per the guide, this is the documented pattern: For a single overnight document review, send an 8h request to POST /v1/responses with gpt-6.1-terra and the document contents in input. The bot then does not poll aggressively; it registers for the completion event and checks back. OpenAI's guide describes this exact pairing: Create a webhook endpoint for the project that sends your background requests. Subscribe to response.completed and to the events for failed, incomplete, or canceled responses you want to handle... For response.completed, use event.data.id to retrieve the response.
If the first response needs to look up a linked ticket before finishing the summary, the bot answers with a follow-up request rather than starting a new one, and keeps the same settings to preserve both the discount and queue priority: Reuse the window, continuation ID, model, and project to qualify for higher queue priority. The completion target starts when the API accepts the initial request and applies to that response. If the bot instead changed the model or dropped the continuation ID on the follow-up, it would likely lose the priority queueing OpenAI describes for matched follow-ups, even though the discount itself is evaluated per eligible request.
Sources: Background mode | OpenAI API.
Where this breaks
A target is not a guarantee. OpenAI's own wording is careful: the API "targets" completion within the window, and the guide does not state what happens to billing or delivery if that target is missed. Build your own check — if the morning-digest job hasn't completed by, say, 9am, alert a human rather than assuming the bot is still fine.
Streaming and discounted windows don't mix. For 2h and 8h requests, omit stream or set it to false. If the connection drops, resume the stream by passing the last event's sequence_number as starting_after. You can't stream a response later if it was created without streaming. If your routine needs to show partial output as it arrives, the discounted windows are the wrong tool regardless of cost.
Capacity is shared with Batch. Requests with 2h or 8h completion windows share the Batch/Background Rate Limit with Batch API jobs. The API counts input tokens at submission. Requests with the default soonest window use the regular request and token limits. A team already running large Batch jobs needs to budget both against the same ceiling rather than sizing each independently.
Prompt caching doesn't cross the discount boundary. Standard requests outside the discounted completion windows can't reuse prompt cache entries created by 2h or 8h background requests, even when the prompt is identical. If a routine alternates between an urgent soonest call and a scheduled 8h call on the same prompt prefix, don't expect the second call to benefit from caching set up by the first.
Data retention still applies even under Zero Data Retention settings. Background mode temporarily stores response data even when you set store to false or use Zero Data Retention. The API uses this data to run the request and make the result available for retrieval. The API encrypts temporarily stored request content at rest for all completion windows (soonest, 2h, and 8h). Teams under a strict no-storage requirement should confirm this is acceptable before moving a sensitive routine to background mode at all, independent of which window is chosen.
Sources: Background mode | OpenAI API.
A checklist before you switch
Run through this before flipping a routine to a discounted window. None of these are optional — missing one either breaks the request or silently drops the discount.
- Does the result actually have slack? If a person or downstream process needs it sooner than 2 or 8 hours, stay on soonest.
- Can you drop streaming for this request? If the UI needs partial tokens, the discount isn't available to you.
- Is service_tier set to default (or will auto reliably land on Standard)? Flex, Fast, or Ultrafast won't combine with the discount.
- Does your model support the window? OpenAI's own documentation only explicitly names GPT-6.2 Astra and GPT-6.2 Sol for this path as of this check; verify any other model with a test call before relying on it in production.
- Does the routine already run Batch jobs? If so, check whether the shared Batch/Background queue limit affects either workload's throughput.
- Will every follow-up call reuse the same model, service tier, background setting, completion window, and continuation ID? If not, plan for the follow-up to run at full price and lower queue priority.
- Do you have a timeout check independent of OpenAI's webhook? Because the window is a target, your own job record should flag a run that hasn't completed well past the window, rather than trusting silence.
Primary sources
Sources checked 2026-11-23. Standards and product documentation can change; follow the linked version when implementing.
- Background mode | OpenAI API — OpenAI
- Flex processing | OpenAI API — OpenAI
- Using GPT-6.2 | OpenAI API — OpenAI
BotBento is in development. Suggest a correction.