changelogOpenAI

OpenAI Python SDK v3.15.0 Adds Managed WebSocket Sessions and Prompt-Cache Prewarming

TL;DR

OpenAI released v3.15.0 of its Python SDK on September 18, 2026, adding managed Responses WebSocket sessions, prompt-cache prewarming, compaction progress events, and audio-mini model choices. The release also fixes a bug affecting chat stream moderation results.

2 min read
0

OpenAI shipped version 3.15.0 of its official Python client library on September 18, 2026, adding five new API features centered on agent sessions, streaming infrastructure, and caching performance.

What's New

The release introduces managed Responses WebSocket sessions, allowing developers to maintain persistent, stateful connections to the Responses API rather than issuing discrete HTTP calls. This is paired with new compaction progress events, which expose real-time status updates during context compaction operations — useful for long-running agent sessions that need to manage token budgets dynamically.

OpenAI also added agent session model settings, giving developers finer control over model configuration within persistent agent sessions, and prompt-cache prewarming, a feature that lets applications proactively warm the prompt cache before inference requests arrive, aimed at reducing latency on cache-dependent workloads.

Rounding out the feature list, the SDK now exposes audio-mini model choices, expanding the set of smaller, presumably lower-cost audio models available through the API. OpenAI has not disclosed pricing or specific model names for these audio-mini options in the release notes.

Bug Fixes and Chores

The update fixes a bug where chat stream moderation results were not preserved across streaming responses, which could have caused moderation flags to be dropped in certain streaming configurations. Two chore items clarify documentation: usage guidance for incoming SIP call IDs (relevant to OpenAI's realtime voice/telephony features) and updated image request examples. A separate documentation fix removes nonexistent type imports from the realtime module.

What this means

This is a client-library changelog, not a new model release — no new weights, parameter counts, or benchmark scores are involved. The substantive signal here is infrastructure-focused: OpenAI is investing in making agent sessions more stateful and controllable (managed WebSocket sessions, agent session model settings) and in reducing latency for high-volume or repeated-prompt workloads (prompt-cache prewarming, compaction progress events).

For developers building agentic applications on top of the Responses API, the WebSocket session support and compaction progress events are the most actionable additions — they suggest OpenAI is optimizing for longer-running, multi-turn agent workloads where connection overhead and context management have been pain points. The audio-mini model choices hint at an expansion of OpenAI's audio model lineup, though details on pricing and capability remain undisclosed pending a separate model announcement. None of these changes require action from developers using standard chat completions, but teams building persistent agents or voice applications should review the updated SDK documentation.

Related Articles

product update

GPT-6.2-Astra enters gray test for some Pro users as Claude Mythos 5.5 appears in site code

GPT-6.2-Astra has appeared in the model lists of some users and is working, mostly on the $500 Pro plan, according to Chinese outlet QbitAI. Claude Mythos 5.5 briefly showed up in front-end code on the official site before being removed hours later.

changelog

ChatGPT to share one token budget across Chat and Codex on Plus, Pro and Business from December

Starting in December, ChatGPT Plus, Pro and Business plans will share a single token budget across ChatGPT and Codex, according to an updated OpenAI support page. Chats with Instant models won't count toward the budget. OpenAI is folding Work's agentic features into the main ChatGPT interface.

changelog

OpenAI tightens ChatGPT limits on weapons-related information for teens, even for harmless-looking questions

OpenAI said on Friday it is tightening limits on the weapons-related information ChatGPT provides to teens, even when a question appears harmless. Reuters reported the change as part of new safeguards.

analysis

OpenAI rebuilds its Model Spec around five core values, bars GPT from resisting shutdown

OpenAI has restructured its public Model Spec around five core values: faithfulness to human intent, harm reduction, honesty and transparency, support for human agency, and care. GPT models must not block oversight, correction or shutdown, and agents get clearer rules on when they may act.

Comments

Loading...