Agents API hosted sandboxes bill only during active turns and can be pre-warmed
OpenAI-hosted sandbox compute in the Agents API is now billed only during active turns, not idle time between them. Developers can also pre-warm a hosted sandbox before attaching it to a session to cut latency.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingAgents API sandbox costs for long, slow-paced sessions fall because idle time between turns is no longer billed. Revisit any cost model that assumed wall-clock sandbox billing.
Engineer
What to change, what breaks, what to test Worth knowingNo code change needed for the billing change. Optionally pre-warm an OpenAI-hosted sandbox while the user is still typing and attach it to the Agents API session to remove first-turn setup latency.
General consumer
Using ChatGPT, not the API No impactNothing to do: this is a developer billing change in the Agents API and does not affect ChatGPT.
On October 9, 2026, OpenAI changed how OpenAI-hosted sandboxes in the Agents API are billed: compute is now charged during active turns only, and idle time between turns is no longer billed. For long-lived sessions where a user responds slowly, this lowers the cost of keeping a sandbox attached.
The same release added pre-warming. An application can create and configure a hosted sandbox before the user finishes sending a message, then attach it to an Agents API session, so the user does not wait for sandbox setup on the first turn.
Topics: Prices and limits, Compute and capacity