O

OpenAI SDK (Python)

O
OpenAI SDK (Python) AI v3.24.0

v3.24.0

3.24.0 (2026-10-02) Features api: add custom voice creation and agent session events (#4013) (e5de2e5) Bug Fixes api: prioritize Python request routing fields (#4014) (ffcc4c4) api: prioritize routing fields in parse helpers (#4016) (ba53a10)

O
OpenAI SDK (Python) AI v3.23.0

v3.23.0

3.23.0 (2026-10-01) Features agents: [1/n] return typed answers from session streams (#4007) (10f8816) agents: stage files and download turn artifacts (#4009) (4fc2438) api: Add session traces and Realtime translations (#4001) (138e3d1) beta: expose typed application actions as agent tools (#4006) (f219c55) collect final output from beta Agents streams (157ac4c) Bug Fixes api: allow original image…

O
OpenAI SDK (Python) AI v3.22.1

v3.22.1

3.22.1 (2026-09-30) Bug Fixes api: correct the missing authentication error message (#3993) (51692ed), closes #3962 transform NotRequired typed dictionary fields (#3995) (5544c18) Chores tests: mark sample_file.txt as text with LF line endings (#3879) (fd78a48) Documentation examples: fix two stale example comments (#3877) (1c4830b) examples: print event.delta in the streaming helpers doc (#3876)…

O
OpenAI SDK (Python) AI v3.22.0

v3.22.0

3.22.0 (2026-09-29) Features api: add computer use to beta agents (#3989) (f5dddb5)

O
OpenAI SDK (Python) AI v3.21.0

v3.21.0

3.21.0 (2026-09-29) Features api: add GPT-6.1 Sol model identifier (#3986) (160b2c0)

O
OpenAI SDK (Python) AI v3.20.0

v3.20.0

3.20.0 (2026-09-28) Features api: add Agents credential and session options (#3967) (bb68198) api: add Cyber access programs to Responses (#3956) (09c5b6f) responses: opt in to incremental WebSocket text and tool snapshots (#3973) (d0207b4) responses: preserve detailed WebSocket accumulator snapshots (#3981) (a380cf2) Bug Fixes client: retry unmapped TLS transport errors (#3982) (0d35a26) live: av…

O
OpenAI SDK (Python) AI v3.19.2

v3.19.2

3.19.2 (2026-09-23) Bug Fixes preserve single files for fallback extraction paths (#3875) (bfd3680) Chores api: clarify approximate web search location defaults (#3953) (a95c95e) api: clarify Realtime modality array definitions (#3954) (e79cf53) api: correct fine-tuning bounds and Realtime response reference (#3949) (325a948)

O
OpenAI SDK (Python) AI v3.19.1

v3.19.1

3.19.1 (2026-09-23) Bug Fixes chat: preserve single-pass tool iterables (#3770) (33ffa1f) client: merge HTTP headers case-insensitively (#3486) (5e39766) Chores api: clarify Chat Completions seed limits (#3945) (be9d666) Documentation clarify collaborator-only pull request policy (#3948) (ead1fa2)

O
OpenAI SDK (Python) AI v3.19.0

v3.19.0

3.19.0 (2026-09-22) Features api: add GCP external storage support (#3943) (d12d60f) api: add GPT-Rosalind research model (#3940) (d041d73) Bug Fixes _utils/_transform: propagate api_exclude in _async_transform_recursive (#3324) (161ae65) api: handle omission markers in queued WebSocket events (#3944) (63e4616) client: retry only replayable request content (#3771) (6e0c2be) client: tolerate older…

O
OpenAI SDK (Python) AI v3.18.0

v3.18.0

3.18.0 (2026-09-22) Features api: add GPT-6 Sol and Luna model identifiers (#3935) (455ce1b)

O
OpenAI SDK (Python) AI v3.17.0

v3.17.0

3.17.0 (2026-09-22) Features api: add external storage configuration management (#3909) (6332577) api: add safety case retrieval (#3911) (a87b938) api: add safety warning and deactivation webhook events (#3908) (19f1f37) api: add session environment reset events (#3913) (69a2c1d) api: add SIP media security to incoming call events (#3907) (c377eb2) api: support environment variable vault credentia…

O
OpenAI SDK (Python) AI v3.16.2

v3.16.2

3.16.2 (2026-09-18) Bug Fixes parsing: drop TextFormatT parameterization in parse_response to fix memory leak (#3084) (#3088) (009b7f6)

O
OpenAI SDK (Python) AI v3.16.1

v3.16.1

3.16.1 (2026-09-18) Bug Fixes api: avoid loading unrelated API resources on first use (#3898) (68e4317)

O
OpenAI SDK (Python) AI v3.16.0

v3.16.0

3.16.0 (2026-09-18) Features api: add webhook endpoint management (#3892) (9a11f6e) Chores api: deprecate MCP connector_id (#3894) (1ccaf07)

O
OpenAI SDK (Python) AI v3.15.0

v3.15.0

3.15.0 (2026-09-18) Features api: add agent session model settings (#3882) (4b15817) api: add audio-mini model choices (#3886) (a6eeb3f) api: add compaction progress events (#3866) (98e1d24) api: add managed Responses WebSocket sessions (#3887) (3b865af) api: add prompt-cache prewarming (#3888) (8f7cdb8) Bug Fixes preserve chat stream moderation results (#3864) (b77076d) Chores api: clarify incomi…

O
OpenAI SDK (Python) AI v3.14.1

v3.14.1

3.14.1 (2026-09-15) Bug Fixes client: validate retry limits and preserve application errors (#3867) (f86c721) correct typo "th" to "the" in StreamAlreadyConsumed error message (#3022) (7186203) examples: correct Azure endpoint hostname (#3298) (543516c) examples: refresh chat streaming examples (#2974) (54f460e) examples: split push-to-talk shebang arguments (#3210) (d241ed6) examples: use uv in r…

O
OpenAI SDK (Python) AI v3.14.0

v3.14.0

3.14.0 (2026-09-14) Features streaming: normalize errors raised while reading streams (#3827) (d7c41ef) Bug Fixes bound vector store file polling (#3401) (ae41bc4) example: refresh realtime push_to_talk_app session types (#2926) (0b7ad38) files: normalize PathLike upload tuples (#3475) (90ac74c) include completion in content filter errors (#3094) (e57a1b1) logging: support standard OPENAI_LOG leve…

O
OpenAI SDK (Python) AI v3.12.0

v3.12.0

3.12.0 (2026-09-10) Features api: Add Live API (0e4bfef) Bug Fixes add aclose() to AsyncStream for standard async cleanup (#2854) (802b334) handle bare dict and list annotations without type arguments (#3760) (c7e8c03) preserve finalized output on null response completion (#3345) (adb212e)

O
OpenAI SDK (Python) AI v3.11.0

v3.11.0

3.11.0 (2026-09-09) Features api: Add expiration controls for service account keys (#3825) (f348ec8)

O
OpenAI SDK (Python) AI v3.10.0

v3.10.0

3.10.0 (2026-09-08) Features api: add GPT Image 2.5 models and image options (#3824) (5b39c45) api: add service-account API key expiration fields (#3802) (f1cd7f0)

O
OpenAI SDK (Python) AI v3.9.0

v3.9.0

3.9.0 (2026-09-05) Features api: Add prompt cache diagnostics (#3800) (8326784) api: correct function argument completion event fields (openapi-545) (#3801) (2a98f6a) Bug Fixes api: accept incomplete web search call statuses (#3786) (3cc8d78) refuse overflowing server retry delays (#3799) (88b4d43) Chores api: document throttling and model overload responses — SDK-235 (#3803) (be92815) migrate to…

O
OpenAI SDK (Python) AI v3.8.0

v3.8.0

3.8.0 (2026-09-03) Features api: add gpt-6-astra and related features (#3791) (09f446f) Documentation add canonical SDK security model (#3778) (2a097b9)

O
OpenAI SDK (Python) AI v3.7.0

v3.7.0

3.7.0 (2026-09-02) Features api: update usage APIs and documentation (#3779) (6f0da16) Bug Fixes avoid repeated numpy checks for embeddings (#3757) (b19c216)

O
OpenAI SDK (Python) AI v3.6.0

v3.6.0

3.6.0 (2026-08-27) Features api: add compute_units to Responses and Chat Completions usage (#3749) (52421d1) Bug Fixes auth: harden X.509 workload identity integration (#3740) (fc3ad6c) Chores deps-dev: bump @stdy/cli from 0.22.1 to 0.22.2 (#3719) (4f5598c) deps-dev: bump mypy from 1.17 to 2.3.1 (#3747) (0b52c9e) deps-dev: bump pandas-stubs from 2.2.2.240807 to 2.3.3.260113 (#3659) (95f0b43) deps-…

O
OpenAI SDK (Python) AI v3.5.0

v3.5.0

3.5.0 (2026-08-27) Features api: make function call output call IDs optional (#3738) (c74501d)

O
OpenAI SDK (Python) AI v3.4.0

v3.4.0

3.4.0 (2026-08-25) Features api: Add obfuscation field to ChatCompletionChunk (#3690) (c7d8e1d) api: add project residency configuration and cost quantity units (#3726) (bc4f8ef) Bug Fixes api: encode Realtime call offers and session configuration (#3736) (555ac48) apply consistent origin checks to WebSocket redirects (#3693) (1b324d0) azure: encode deployment names consistently (#3683) (689538d)…

O
OpenAI SDK (Python) AI v3.3.1

v3.3.1

3.3.1 (2026-08-19) Bug Fixes deps: update dependencies with published security fixes (#3680) (53aa4fc) Chores build: migrate to uv (#3653) (b37e85d) deps: remove jsonschema and unused fixture-validation dependencies (0dfdfdd) lock the repository Pyright toolchain (#3678) (3079be2) run the mock server from locked local tooling (#3679) (370fcc6) Refactors deps: use the standard library for platform…

O
OpenAI SDK (Python) AI v3.3.0

v3.3.0

3.3.0 (2026-08-18) Features support named data-residency endpoints (#3646) (11ee914) Bug Fixes require patched optional networking dependencies (#3651) (40e56de) Chores remove unused dependencies and pin build tooling (#3650) (eee8e4a) Documentation strengthen Python SDK security contribution guidance (#3639) (6577709)

O
OpenAI SDK (Python) AI v3.2.0

v3.2.0

3.2.0 (2026-08-17) Features add Bedrock Runtime endpoint support (SDK-290) (#3623) (86267d2) api: Add shell call streaming events and new service/image types (#3635) (ff14a33)