O

OpenAI SDK (Python)

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)

O
OpenAI SDK (Python) AI v3.1.0

v3.1.0

3.1.0 (2026-08-14) Features api: add WebSocket stream IDs (#3612) (d9029e3) api: add workload identity access token issued event (#3601) (df274d4) api: deprecate Sora video APIs (#3610) (721cb1c) api: Ultrafast tier, structured MCP and websocket errors, separate websocket events (#3617) (f38355e) Chores remove Stainless attribution and infrastructure (#3599) (a1eeab5)

O
OpenAI SDK (Python) AI v3.0.0

v3.0.0

3.0.0 (2026-08-12) ⚠ BREAKING CHANGES api: HTTPX2 is now the default HTTP client, and httpx is no longer installed automatically. Applications using custom HTTPX clients, transports, or configuration objects must migrate to their HTTPX2 equivalents or use the temporary, runtime-only legacy HTTPX escape hatch. See the HTTPX2 migration guide. Features api: migrate to HTTPX2 (#3594)

O
OpenAI SDK (Python) AI v2.54.0

v2.54.0

2.54.0 (2026-08-11) Features api: Add new Responses model identifiers (#3595) (0652787) Bug Fixes api: clarify audio upload metadata requirements (#3596) (28888f9) Chores api: Update generated-file header attribution to Castiron (#3583) (ea17fda)

O
OpenAI SDK (Python) AI v2.53.0

v2.53.0

2.53.0 (2026-08-03) Features api: Add gpt-5.5 and tool name/namespace to Responses types (#3569) (dd1202d) Bug Fixes ci: avoid NumPy source builds and duplicate HTTPX coverage (#3573) (b58332f)

O
OpenAI SDK (Python) AI v2.52.1

v2.52.1

2.52.1 (2026-07-31) Full Changelog: v2.52.0...v2.52.1 Chores ci: pin setup-uv v5 to its underlying commit (#3560) (cbdc98b)

O
OpenAI SDK (Python) AI v2.52.0

v2.52.0

2.52.0 (2026-07-31) Full Changelog: v2.51.0...v2.52.0 Features api: content provenance checks (1d6c118) Bug Fixes client: honor Retry-After delays up to two minutes (#3555) (7fa7946) Documentation add API-key mTLS HTTP client recipes (#3552) (7a3d5e4)

O
OpenAI SDK (Python) AI v2.51.0

v2.51.0

2.51.0 (2026-07-30) Full Changelog: v2.50.0...v2.51.0 Features api: fast tier (8808ed2) Bug Fixes api: add fast tier to helper methods (6064126)

O
OpenAI SDK (Python) AI v2.50.0

v2.50.0

2.50.0 (2026-07-28) Full Changelog: v2.49.0...v2.50.0 Features api: transcription model updates (fd57393) Bug Fixes audio: restore transcription keyword overload (713a262)

O
OpenAI SDK (Python) AI v2.49.0

v2.49.0

2.49.0 (2026-07-27) Full Changelog: v2.48.0...v2.49.0 Features require Python 3.10 and automate version reviews (#3537) (d4c151d)

O
OpenAI SDK (Python) AI v2.48.0

v2.48.0

2.48.0 (2026-07-23) Full Changelog: v2.47.0...v2.48.0 Features api: accept None for prompt_cache_key/safety_identifier (36820e6) api: add support for spend_limit admin apis (1ff13af)

O
OpenAI SDK (Python) AI v2.47.0

v2.47.0

2.47.0 (2026-07-21) Full Changelog: v2.46.0...v2.47.0 Features client: Add experimental runtime support for HTTPX2 clients (#3524) (317260c) stlc: configurable CI runner and private-production-repo support in workflow templates (4303e97) Bug Fixes deps: require patched aiohttp on Python 3.10+ (#3515) (d4dceb2)

O
OpenAI SDK (Python) AI v2.46.0

v2.46.0

2.46.0 (2026-07-17) Full Changelog: v2.45.0...v2.46.0 Features api: /organization/projects/{project_id}/service_accounts/{service_account_id}/api_keys" endpoint (5a00941) api: add owner_project_access to APIKeyListParams (f589d04) api: manual updates (980f176) api: manual updates (2eae984) Bug Fixes api: preserve generated type compatibility (00bd72a) api: remove beta annotation compatibility alia…

O
OpenAI SDK (Python) AI v2.45.0

v2.45.0

2.45.0 (2026-07-09) Full Changelog: v2.44.0...v2.45.0 Features api: gpt-5.6-sol updates (039d1fe) Bug Fixes api: restore beta resource accessors (2dfc130) Chores retrigger release automation (7b61351)

O
OpenAI SDK (Python) AI v2.44.0

v2.44.0

2.44.0 (2026-06-24) Full Changelog: v2.43.0...v2.44.0 Bug Fixes auth: prioritize first auth header (797e336)

O
OpenAI SDK (Python) AI v2.43.0

v2.43.0

2.43.0 (2026-06-17) Full Changelog: v2.42.0...v2.43.0 Features api: update OpenAPI spec or Stainless config (2254235)