Skip to content
trendoviz

OpenAI Python SDK hides budget controls, adds session limits

OpenAI's Python client moved from v3.52.0 to v3.58.0 across seven releases between 16 and 23 November 2026. The sequence adds Live and MCP configuration, background-response windows and new model identifiers, while also removing Managed Agents budget controls from the client before adding agent session spending limits.

Published
  • 6 min read
  • 9 sources cited
  • For Developers, Businesses, AI makers, AI enthusiasts

Overview

Between 16 and 23 November 2026, the official OpenAI Python client published seven releases, from v3.52.0 on 16 November to v3.58.0 on 23 November. The changes fall into four groups: scheduled-run and agent error handling, agent budget controls, background responses and model identifiers, and Live/MCP configuration.

VersionDateListed changes
v3.52.02026-11-16Added schedule pause reasons; delivered beta Agents session errors as stream events
v3.53.02026-11-17Added 2-hour and 8-hour Responses background windows; added the GPT-6.2 Astra Law Responses, GPT-6.2 Astra and GPT-6.2 Sol model identifiers
v3.54.02026-11-17Typed Managed Agents budget events
v3.55.02026-11-18Added Live MCP server configuration; hid Managed Agents session budget controls and events
v3.55.12026-11-18Documented CSAM moderation response fields; bumped pytest-asyncio from 1.4.1 to 1.4.1.post1; bumped github/codeql-action/init from 4.39.1 to 4.39.3; bumped the python-security group across 1 directory with 2 updates
v3.56.02026-11-19Added gpt-live-1.1 to Live model choices
v3.57.02026-11-19Supported Live WebRTC standby
v3.58.02026-11-23Added the ability to set and read agent session spending limits; clarified when to omit completion choice count

The release pages and the comparison-style release notes agree on the versions, dates and listed entries. One secondary rendering of the v3.53.0 notes is cut off at the fourth feature line, but the full release page lists that entry as adding the GPT-6.2 Sol model identifier. A rendering of the v3.55.1 notes is likewise truncated within the dependency entries, while the full release page shows the python-security group update across 1 directory with 2 updates. The v3.53.0 and v3.54.0 entries carry the same date, 17 November 2026, and the comparison links place v3.54.0 after v3.53.0.

Why it matters

The principal finding is a removal followed by a replacement three releases later. v3.55.0 removed Managed Agents session budget controls and events from the client, and v3.58.0 added the ability to set and read agent session spending limits. The release notes do not explain how the two relate, so developers cannot treat the sequence as a documented migration path.

Code that references the hidden controls needs a check before upgrading. Teams on versions older than v3.55.0 should search their code for references to Managed Agents session budget controls and events before moving to v3.55.0 or later, because the notes describe a hiding of the client surface rather than a documented deprecation.

Spending limits are a client-level addition. The v3.58.0 entry describes a client-level way to set and read a limit on agent session spending; the units, enforcement behaviour and default values are not specified.

The 2-hour and 8-hour background windows and the three GPT-6.2 identifiers are client-surface additions. The notes state no server-side availability, pricing or account-level entitlement for them, and list no usage examples or migration guidance.

The Live cluster changes what clients can configure and select. MCP server configuration, the gpt-live-1.1 identifier and WebRTC standby landed in three releases, but the notes do not list the MCP configuration fields or explain what standby changes in a connection.

Beta status needs attention. The v3.52.0 entry delivers Agents session errors as stream events and labels them beta; the notes do not describe the event structure or how it compares with existing error handling.

Context

The subject is the surface of the official Python client for the OpenAI API, the code that maps API request and response shapes into Python types and methods. Several entries in this release run concern interfaces that only appear in the client: the managed-agent budget controls and events hidden in v3.55.0, the budget event types added in v3.54.0, the agent session spending limits added in v3.58.0, and the Responses background windows and model identifiers added in v3.53.0.

Three releases in the Live area also change the client surface: MCP server configuration in v3.55.0, the gpt-live-1.1 model choice in v3.56.0 and WebRTC standby support in v3.57.0. The notes do not list the MCP configuration fields or explain what standby changes in a connection. A separate release in the JavaScript and TypeScript client added the same gpt-live-1.1 Live model choice on 19 November 2026.

Known, claimed, inferred

Seven Python client releases in eight days widened the surface for agents, long-running responses and real-time sessions while also reshaping how budget information is exposed. Schedule pause reasons and beta Agents session error stream events arrived first, followed by background windows, new model identifiers and typed budget events. The Live and MCP additions then arrived in three consecutive releases, before v3.58.0 closed the sequence with session spending limits and a completion choice count clarification.

What to watch next: further clarification of how agent session spending limits replace the hidden Managed Agents session budget controls, and whether the Python and JavaScript/TypeScript clients add the same Live and MCP entries, since both official clients added the same Live model identifier on 19 November 2026.

Opportunities

  • Check the budget surface before upgrading. Search a codebase for Managed Agents session budget controls and events, then confirm what the code needs after v3.55.0 removed them from the client.
  • Review agent session spending limits on v3.58.0. Determine how to set and read a client-level limit on agent session spending, and what units and defaults apply in the surrounding API documentation, since the release notes do not state them.
  • Review the new client fields against current code. Check whether the 2-hour and 8-hour Responses background windows and the three GPT-6.2 model identifiers match the windows and models the application already uses.
  • Confirm Live configuration details in the Live API documentation. The MCP configuration fields and the meaning of WebRTC standby are not in the release notes.
  • Compare the two official clients. The Python and JavaScript/TypeScript clients both added the gpt-live-1.1 Live model choice on 19 November 2026, which is worth checking when maintaining both.

Risks

  • The v3.55.0 hiding is a client-surface removal. The notes describe hiding Managed Agents session budget controls and events rather than a documented deprecation, so code depending on them may need adjustment without a stated migration path.
  • Agents session error events are labelled beta. The v3.52.0 entry delivers them as stream events, and the notes do not describe the event structure or how it compares with existing error handling.
  • The v3.55.1 dependency bumps are a dev-tooling and CI concern. That release bumped pytest-asyncio from 1.4.1 to 1.4.1.post1, github/codeql-action/init from 4.39.1 to 4.39.3, and the python-security group across 1 directory with 2 updates.

Limitations & uncertainties

  • The release notes do not specify the API fields or usage behind schedule pause reasons, or the shape and fields of the beta Agents session error stream events.
  • They do not state units, enforcement behaviour or default values for agent session spending limits, or explain how those limits relate to the Managed Agents session budget controls and events hidden in v3.55.0.
  • They do not list the Live MCP server configuration fields, do not explain what standby changes in a WebRTC connection, and do not state server-side availability, pricing or account-level entitlement for the background windows or the GPT-6.2 identifiers.
  • No usage examples, code changes, breaking-change notes, dependency requirements, migration guidance, test results or third-party evaluations accompany these entries.
  • The state of the library before v3.52.0 is not described, and the broader feature parity between the Python and JavaScript/TypeScript clients is not characterized.

Evidence & sources

  1. 1
    openai/openai-python v3.55.1
    ●github.comretrieved Nov 18, 2026
  2. 2
    openai/openai-python v3.55.0
    ●github.comretrieved Nov 18, 2026
  3. 3
    openai/openai-python v3.54.0
    ●github.comretrieved Nov 18, 2026
  4. 4
    openai/openai-python v3.53.0
    ●github.comretrieved Nov 18, 2026
  5. 5
    openai/openai-python v3.52.0
    ●github.comretrieved Nov 18, 2026
  6. 6
    openai/openai-python v3.56.0
    ●github.comretrieved Nov 19, 2026
  7. 7
    openai/openai-python v3.57.0
    ●github.comretrieved Nov 20, 2026
  8. 8
    openai/openai-python v3.58.0
    ●github.comretrieved Nov 24, 2026
  9. 9
    openai/openai-node v7.61.0
    ●github.comretrieved Nov 24, 2026

Updates & corrections

  1. First published

Found an error? Report it.