OpenAI Python Library v3.1.0 Adds WebSocket Stream IDs and API Enhancements
sdkaideprecationengineer
feature patch
The OpenAI Python library v3.1.0 has been released, introducing new WebSocket stream IDs, a workload identity access token issued event, and an Ultrafast tier with structured MCP and WebSocket errors. This version also deprecates the Sora video APIs. These updates enhance API functionality and streamline interactions for developers. The release improves the overall developer experience and expands capabilities for integrating OpenAI services.
- →add WebSocket stream IDs
- →add workload identity access token issued event
- →deprecate Sora video APIs
- →Ultrafast tier, structured MCP and websocket errors, separate websocket events
- →remove Stainless attribution and infrastructure
Features (4) ›
- api add WebSocket stream IDs
- api add workload identity access token issued event
- api deprecate Sora video APIs
- api Ultrafast tier, structured MCP and websocket errors, separate websocket events
Read the original announcement →
https://github.com/openai/openai-python/releases/tag/v3.1.0
Related releases
- OpenAI CFO Explains Full Stack for Abundant AI Intelligence OpenAI News ·
- OpenAI details Jalapeño, a custom AI inference chip with leading performance OpenAI News ·
- OpenAI Disrupts Covert Russian AI Influence Operation OpenAI News ·
- OpenAI model sora-2-pro-2025-10-06 reaches end of life in 30 days endoflife.date ·
- OpenAI model sora-2-2025-12-08 reaches end of life in 30 days endoflife.date ·
- OpenAI model sora-2-2025-10-06 reaches end of life in 30 days endoflife.date ·