NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #98 most downloaded on PyPI
The official Python library for the openai API
Last release today
01 Oct 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
440 releases · first in 2020
One column per quarter.
internal: remove unused http client options forwarding
azure: azure_deployment use with realtime + non-deployment-based APIs
update URLs from stainlessapi.com to stainless.com
internal: properly set __pydantic_private__
client: allow passing NotGiven for body
internal: revert temporary commit
## 1.63.1 (2025-02-17) Full Changelog: v1.63.0...v1.63.1 ### Chores * internal: temporary commit
api: add support for storing chat completions
client: send X-Stainless-Read-Timeout header
Full Changelog: v1.61.1...v1.62.0
X-Stainless-Read-Timeout header (#2094) (0288213)api/types: correct audio duration & role types
Full Changelog: v1.61.0...v1.61.1
types: correct metadata type + other fixes
parsing: don't validate input tools in the asynchronous .parse() method
Full Changelog: v1.60.1...v1.60.2
.parse() method (6fcfe73)internal: minor formatting changes
api: update enum values, comments, and examples
internal: avoid pytest-asyncio deprecation warning
Full Changelog: v1.59.8...v1.59.9
structured outputs: avoid parsing empty empty content
Full Changelog: v1.59.7...v1.59.8
export HttpxBinaryResponseContent class
Full Changelog: v1.59.6...v1.59.7
correctly handle deserialising cls fields
client: only call .close() when needed
add missing isclass check for structured outputs
## 1.59.3 (2025-01-03) Full Changelog: v1.59.2...v1.59.3 ### Chores * api: bump spec version
## 1.59.2 (2025-01-03) Full Changelog: v1.59.1...v1.59.2 ### Chores * ci: fix publish workflow (0be1f5d) * internal: empty commit
readme: fix example script link
Full Changelog: v1.58.0...v1.58.1
api: new o1 and GPT-4o models + preference fine-tuning
Full Changelog: v1.57.4...v1.58.0
include query param (9a4c69c)internal: remove some duplicated imports
internal: add support for TypeAliasType
azure: handle trailing slash in azure_endpoint
internal: bump pydantic dependency
## 1.57.0 (2024-12-05) Full Changelog: v1.56.2...v1.57.0 ### Features * api: updates (#1924) (82ba614) ### Chores * bump openapi url
## 1.56.2 (2024-12-04) Full Changelog: v1.56.1...v1.56.2 ### Chores * make the Omit type public
cli: remove usage of httpx proxies
Full Changelog: v1.56.0...v1.56.1
client: make ChatCompletionStreamState public
client: compat with new httpx 0.28.0 release
internal: exclude mypy from running on tests
pydantic-v1: avoid runtime error for assistants streaming
Full Changelog: v1.55.0...v1.55.1
cached-property dep (#1867) (df5fac1)cached-property dep (#1891) (feebaae)api: add gpt-4o-2024-11-20 model
asyncify: avoid hanging process under certain conditions
don't use dicts as iterables in transform
## 1.54.3 (2024-11-06) Full Changelog: v1.54.2...v1.54.3 ### Bug Fixes * logs: redact sensitive headers
tests: adjust retry timeout values
add new prediction param to all methods
Full Changelog: v1.54.0...v1.54.1
api: add support for predicted outputs
don't use dicts as iterables in transform
api: add new, expressive voices for Realtime and Audio in Chat Completions
Full Changelog: v1.52.2...v1.53.0
## 1.52.2 (2024-10-23) Full Changelog: v1.52.1...v1.52.2 ### Chores * internal: update spec version
client/async: correctly retry in all cases
api: add gpt-4o-audio-preview model for chat completions
## 1.51.2 (2024-10-08) Full Changelog: v1.51.1...v1.51.2 ### Chores * add repr to PageInfo class
client: avoid OverflowError with very large retry counts
api: support storing chat completions, enabling evals and model distillation in the dashboard
Full Changelog: v1.50.2...v1.51.0
audio: correct types for transcriptions / translations
helpers: fix chat completion anchor
structured outputs: add support for accessing raw responses
internal: update test snapshots
client: allow overriding retry count header
pydantic v1: avoid warnings error
Full Changelog: v1.47.0...v1.47.1
client: send retry count header
Full Changelog: v1.46.1...v1.47.0
client: handle domains with underscores
client: add ._request_id property to object responses
internal: bump pyright / mypy version
Your coding agent can read these notes before it upgrades. Set up the MCP server →