OpenAI Python SDK v3.1.0 Adds Ultrafast Tier Support, Deprecates Sora Video APIs
OpenAI released v3.1.0 of its Python client library, adding support for a new 'Ultrafast' tier, WebSocket stream IDs, and structured MCP/WebSocket error handling. The release also formally deprecates the Sora video API and strips out remaining Stainless SDK-generation infrastructure.
OpenAI shipped version 3.1.0 of its official Python client library on August 14, 2026, introducing support for a new "Ultrafast" processing tier and beginning the formal deprecation of the Sora video generation API.
The release, published to the openai-python GitHub repository, bundles four feature additions and one infrastructure cleanup, according to the project's changelog.
What changed
WebSocket stream IDs (#3612). The SDK now supports stream identifiers for WebSocket connections, allowing developers to track and correlate individual streams within a single connection more precisely.
Workload identity access token event (#3601). A new event type surfaces when a workload identity access token is issued, giving developers programmatic visibility into token issuance for authentication flows that rely on workload identity rather than static API keys.
Sora video API deprecation (#3610). OpenAI has marked its Sora video APIs as deprecated within the SDK. The changelog does not specify a sunset date or migration path, and OpenAI has not published pricing or timeline details for the deprecation.
Ultrafast tier, structured MCP/WebSocket errors (#3617). The largest change in this release bundles three additions: client support for a new "Ultrafast" processing tier, structured error objects for Model Context Protocol (MCP) interactions, and separated event handling for WebSocket-specific errors. OpenAI has not disclosed pricing for the Ultrafast tier or detailed which models or endpoints it applies to.
Stainless infrastructure removal. As a chore item, OpenAI removed attribution and build infrastructure tied to Stainless, the third-party SDK-generation platform historically used to scaffold OpenAI's client libraries. This suggests OpenAI is moving SDK maintenance in-house or onto a different toolchain, though the company has not commented publicly on the change.
What this means
This is a software development kit update, not a new model release — no model weights, benchmark scores, or context window changes are involved. Three items merit attention from developers building on OpenAI's API.
First, the Sora deprecation signals that any production system using OpenAI's video generation endpoints should begin migration planning now, even without a firm end-of-life date. Second, the "Ultrafast" tier is the first public signal of a new latency-optimized service class, though without pricing or model-scope details, its practical value is unclear until OpenAI documents it separately. Third, the removal of Stainless infrastructure is an internal tooling change unlikely to affect API behavior, but it may precede broader changes to how OpenAI generates and versions its client libraries going forward.
Developers should treat the Ultrafast tier and Sora deprecation as items to monitor in OpenAI's official API documentation rather than acting on the SDK changelog alone, since GitHub release notes rarely carry full technical specifications.
Related Articles
OpenAI Python SDK v3.56.0 adds gpt-live-1.1 to Live model choices
OpenAI's Python SDK v3.56.0, dated 2026-11-19, adds gpt-live-1.1 to the Live model choices. The release lists this as its only feature.
OpenAI to retire GPT-5.6 on December 23, 2026 as GPT-6.2 Sol rolls out in ChatGPT Chat
OpenAI has confirmed December 23, 2026 as the retirement date for GPT-5.6 in ChatGPT. GPT-6.2 Sol is rolling out in the Chat tab for Plus, Pro, Business and Enterprise subscribers, and some users are objecting to the change.
Anthropic Python SDK v2.13.0 marks Claude Opus 4.5 deprecated, end-of-life January 22, 2027
Anthropic released v2.13.0 of its Python SDK on 23 Nov. The release marks Claude Opus 4.5 as deprecated with an end-of-life date of January 22, 2027, and adds External Storage to the Admin API beta.
OpenAI rolls out chat-tuned GPT-6.2 Sol to ChatGPT Plus, Pro, Business and Enterprise users
OpenAI is rolling out a chat-tuned version of GPT-6.2 Sol worldwide to ChatGPT Plus, Pro, Business and Enterprise users. According to OpenAI's internal tests, it beats GPT-6 on image understanding, instruction following, web search and safety compliance.
Comments
Loading...