OpenAI is winding down Flex. The 8-hour window that replaces it costs 20% more, and a cold cache can push an agent run past triple the Standard price.
The suggested replacement has a deadline, automatic retries and a smaller discount. It also puts a queue between your agent and its cache.

Photo by Dariia Lemesheva on Unsplash
If your batch-ish work runs with service_tier: "flex", OpenAI has told you to start packing. The Flex guide now says the beta is winding down, that Flex is unavailable on GPT-6.2 Astra and GPT-6.2 Sol, and that "we won't be adding it to future models." A retirement date will be posted once there is one. Today there isn't.
What it points you to is background mode in the Responses API with a completion window, which went into public beta on November 17. Pick 2h and model tokens are 30% below Standard. Pick 8h and they're 40% below. Flex is 50% below.
So the recommended replacement gives back part of the discount. At the same token counts, Flex to 8h adds 20% to the bill, and Flex to 2h adds 40%. And that is the good case, where your prompt cache survives the queue.
Five prices for the same token
| Model | Standard | 2h | 8h | Batch | Flex |
|---|---|---|---|---|---|
| GPT-6.2 Astra | $8 / $40 | $5.60 / $28 | $4.80 / $24 | $4 / $20 | Not offered |
| GPT-6.2 Sol | $2 / $10 | $1.40 / $7 | $1.20 / $6 | $1 / $5 | Not offered |
| GPT-6.1 Sol | $2 / $10 | Not offered | Not offered | $1 / $5 | $1 / $5 |
| GPT-6.1 Terra | $1 / $5 | $0.70 / $3.50 | $0.60 / $3 | $0.50 / $2.50 | $0.50 / $2.50 |
| GPT-6 Luna | $0.10 / $0.50 | $0.07 / $0.35 | $0.06 / $0.30 | $0.05 / $0.25 | $0.05 / $0.25 |
Input / output per 1M tokens, 272K input or less. Standard, Batch and Flex are from OpenAI's pricing page, read November 25, 2026; the 2h and 8h columns apply its stated discounts. Regional processing adds 10%.
Look at the two Sol rows. GPT-6.1 Sol and 6.2 Sol share a rate card, but 6.1 has Flex and no windows while 6.2 has windows and no Flex. Upgrading a Flex job to the newer Sol means either $1.20 / $6 with an 8-hour target or $1 / $5 through a Batch file. There's no synchronous half-price call on 6.2.
On GPT-6.1 Terra and GPT-6 Luna every option still exists, and there Flex beats both windows on token price. Nothing forces that move yet.
You're trading 429s for a queue
Flex is synchronous. You send a request, hold the connection, and sometimes get a 429 because capacity is short. The windows work the other way around: the call returns an ID, and you wait for a webhook or poll. The background guide says the API retries eligible capacity errors itself once it accepts the job. If you've written retry loops around Flex, that's worth something.
A window also gets you a completion target, which Flex never had. Note the word. OpenAI "targets completion within the selected window," and we found no refund or credit in the guide for a miss.
- Responses API only, with
background: true. Flex also accepted Chat Completions. - No streaming on 2h or 8h.
- Standard processing is required. Set
service_tiertodefault; withautoyou only get the discount if the API happens to choose Standard. - Windowed requests share one queued-input-token limit with your Batch jobs, per the rate limits guide. A large nightly batch can crowd out the windowed traffic you moved off Flex.
Zero Data Retention projects can use the windows, though OpenAI stores encrypted request state temporarily while the job runs.
One-shot jobs should go to Batch
Start with the simple case: 10,000 independent documents, 20,000 tokens in and 2,000 out, nothing cached.
| Model | Standard | 2h | 8h | Batch |
|---|---|---|---|---|
| GPT-6.2 Astra | $2,400 | $1,680 | $1,440 | $1,200 |
| GPT-6.2 Sol | $600 | $420 | $360 | $300 |
| GPT-6.1 Terra | $300 | $210 | $180 | $150 |
| GPT-6 Luna | $30 | $21 | $18 | $15 |
Our arithmetic from the rates above.
If no document depends on another, Batch is the replacement, whatever the Flex page suggests. Same price as Flex, same eligible models here, and a 24-hour limit OpenAI says it often beats. Choosing 8h instead on Astra costs $240 more per 10,000 documents. That buys a result by breakfast instead of by tomorrow night, plus a normal API call in place of a JSONL upload.
What Batch can't do well is a conversation. Each tool result has to go into another batch, with another 24-hour limit. That leaves agents, and agents are where the window discount gets strange.
The cache can eat the discount
Agent loops live on cache reads. On GPT-6.2 Sol a cached token costs $0.10 per million against $2.00 fresh, and writing it costs $2.50. The default entry is kept for at least 30 minutes, and each read restarts that clock.
Now put a queue between turns. Reusing a continuation_id makes follow-ups eligible for higher priority, but the guide adds that "start times depend on scheduling." If a follow-up sits for more than half an hour, the entry it needs may be gone. You can't keep it warm from outside, because Standard requests can't reuse entries made by windowed ones.
We priced a 20-request run: a 20,000-token prompt that grows 4,000 tokens a turn, with 1,000 tokens out each time. By the end, 96,000 tokens have been written and 1.06 million read, if the cache holds. Bills below are for 1,000 runs.
$2 / $10 Sol card, identical on 6.1 and 6.2. Assumes the window discount applies to cache reads and writes, which OpenAI describes as "model token rates," and that windowed requests can reuse each other's cache entries. Always-cold is the worst case, not a forecast. OpenAI may keep entries past the minimum. Tool fees excluded.
A warm 8h run costs $328 per thousand, 40% under Standard and 20% over Flex, as advertised. A run that goes cold on every turn costs $1,860. That is more than triple the Standard bill, from a setting sold as a discount. Turning caching off entirely would be cheaper, at $1,512.
There is insurance. OpenAI sells a 12-hour cache write at 2.5x input. On 8h the run comes to $472 with it, 14% below Standard but 73% above Flex. On 2h it comes to $550, and now you're paying $4 more than Standard to get the answer later.
How often would you need to miss for the insurance to pay? On 8h the longer write adds about 14 cents a run. One miss at this run's average prefix of 56,000 tokens costs about 8. So two misses in 20 turns and the 12-hour write is ahead; with fewer, stay on 30 minutes. The 12-hour clock isn't restarted by reads, so a long enough run can outlive that too.
Check cached_tokens in the usage object on every follow-up before moving real volume. If it drops to zero on turn two, stop there.
Which jobs should move, and when
Stay on Flex wherever it still runs: GPT-6.1 Sol, Terra and Luna. It's the cheapest rate that works for multi-turn jobs, and there is no shutdown date. Flex wasn't even slow the last time we looked. When we covered GPT-6.1 Sol's speed tiers, Artificial Analysis had it at 74.5 tokens a second on Flex and 48.7 on Standard.
If the pull is GPT-6.2 Sol itself, weigh the model before the tier. Artificial Analysis had 6.2 Sol at max effort costing $1.01 per index task against $1.27 for 6.1 Sol, with a higher score, in our GPT-6.2 writeup. Both are Standard prices. Put 6.2 Sol on 8h and 6.1 Sol on Flex and it's roughly $0.61 against $0.64. The newer model costs less per task on the same card, and that covers the smaller discount, as long as your workload behaves like the index.
Google is the obvious place to go if you want a synchronous half-price call on a current model. Gemini's Flex tier is 50% off with a 1 to 15 minute target and covers Gemini 4 Neon, Carbon, Argon and Hydrogen, though it sheds load with 503s much as OpenAI's does with 429s. We compared the mechanics in Gemini Flex and Priority.
Our read is that OpenAI would rather schedule your work than shed it, and 40% off is the going rate for agreeing. Fair enough for nightly one-shots that need to land before morning. For agents, we'd want to see the queue first. You can run your own token counts through the calculator and multiply by 0.6 or 0.7.
Sources
- OpenAI Flex processing guide - wind-down notice, unavailable on GPT-6.2
- OpenAI background mode guide - windows, discounts, eligible models, cache isolation, continuation IDs
- OpenAI pricing - Standard, Batch and Flex rate tables
- OpenAI prompt caching guide - 30-minute and 12-hour lifetimes, write rates, refresh behavior
- OpenAI Batch guide - 50% discount, 24-hour window, shared limit
- OpenAI rate limits guide - Batch/Background limit
- OpenAI API changelog - November 17 entry
- Google Gemini Flex inference - 50% discount and latency target