Tools
OpenAI's Python SDK adds a `compute_units` field to Responses and Chat Completions usage
openai-python v3.6.0, published 2026-08-28, adds `compute_units` to the usage object returned by both Responses and Chat Completions (#3749), alongside hardening of the X.509 workload identity integration (#3740). A usage dimension that is neither input nor output tokens is worth watching for anyone building cost accounting on top of the SDK, since token counts alone would no longer describe a request. The release also bumps mypy from 1.17 to 2.3.1 in dev dependencies, a jump large enough to matter for contributors.
Source
↳ Follow the thread