Skip to content
Models · May 4, 2026

OpenAI Python SDK v2.34.0 adds Admin API key support and auth improvements

The latest release of the OpenAI Python client library includes new Admin API key authentication options, expanded user and project parameter support, and multiple authentication bug fixes.

Trust79
HypeLow hype

1 source · cross-referenced

ShareXLinkedInEmail
TL;DR
  • OpenAI released v2.34.0 of its official Python SDK on May 4, 2026, adding support for per-endpoint Admin API keys and bearer-free admin authentication.
  • New features include external_key_id for projects and email/metadata parameters for users, along with environment-variable-based header configuration.
  • The release resolves seven authentication-related bugs, including Azure auth header handling, type preservation for API keys, and stream helper authentication requirements.
  • Performance improvements optimize file structure copying in multipart requests, and documentation updates clarify rate limits for file operations.

OpenAI released v2.34.0 of its Python SDK on May 4, 2026, bringing expanded authentication capabilities and bug fixes. The release is published on the official openai-python GitHub repository, the authoritative source for the library's development.

New authentication features enable per-endpoint Admin API key support and add support for setting HTTP headers via environment variables, improving deployment flexibility for applications that require fine-grained credential scoping. The SDK now handles bearer-free admin authentication, reducing reliance on default fallback mechanisms.

The release addresses seven authentication and type-handling bugs. Fixes include proper preservation of Python API key attribute types, resolution of Azure-specific auth header validation, and corrections to timestamp field types (from float to int) in response models. Stream helper functions now enforce bearer token authentication requirements explicitly.

Additional updates add external_key_id support to project objects and email/metadata parameters to user endpoints, expanding the SDK's coverage of the Admin API surface. Documentation improvements clarify rate limits and vector store information for file creation endpoints. The release also includes a performance optimization for multipart file uploads that reduces memory overhead during file structure copying.

Sources
  1. 01GitHub · openai/openai-python releasesRelease v2.34.0
Also on Models

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.